# GET /payments/{id}

This operation will allow you to get details on a specific Payment by its ID.

### Request

Ensure the bearer token is included in the Header of the GET operation:

<table><thead><tr><th width="197.33333333333331">Header</th><th width="120">Mandatory</th><th>Description</th></tr></thead><tbody><tr><td><code>Authorization</code></td><td>Yes</td><td>Bearer token from <a href="../../redemptions-api/authentication/post-authentication-gettoken">/authentication/getToken</a></td></tr></tbody></table>

<table><thead><tr><th width="199.33333333333331">Parameter</th><th width="118">Mandatory</th><th>Description</th></tr></thead><tbody><tr><td><code>id</code></td><td>Yes</td><td>The unique payment ID to fetch.</td></tr></tbody></table>

### Response

A 404 Not Found HTTP response will be returned if the `paymentId` does not exist.

If the Payment exists, the following model will be returned:

```
{
  "id": "string($guid)",
  "batchId": "string($guid)",
  "msisdn": "string",
  "amount": decimal,
  "firstname": "string",
  "lastname": "string",
  "externalId": "string",
  "statusCode": "string",
  "settledAt": "string($date-time)",
  "isMember": boolean,
  "referralAmount": decimal,
  "referralMsisdn": "string",
  "createdAt": "string($date-time)"
}
```

<table><thead><tr><th width="204.66666666666666">Field</th><th width="180">Response Type</th><th>Description</th></tr></thead><tbody><tr><td><code>id</code></td><td>string($guid)</td><td>Unique ID for the Payment.</td></tr><tr><td><code>batchId</code></td><td>string($guid)</td><td>The Batch ID that the Payment is part of. Batch details can be fetched using <code>GET /batches/{id}</code></td></tr><tr><td><code>msisdn</code></td><td>string</td><td>The <strong>mobile number that will be/has been paid</strong>, formatted in international dialing format. e.g. 27821231234.</td></tr><tr><td><code>amount</code></td><td>decimal</td><td>The amount that will be/has been paid.</td></tr><tr><td><code>firstname</code></td><td>string</td><td>Firstname of the user.</td></tr><tr><td><code>lastname</code></td><td>string</td><td>Lastname of the user.</td></tr><tr><td><code>externalId</code></td><td>string</td><td>Payment identifier supplied by external system for tracing purposes.</td></tr><tr><td><code>statusCode</code></td><td>string</td><td>Status code for the Payment. See <a href="..#payment-status-codes">Payment Status Codes</a> for a valid list.</td></tr><tr><td><code>settledAt</code></td><td>string($date-time)</td><td>The date at which the Payment was paid into the user's account.</td></tr><tr><td><code>isMember</code></td><td>boolean</td><td>true = the user is a member of 6DOT50, false = the user is not a member of 6DOT50.</td></tr><tr><td><code>referralAmount</code></td><td>decimal</td><td>The Amount to allocate as a referral. Only applicable if Referral capability has been enabled for the Organisation.</td></tr><tr><td><code>referralMsisdn</code></td><td>string</td><td>The MSISDN of the referral. Only applicable if Referral capability has been enabled for the Organisation.</td></tr><tr><td><code>createdAt</code></td><td>string($date-time)</td><td>The date and time when the Payment was created.</td></tr></tbody></table>

{% code title="Sample Response" %}

```
{
  "id": "cb6c2984-7b80-4964-aed7-6a12b72a7895",
  "batchId": "b7ccbefd-51e1-4720-81fb-da5740e38e8c",
  "msisdn": "27821231234",
  "amount": 10,
  "firstname": "Test",
  "lastname": "User 1",
  "statusCode": "PENDING",
  "isMember": false,
  "createdAt": "2022-12-14T09:21:53.95"
}
```

{% endcode %}
