> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.buqipi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get booking payments

> Returns the payment records attached to the booking and the paid, pending and total amounts.

`GET /bookings/{id}/payments`

Returns the payment records attached to the booking and the paid, pending and total amounts.

## Authentication

Send the scoped API key as `Authorization: Bearer bqp_pk_...`. All requests use the base URL `https://api.buqipi.com/connect/v1`.

## Parameters

| Name | In | Type | Required | Description |
| - | - | - | - | - |
| `id` | path | string | yes | Buqipi booking identifier. |

## Example request

```bash theme={null}
curl -X GET "https://api.buqipi.com/connect/v1/bookings/{id}/payments" \
  -H "Authorization: Bearer $BUQIPI_API_KEY"
```

## Responses

| Status | Description |
| - | - |
| `200` | Payment history. |
| `401` | Missing, invalid, expired or revoked API key. |
| `403` | The key is valid but lacks the required scope or property/category access. |
| `404` | The resource does not exist or is outside the key's scope. |
| `429` | The key or IP exceeded its quota. |
| `500` | An unexpected server error. Details are not exposed to the client. |

## Example response (200)

```json theme={null}
{
  "data": {
    "booking_id": "BKPNTP6YBE8I2",
    "currency": "EUR",
    "total": 172.97,
    "paid": 0,
    "pending": 172.97,
    "payments": []
  },
  "meta": {
    "api": "buqipi-connect",
    "version": "v1",
    "request_id": "6101b5d0-8d5e-4bd9-99a5-1b3d1a9a7a6c",
    "generated_at": "2026-11-07T12:00:00+01:00"
  }
}
```

## Response fields (200)

| Field | Type | Required | Description |
| - | - | - | - |
| `data` | object | yes | |
| `data.booking_id` | string | yes | |
| `data.currency` | string | yes | |
| `data.total` | number | yes | |
| `data.paid` | number | yes | |
| `data.pending` | number | yes | |
| `data.payments` | array of object | yes | |
| `meta` | object | yes | Response trace and pagination metadata. |
| `meta.api` | string enum: buqipi-connect | yes | |
| `meta.version` | string enum: v1 | yes | |
| `meta.request_id` | string (uuid) | yes | |
| `meta.generated_at` | string (date-time) | yes | |
| `meta.pagination` | object | no | |

## Specification

[View the full OpenAPI specification](https://api.pastes.dev/8OG3RS6RJx).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.