Get payment details
This endpoint retrieves the details of a specific payment by providing the payment ID in the endpoint URL.
GET:/v1/payment/:payment_reference
Params
Name
Type
Description
payment_reference
string
The payment reference that was generated when initializing payment
Headers
Name
Type
Description
public-key
string
Your Vesicash public key
secret-key
string
Your Vesicash secret key
Response
The response will be in JSON format and will have the following schema:
```json
{
"status": "success",
"code": 200,
"message": "success",
"data": {
"id": "",
"amount": 143,
"type": "payment",
"method": "mobilemoney",
"status": "pending",
"currency": "ZMW",
"reference": "",
"business_id": "",
"created_at": "2024-11-06T10:14:31.888324Z",
"environment": "test",
"redirect_url": "http://www.google.com",
"email": "[email protected]",
"customer_first_name": "",
"customer_last_name": "",
"phone_number": ""
}
}
```Last updated