Refined REST payment service to return XML