Creates a setup intent. If successfully created, it returns a setup intent
object that contains information related to the setup intent.
Successful operation. Setup intent created.
Bad request / Missing required fields.
Unauthorized.
Forbidden.
Internal server error.
{- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "usage": "ON_SESSION"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
- "sessionSecret": "string",
- "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011",
- "status": "REQUIRES_PAYMENT_METHOD",
- "usage": "ON_SESSION"
}