> ## Documentation Index
> Fetch the complete documentation index at: https://catchbackcards.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Simulate a payment

> Sandbox only: pay an order's or a shipment's sandbox Payment Intent, exactly as a settled payment would.

Scope: `nft:orders` · **Sandbox only:** `404` outside the [sandbox](https://catchbackcards.mintlify.site/partner-api/v2/quickstart.md)

Pays an order's, a multi-pack order's, a shipment's or a multi-token shipment's sandbox intent, exactly as a settled payment would. Paying twice changes nothing. It also delivers any webhooks the payment produced.

**intentId** `string` *required*

The `payment.intent_id` from the create response. Sandbox intent ids start `sbx_pi_`.

**amount** `number`

Dollars paid. Default: the full amount. Send less to test the [1% tolerance](https://catchbackcards.mintlify.site/partner-api/v2/payments.md#rules) and an `underpaid` refund.

## Response

**paid** `boolean`

`true`.

**kind** `string`

`order` or `shipment`.

**status** `string`

The order's status (the multi-pack order's status for one), or the shipment's, after the payment.

**webhooks** `object`

The webhook deliveries this call made.

## Errors

| Status | Code | When |
| - | - | - |
| `404` | `UNKNOWN_PAYMENT` | No such payment in your program |
| `404` | | Not the sandbox |

```bash cURL theme={null}
curl -X POST "$CATCHBACK_BASE_URL/api/partner/v2/sandbox/payments/sbx_pi_01JD..." \
  -H "Authorization: Bearer $CATCHBACK_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "amount": 25 }'
```

```json 200 order theme={null}
{ "paid": true, "kind": "order", "status": "paid", "order_status": "paid", "webhooks": { "delivered": 1, "retrying": 0 } }
```

```json 200 shipment theme={null}
{ "paid": true, "kind": "shipment", "status": "ready", "shipment_status": "ready", "webhooks": { "delivered": 1, "retrying": 0 } }
```


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