Payments API
Authorizations
AuthorizationstringRequired
Basic authentication Username: apiKeyID, Password: apiSecret
Path parameters
payment_idstringRequiredExample:
txn_Zz6xMSJsokwqResponses
200
Successful response with payment info
application/json
401
Unauthorized
404
Payment not found
get
/v1/payments/{payment_id}Authorizations
AuthorizationstringRequired
Basic authentication Username: apiKeyID, Password: apiSecret
Path parameters
payment_idstringRequiredExample:
txn_Zz6xMSJsokwqBody
first_namestringRequiredExample:
The name of the user
Johnlast_namestringOptionalExample:
The age of the user
SmithResponses
200
Successful response with new payment id.
application/json
400
Payment not eligible for fallback. This will occur if the original a payment is not eleigible for cancelation.
401
Unauthorized
404
Payment not found
post
/v1/payments/{payment_id}/fallbackPayment Cancellation
Authorizations
AuthorizationstringRequired
Basic authentication Username: apiKeyID, Password: apiSecret
Path parameters
payment_idstringRequiredExample:
txn_Zz6xMSJsokwqResponses
200
Payment successfully canceled
application/json
400
Payment not eligible for cancelation
401
Unauthorized
404
Payment not found
delete
/v1/payments/{payment_id}Replace a payment with amended details
Last updated