Payments

Retrieve the status payment object

get/payments/{id}/status

Request

  • The document declares no server URL.
  • Auth
    none declared. Required headers: ApiKey, MerchantId, Environment

Path parameters

idstring required
Example:pay_z1urYtVFgEebtcj8fxp4v

Identifier of the payment to retrieve.

Headers

ApiKeystring required

Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.

MerchantIdstring required

Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.

Environment'live' | 'sandbox' required

Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.

Response

idstring required

Unique identifier for the Payment

status'created' | 'failed' | 'pending' | 'successful' required

Current status of this Payment

isDelegatedboolean

Whether this payment was created via delegation

Example response

{
  "id": "pay_QW2d6JnqiatcH8KhK0mD1",
  "status": "successful"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.