Coft: Create Payment

Step 3 of the first-time card-on-file (COFT) flow (steps 1, 2, 3).
There is no separate API for this step. Use Create Payment under the Seamless
category (POST /api/pay/v1/orders/{orderId}/payments) and select the
Coft: Create Payment example / CoftSaveCardPaymentRequest schema from the request body dropdown.

It pays the order from step 2 with full card details and save: true, which
saves the card and creates a token against the customer. On later orders for
the same customer, use Fetch Coft Token (step 4) and Payment With Token (step 5) instead.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Response
201

See Create Payment under Seamless.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here!