curl --location --request GET 'https://api.checkout.paayoor.com/api/v1/withdraw' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Withdraw !",
"data": {
"disbursements": [
{
"operation": "withdraw",
"token": "clcie-cxwzp-tjvc2-jfggt-vnfmo",
"status": "succeeded",
"amount": 1000,
"pricing": {
"percentageFee": 1.8,
"additionalFee": 100,
"feesAmount": 120,
"supportedByAccount": true
},
"cashAmount": 1000,
"transactionAmount": 1120,
"customer": {
"fullName": "Mamadou GAYE",
"phoneNumber": "778737478",
"email": "[email protected]"
},
"merchantReference": "djkfiunfiudzjfn",
"initiationDate": "2023-09-20T17:32:03.000000Z"
}
...
]
},
"meta": {
"pagination": {
"total": 1,
"perPage": 10,
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "https://api.checkout.paayoor.com/api/v1/withdraw?page=1",
"pages": {
"1": "https://api.checkout.paayoor.com/api/v1/withdraw?page=1"
},
"lastPage": 1,
"lastPageUrl": "https://api.checkout.paayoor.com/api/v1/withdraw?page=1"
}
}
}
Cet endpoint permet de récupérer la liste des retraits
curl --location --request GET 'https://api.checkout.paayoor.com/api/v1/withdraw' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Withdraw !",
"data": {
"disbursements": [
{
"operation": "withdraw",
"token": "clcie-cxwzp-tjvc2-jfggt-vnfmo",
"status": "succeeded",
"amount": 1000,
"pricing": {
"percentageFee": 1.8,
"additionalFee": 100,
"feesAmount": 120,
"supportedByAccount": true
},
"cashAmount": 1000,
"transactionAmount": 1120,
"customer": {
"fullName": "Mamadou GAYE",
"phoneNumber": "778737478",
"email": "[email protected]"
},
"merchantReference": "djkfiunfiudzjfn",
"initiationDate": "2023-09-20T17:32:03.000000Z"
}
...
]
},
"meta": {
"pagination": {
"total": 1,
"perPage": 10,
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "https://api.checkout.paayoor.com/api/v1/withdraw?page=1",
"pages": {
"1": "https://api.checkout.paayoor.com/api/v1/withdraw?page=1"
},
"lastPage": 1,
"lastPageUrl": "https://api.checkout.paayoor.com/api/v1/withdraw?page=1"
}
}
}
Show Content
Show Toggle array
curl --location --request GET 'https://api.checkout.paayoor.com/api/v1/withdraw' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Withdraw !",
"data": {
"disbursements": [
{
"operation": "withdraw",
"token": "clcie-cxwzp-tjvc2-jfggt-vnfmo",
"status": "succeeded",
"amount": 1000,
"pricing": {
"percentageFee": 1.8,
"additionalFee": 100,
"feesAmount": 120,
"supportedByAccount": true
},
"cashAmount": 1000,
"transactionAmount": 1120,
"customer": {
"fullName": "Mamadou GAYE",
"phoneNumber": "778737478",
"email": "[email protected]"
},
"merchantReference": "djkfiunfiudzjfn",
"initiationDate": "2023-09-20T17:32:03.000000Z"
}
...
]
},
"meta": {
"pagination": {
"total": 1,
"perPage": 10,
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "https://api.checkout.paayoor.com/api/v1/withdraw?page=1",
"pages": {
"1": "https://api.checkout.paayoor.com/api/v1/withdraw?page=1"
},
"lastPage": 1,
"lastPageUrl": "https://api.checkout.paayoor.com/api/v1/withdraw?page=1"
}
}
}