Retrieve a payment
Changed onRequest
- The document declares no server URL.
- Authnone declared. Required headers: ApiKey, MerchantId, Environment
Path parameters
Identifier of the payment intent to retrieve.
Headers
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.
Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.
Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.
Response
Example response
{
"id": "pi_z1urYtVFgEebtcj8fxp4v",
"createdAt": "2020-10-15T12:09:49.355Z",
"updatedAt": "2020-10-15T12:16:26.128Z",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjaGFudElkIjoiMTYiLCJtb2RlIjoic2FuZGJveCIsInBheW1lbnRJZCI6InBpX3oxdXJZdFZGZ0VlYnRjajhmeHA0diIsImlhdCI6MTYwMjc1OTE4M30.OZ0fDnMVWvcT-gRthyBD58PFC20gabGKt1UPRe4aNi4",
"purchaseReference": "ref_2020_11_10_001",
"customerReference": "cust_01924059",
"status": "successful",
"amount": 100,
"currency": "XOF",
"payments": [
{
"id": "pay_QW2d6JnqiatcH8KhK0mD1",
"intentId": "pi_z1urYtVFgEebtcj8fxp4v",
"createdAt": "2020-10-15T12:09:49.355Z",
"updatedAt": "2020-10-15T12:16:26.128Z",
"status": "successful",
"amount": 100,
"currency": "XOF",
"method": "credit_card",
"country": "CI",
"fees": [
{
"id": "fee_lAe5HnFpvOjwdT9vSIgPA",
"amount": 5,
"currency": "XOF",
"taxes": [
{
"id": "tax_lAe5HnFpvOjwdT9vSIgPA",
"feeId": "fee_lAe5HnFpvOjwdT9vSIgPA",
"taxType": "tva",
"type": "percent",
"value": 3.813559322033896
}
]
}
],
"nextAction": {
"data": {
"method": "post"
}
},
"paymentInformation": {
"customer_id_hashmac": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
},
"onSuccessRedirectionUrl": "https://my.website.com/finish",
"onFailedRedirectionUrl": "https://my.website.com/cancel"
}
],
"mode": "live",
"nextAction": {
"data": {
"method": "post"
}
},
"overrideBusinessName": "MyBusiness",
"subMerchantId": "submerchant_123"
}Changes
- breaking
the
///////////response property's maxLength was increased from50to64for the response status - breaking
the
///////////response property's maxLength was increased from50to64for the response status - breaking
the
///////////response property's maxLength was increased from50to64for the response status - breaking
the
/////////response's property type changed fromstringtoobjectfor status - breaking
the
/////////response's property type changed fromstringtoobjectfor status - breaking
the
/////////response's property type changed fromstringtoobjectfor status - breaking
removed the required property
//////from the response with the status - breaking
removed the required property
//////from the response with the status - breaking
removed the required property
//////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
removed the optional property
///////////from the response with the status - warning
added the new
consent_reference_in_useenum value to the/////response property for the response status - warning
added the new
consent_reference_in_useenum value to the///////////response property for the response status - warning
added the new
consent_reference_in_useenum value to the///////////response property for the response status - warning
added the new
consent_reference_in_useenum value to the///////////response property for the response status - warning
added the new
instant_paymentenum value to the//////response property for the response status - warning
added the new
instant_paymentenum value to the//////response property for the response status - warning
added the new
instant_paymentenum value to the//////response property for the response status - warning
added the new
issuer_authentication_unavailableenum value to the/////response property for the response status - warning
added the new
issuer_authentication_unavailableenum value to the///////////response property for the response status - warning
added the new
issuer_authentication_unavailableenum value to the///////////response property for the response status - warning
added the new
issuer_authentication_unavailableenum value to the///////////response property for the response status - warning
added the new
recipient_unavailableenum value to the/////response property for the response status - warning
added the new
recipient_unavailableenum value to the///////////response property for the response status - warning
added the new
recipient_unavailableenum value to the///////////response property for the response status - warning
added the new
recipient_unavailableenum value to the///////////response property for the response status - warning
added the new
reconciliation_failureenum value to the/////response property for the response status - warning
added the new
reconciliation_failureenum value to the///////////response property for the response status - warning
added the new
reconciliation_failureenum value to the///////////response property for the response status - warning
added the new
reconciliation_failureenum value to the///////////response property for the response status - info
added
mobile_moneycredit_cardbank_transferdiscriminator mapping keys to theresponse property for the response status - info
removed the
blacklisted_msisdnenum value from the/////response property for the response status - info
removed the
blacklisted_msisdnenum value from the///////////response property for the response status - info
removed the
blacklisted_msisdnenum value from the///////////response property for the response status - info
removed the
blacklisted_msisdnenum value from the///////////response property for the response status - info
the
///////////response's property pattern^[0-9a-fA-F]{64}$was added for the status - info
the
///////////response's property pattern^[0-9a-fA-F]{64}$was added for the status - info
the
///////////response's property pattern^[0-9a-fA-F]{64}$was added for the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status - info
added the required property
//////////to the response with the status
- breaking