Status

Check transaction status

POST https://pretium.africa/api/v1/payment/status

Headers


Request Body


{
    "code": 200,
    "message": "Transaction status",
    "data": {
        "id": 10,
        "transaction_code": "VM72C",
        "mobile": "0799770833",
        "amount": "5",
        "status": "PAID",
        "category": "CREDIT",
        "message": "Payment processed successfully",
        "created_at": "2024-05-01T15:44:11.000000Z"
    }
}

"category" either "CREDIT" or "DEBIT" for Credit is when collecting from users while Debit is when disbursing to users.

"status" either "PENDING", "PAID" or "FAILED" shows transaction progress when collecting or disbursing from or to users.

Last updated