Creates a payment intent. If successfully created, it returns a payment intent
object that contains information related to the payment intent.
Successful operation. Payment intent created.
Bad request / Missing required fields.
Your client is not authorized to use the API endpoint.
Internal server error.
{- "amount": 1,
- "currency": "USD",
- "externalReferenceId": "b31a2b46-53f5-4ad9-a2e3-1dc38ff564d5",
- "captureMethod": "MANUAL",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "email": "string",
- "paymentMethodConfigurationId": "22fa8381-1845-4222-9264-102b46a89a96",
- "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011"
}
{- "id": "f8450373-f2a6-4211-8064-55b57f46c57e",
- "externalReferenceId": "b31a2b46-53f5-4ad9-a2e3-1dc38ff564d5",
- "sessionSecret": "string",
- "amount": 1,
- "currency": "USD",
- "captureMethod": "MANUAL",
- "status": "REQUIRES_PAYMENT_METHOD",
- "paymentMethodId": "null",
- "creationDate": "2025-02-17T20:33:07.011185Z",
- "setupFutureUsage": null,
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "amountDetails": {
- "tip": 0,
- "surcharge": null,
- "lineItemModifiers": null
}, - "email": "string",
- "paymentMethodConfigurationDetails": {
- "id": "22fa8381-1845-4222-9264-102b46a89a96"
}, - "standingInstructionType": "UNSCHEDULED",
- "offSession": false,
- "latestPayment": null
}