# getCreditsPurchaseUrl

The in-app Billing > Credits page URL where a human buys credits. The agent cannot buy: send this link when a balance is low or the AI paywall is hit.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "getCreditsPurchaseUrl", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

None.

## Response (data, an example)

```json
{
  "billing": {
    "getCreditsPurchaseUrl": "…"
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "getCreditsPurchaseUrl",
    "variables": {}
  }'
```
