Create a payment intent
Create a continuous or transient payment intent. Always set type: when it is omitted, the default type depends on account configuration.
Digital Asset Accounts: crypto payments are available only for custody accounts (purpose: custody) and are for third-party payments only. They are not supported when the distributor or the end user is under the Circle FR (CIRCLE_FR) or Circle SG (CIRCLE_SG) legal entity. Set merchantWalletId to the accountId of the end user’s custody account. Requests that target the master wallet, either by omitting merchantWalletId or by passing the distributor’s own master wallet ID, are rejected with 403.
purposeOfTransfer is required for Circle Inc (CIRCLE_INC) entities with Managed Payments enabled and optional otherwise. PMT006 is not allowed.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
- Continuous payment intent
- Transient payment intent
Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests.
"ba943ff1-ca16-49b2-ba55-1057e70ca5c7"
Desired currency for the payment.
USD, EUR Desired currency for the payments to settle in. This must match the currency used for the payment.
USD, EUR Exactly one blockchain payment method.
1 elementThe accountId of the end user's custody account that receives the payment. Required for Digital Asset Accounts: omitting it, or passing the distributor's own master wallet ID, is rejected with 403.
36"1000662322"
Payment intent type. Must be set to continuous for continuous payment intents.
continuous Payment reason code describing the purpose of the transfer for the payment intent.
Required for Circle Inc (CIRCLE_INC) entities with Managed Payments enabled. Optional otherwise.
PMT006 (Transfer to own account) is not allowed for payment intents. A missing value (when required) or a disallowed or invalid value returns error code INVALID_PURPOSE_OF_TRANSFER.
PMT000, PMT001, PMT002, PMT003, PMT004, PMT005, PMT007, PMT008, PMT009, PMT010, PMT011, PMT012, PMT013, PMT014, PMT015, PMT016, PMT017, PMT018, PMT019, PMT020, PMT021, PMT022, PMT023, PMT024, PMT025, PMT026, PMT027, PMT028, PMT029, PMT030 "PMT001"
Optional metadata associated with the payment intent.
Response
Successfully created a payment intent.
A transient payment intent.
- Option 1
- Option 2