Payments API

Get info and status of payment.

get
/v1/payments/{payment_id}

Retrieves the info status of a specific payment.

Authorizations
AuthorizationstringRequired

Basic authentication Username: apiKeyID, Password: apiSecret

Path parameters
payment_idstringRequiredExample: txn_Zz6xMSJsokwq
Responses
chevron-right
200

Successful response with payment info

application/json
get
/v1/payments/{payment_id}

Get info and status of payment.

post
/v1/payments/{payment_id}/fallback

Retrieves the info status of a specific payment.

Authorizations
AuthorizationstringRequired

Basic authentication Username: apiKeyID, Password: apiSecret

Path parameters
payment_idstringRequiredExample: txn_Zz6xMSJsokwq
Body
first_namestringRequired

The name of the user

Example: John
last_namestringOptional

The age of the user

Example: Smith
Responses
chevron-right
200

Successful response with new payment id.

application/json
post
/v1/payments/{payment_id}/fallback

Payment Cancellation

Payments an be canceled as long as the customer has not logged in and claimed the payment. Cancellation requests will fail if a payment is not eligible for Cancellation.

Cancel Payment

delete
/v1/payments/{payment_id}

Cancels a specific payment.

Authorizations
AuthorizationstringRequired

Basic authentication Username: apiKeyID, Password: apiSecret

Path parameters
payment_idstringRequiredExample: txn_Zz6xMSJsokwq
Responses
chevron-right
200

Payment successfully canceled

application/json
delete
/v1/payments/{payment_id}

Replace a payment with amended details

Payments an be amendment as long as the customer has not logged in and claimed the payment. Amend requests will fail if a payment is not eligible for cancelation.

Last updated