curl --location --request GET 'https://api.checkout.paayoor.com/api/v1/recharge' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Recharges !",
"data": {
"recharges": [
{
"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"
},
...
]
},
"meta": {
"pagination": {
"total": 1,
"perPage": 10,
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "https://api.checkout.paayoor.com/api/v1/recharge?page=1",
"pages": {
"1": "https://api.checkout.paayoor.com/api/v1/collect?recharge=1"
},
"lastPage": 1,
"lastPageUrl": "https://api.checkout.paayoor.com/api/v1/collect?recharge=1"
}
}
}
Cet endpoint permet de récupérer la liste des recharges
curl --location --request GET 'https://api.checkout.paayoor.com/api/v1/recharge' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Recharges !",
"data": {
"recharges": [
{
"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"
},
...
]
},
"meta": {
"pagination": {
"total": 1,
"perPage": 10,
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "https://api.checkout.paayoor.com/api/v1/recharge?page=1",
"pages": {
"1": "https://api.checkout.paayoor.com/api/v1/collect?recharge=1"
},
"lastPage": 1,
"lastPageUrl": "https://api.checkout.paayoor.com/api/v1/collect?recharge=1"
}
}
}
Show Content
Show Toggle array
curl --location --request GET 'https://api.checkout.paayoor.com/api/v1/recharge' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Recharges !",
"data": {
"recharges": [
{
"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"
},
...
]
},
"meta": {
"pagination": {
"total": 1,
"perPage": 10,
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "https://api.checkout.paayoor.com/api/v1/recharge?page=1",
"pages": {
"1": "https://api.checkout.paayoor.com/api/v1/collect?recharge=1"
},
"lastPage": 1,
"lastPageUrl": "https://api.checkout.paayoor.com/api/v1/collect?recharge=1"
}
}
}