Properties
| Property | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Payment method type (e.g., apple_pay) |
capabilities | object | Yes | What this payment method supports |
availability | object | Yes | Whether this payment method is currently available |
Capabilities
| Property | Type | Required | Description |
|---|---|---|---|
supportedCurrencies | string[] | Yes | Currencies supported (e.g., ["USD", "EUR"]) |
supportedTransactionTypes | string[] | Yes | Transaction types supported (e.g., ["buy", "sell"]) |
Availability
| Property | Type | Required | Description |
|---|---|---|---|
active | boolean | Yes | Whether the payment method is currently available |
unavailableReason | string | No | Reason for unavailability, if applicable |
Payment Method Types
| Type | Description |
|---|---|
apple_pay | Apple Pay |
Example
Checking Availability
Always checkavailability.active before offering a payment method to users. If active is false, check unavailableReason for details: