Retrieve specific payment.
Parameters:
ID for the account on which the payment to be retrieved was created
ID of the notification to be retrieved
Returns:
‘Payment` object for the respective payment
16 17 18
# File 'lib/payment/api_call.rb', line 16 def get_payment(account_id, payment_id) query_api_object Payment, "/rest/accounts/#{account_id}/payments/#{payment_id}" end