Create a payment intent

Creates a payment intent. Served by core-api or payments-api depending on the organization's rollout, in the same response shape either way. A flagged organization's create is always served by payments-api, whose refusal of any attribute is the answer, with payments-api's status, codes and details and every entry it sends; only field names are given core-api's (payment_method_id as payment_method, the redirect urls as return_url, payment_type.capture_type as capture_type, payment_type.session_type as setup_future_usage.session_type). On payments-api, payment_method_options is not applied, and the intent answers it as null. A split_payment is passed to payments-api, which accepts it only from an organization configured for splits, and is answered back as core-api answers it. A request using setup_future_usage has the organization's vaulting and subscription configuration checked as core-api checks it, answering parameter_invalid, then its customer_id validated against customer-api, answering not_found when no such customer exists; payments-api takes a session_type of on_session or off_session and refuses both or none.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Payment intent to create

data
object
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json