curl --location --request POST 'https://api.checkout.paayoor.com/api/v1/transaction' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Transactions !",
"data": {
"transactions": [
{
"reference": "PYR230906.TRX0944.28668893",
"operation": "recharge",
"amount": 882,
"type": "cash-in",
"status": "succeeded",
"date": "2023-09-06T15:02:44.000000Z"
},
...
]
},
"meta": {
"pagination": {
"total": 1,
"perPage": 10,
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "https://api.checkout.paayoor.com/api/v1/transaction?page=1",
"pages": {
"1": "https://api.checkout.paayoor.com/api/v1/transaction?page=1"
},
"lastPage": 1,
"lastPageUrl": "https://api.checkout.paayoor.com/api/v1/transaction?page=1"
}
}
}
Cet endpoint permet de récupérer la liste des transactions
curl --location --request POST 'https://api.checkout.paayoor.com/api/v1/transaction' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Transactions !",
"data": {
"transactions": [
{
"reference": "PYR230906.TRX0944.28668893",
"operation": "recharge",
"amount": 882,
"type": "cash-in",
"status": "succeeded",
"date": "2023-09-06T15:02:44.000000Z"
},
...
]
},
"meta": {
"pagination": {
"total": 1,
"perPage": 10,
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "https://api.checkout.paayoor.com/api/v1/transaction?page=1",
"pages": {
"1": "https://api.checkout.paayoor.com/api/v1/transaction?page=1"
},
"lastPage": 1,
"lastPageUrl": "https://api.checkout.paayoor.com/api/v1/transaction?page=1"
}
}
}
curl --location --request POST 'https://api.checkout.paayoor.com/api/v1/transaction' \
--header 'api-key: 75gJfowm010du0Nw2vwGZ150OoxhWJyz7vP0jM8Je6XFhtz0fk' \
--header 'secret-key: 7cJofndFd5I5jMtICp6FFOGiTudpQwn661OZVTT7w63npl7lJ1'
{
"success": true,
"statusCode": 200,
"message": "Transactions !",
"data": {
"transactions": [
{
"reference": "PYR230906.TRX0944.28668893",
"operation": "recharge",
"amount": 882,
"type": "cash-in",
"status": "succeeded",
"date": "2023-09-06T15:02:44.000000Z"
},
...
]
},
"meta": {
"pagination": {
"total": 1,
"perPage": 10,
"currentPage": 1,
"firstPage": 1,
"firstPageUrl": "https://api.checkout.paayoor.com/api/v1/transaction?page=1",
"pages": {
"1": "https://api.checkout.paayoor.com/api/v1/transaction?page=1"
},
"lastPage": 1,
"lastPageUrl": "https://api.checkout.paayoor.com/api/v1/transaction?page=1"
}
}
}