# GET /batches/{id}/payments

This operation returns a list of Payments for a specific Batch.

### 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 Batch ID to query</td></tr></tbody></table>

### Response

If successful, the operation will return with a standard Payment model:

```
[
  {
    "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. Can be used to perform payment specific operations using <code>/payments</code></td></tr><tr><td><code>batchId</code></td><td>string($guid)</td><td>The Batch ID that the Payment is part of.</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 for the Payment.</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="../../payments#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>
