Get All Requests
Retrieve details of a specific transaction using your reference ID (track_id). This endpoint returns the complete transaction object with current status.
Important considerations This endpoint returns all customer transactions
made within a maximum of three days.
Request
Method: GET
Query Parameters:
track_id(required): Transaction reference
cURL Request
curl -X GET \
"https://sandbox.peexit.com/api/v1/clients/all_requests?track_id=xxxxxxxxxxx" \
-H 'SECRETKEY: ########-####-####-####-############' \
-H 'Content-Type: application/json'
TRY IT
GETURL finale :https://sandbox.peexit.com/api/v1/clients/all_requests
track_id
Response
Status 200 - Success
Returns an array containing the payment requests for the client.
id: Request IDtrack_id: partner transaction referenceamount: Amount requestedtype: Type of request (e.g., "bank")status: Status of the requestcreated_at: Creation date- ... (other fields as per your API)
Success Response
[
{
"id": 195405,
"amount": 1,
"status": "new",
"from_currency": "XAF",
"to_currency": "XAF",
"payment_proof": "",
"identifier_by": "690000002",
"track_id": "fess-TEST006",
"message": "",
"bank_name": "CCA BANK",
"bank_address": "Douala Bonanoussadi",
"bank_iban": "1245451245878754",
"bank_swift": "UBACMCMXXX",
"type": "bank",
"payment_proof_image": "/images/missing.png"
}
]
Error Handling
Status 401 - Unauthorized
Invalid or missing secret key.
Status 404 - Not Found Error Transaction initiated more than 3 days ago.
Authentication error response
{
"error": {
"statusCode": 401,
"name": "UnauthorizedError",
"message": "The key provided doest not exists in our system"
}
}
Transaction initiated more than 3 days ago
{
"error": {
"statusCode": 404,
"name": "NotFoundError",
"message": "Transactions not found on your listing! (3 days)"
}
}