> For the complete documentation index, see [llms.txt](https://developer.redstonepgs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.redstonepgs.com/api-documentation/payments/get-payment-details.md).

# Get payment details

<mark style="color:green;">GET:</mark> /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 Redstone  public key |
| secret-key | String | Your Redstone 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": "user@example.com",
        "customer_first_name": "",
        "customer_last_name": "",
        "phone_number": ""
    }
}
```
````
