Method: Figo#get_payment

Defined in:
lib/payment/api_call.rb

#get_payment(account_id, payment_id) ⇒ Payment

Retrieve specific payment.

Parameters:

  • account_id (String)

    ID for the account on which the payment to be retrieved was created

  • payment_id (String)

    ID of the notification to be retrieved

Returns:

  • (Payment)

    ‘Payment` object for the respective payment



16
17
18
# File 'lib/payment/api_call.rb', line 16

def get_payment(, payment_id)
  query_api_object Payment, "/rest/accounts/#{}/payments/#{payment_id}"
end