curl --location --request GET 'https://api.checkout.paayoor.com/api/v1/recharge/{token}' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Recharge !",
"data": {
"recharge": {
"operation": "recharge",
"token": "cchow-wxmbw-jrhl5-fxxk2-mcack",
"status": "succeeded",
"amount": 1000,
"pricing": {
"percentageFee": 1.8,
"additionalFee": 100,
"feesAmount": 118,
"supportedByAccount": true
},
"cashAmount": 1000,
"transactionAmount": 882,
"customer": {
"fullName": "Mamadou GAYE",
"phoneNumber": "778737478",
"email": "[email protected]"
},
"merchantReference": "kiufjsknduifdnfz",
"initiationDate": "2023-09-06T15:02:44.000000Z"
}
}
}
Cet endpoint permet de voir les détails d’une recharge
curl --location --request GET 'https://api.checkout.paayoor.com/api/v1/recharge/{token}' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Recharge !",
"data": {
"recharge": {
"operation": "recharge",
"token": "cchow-wxmbw-jrhl5-fxxk2-mcack",
"status": "succeeded",
"amount": 1000,
"pricing": {
"percentageFee": 1.8,
"additionalFee": 100,
"feesAmount": 118,
"supportedByAccount": true
},
"cashAmount": 1000,
"transactionAmount": 882,
"customer": {
"fullName": "Mamadou GAYE",
"phoneNumber": "778737478",
"email": "[email protected]"
},
"merchantReference": "kiufjsknduifdnfz",
"initiationDate": "2023-09-06T15:02:44.000000Z"
}
}
}
Show Content
Show Content
curl --location --request GET 'https://api.checkout.paayoor.com/api/v1/recharge/{token}' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Recharge !",
"data": {
"recharge": {
"operation": "recharge",
"token": "cchow-wxmbw-jrhl5-fxxk2-mcack",
"status": "succeeded",
"amount": 1000,
"pricing": {
"percentageFee": 1.8,
"additionalFee": 100,
"feesAmount": 118,
"supportedByAccount": true
},
"cashAmount": 1000,
"transactionAmount": 882,
"customer": {
"fullName": "Mamadou GAYE",
"phoneNumber": "778737478",
"email": "[email protected]"
},
"merchantReference": "kiufjsknduifdnfz",
"initiationDate": "2023-09-06T15:02:44.000000Z"
}
}
}