Confirm checkout intent
Confirm a checkout intent with provided payment information
Confirm means we have buyer's name, address and payment info, so we can move forward to place the order.
Path parameters
The id of the checkout intent to confirm
Request body
Example request
{
"paymentMethod": {
"stripeToken": "tok_1RkrWWHGDlstla3f1Fc7ZrhH",
"type": "stripe_token"
}
}Response
The confirmed checkout intent
Example response
{
"referenceId": "order-1234",
"constraints": {
"maxShippingPrice": 500,
"maxTotalPrice": 100000
},
"promoCodes": [
"SAVE20"
],
"variantSelections": [
{
"label": "Size, Color, etc."
}
],
"buyer": {
"postalCode": "10001",
"country": "US",
"province": "NY",
"city": "New York",
"address2": "Apt 1",
"address1": "123 Main St",
"phone": "1234567890",
"email": "john.doe@example.com",
"lastName": "Doe",
"firstName": "John"
}
}Changes
Changed in 10 of the 48 revisions of this API.1824
- ▲
removed
NekudaPaymentMethodPravaPaymentMethodfrom thepaymentMethodrequest propertyanyOflistrequest-property-any-of-removed
- ○
removed
NekudaPaymentMethodPravaPaymentMethodfrom theanyOf[subschema #2: Awaiting Confirmation]/allOf[subschema #2]/paymentMethodresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
removed
NekudaPaymentMethodPravaPaymentMethodfrom theanyOf[subschema #3: Requires Action]/allOf[subschema #2]/paymentMethodresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
removed
NekudaPaymentMethodPravaPaymentMethodfrom theanyOf[subschema #4: Placing Order]/allOf[subschema #2]/paymentMethodresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
removed
NekudaPaymentMethodPravaPaymentMethodfrom theanyOf[subschema #5: Completed]/allOf[subschema #2]/paymentMethodresponse propertyanyOflist for the response status200response-property-any-of-removed
- ○
removed
NekudaPaymentMethodPravaPaymentMethodfrom theanyOf[subschema #6: Failed]/allOf[subschema #2]/paymentMethodresponse propertyanyOflist for the response status200response-property-any-of-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
anyOf[subschema #1: Retrieving Offer]/allOf[BaseCheckoutIntent]/referenceIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #2: Awaiting Confirmation]/allOf[BaseCheckoutIntent]/referenceIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #3: Requires Action]/allOf[BaseCheckoutIntent]/referenceIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #4: Placing Order]/allOf[BaseCheckoutIntent]/referenceIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #5: Completed]/allOf[BaseCheckoutIntent]/referenceIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #6: Failed]/allOf[BaseCheckoutIntent]/referenceIdto the response with the200statusresponse-optional-property-added
- ○
- ○
the security scope
checkout_intents:writewas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
- ●
removed the optional property
anyOf[subschema #2: Awaiting Confirmation]/allOf[subschema #2]/offer/developerCommissionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
anyOf[subschema #3: Requires Action]/allOf[subschema #2]/offer/developerCommissionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
anyOf[subschema #4: Placing Order]/allOf[subschema #2]/offer/developerCommissionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
anyOf[subschema #5: Completed]/allOf[subschema #2]/offer/developerCommissionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
anyOf[subschema #6: Failed]/allOf[subschema #2]/offer/developerCommissionfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
anyOf[subschema #2: Awaiting Confirmation]/allOf[subschema #2]/offer/commissionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #3: Requires Action]/allOf[subschema #2]/offer/commissionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #4: Placing Order]/allOf[subschema #2]/offer/commissionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #5: Completed]/allOf[subschema #2]/offer/commissionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #6: Failed]/allOf[subschema #2]/offer/commissionto the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
anyOf[subschema #2: Awaiting Confirmation]/allOf[subschema #2]/offer/developerCommissionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #3: Requires Action]/allOf[subschema #2]/offer/developerCommissionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #4: Placing Order]/allOf[subschema #2]/offer/developerCommissionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #5: Completed]/allOf[subschema #2]/offer/developerCommissionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
anyOf[subschema #6: Failed]/allOf[subschema #2]/offer/developerCommissionto the response with the200statusresponse-optional-property-added
- ○
- ●
removed the optional property
anyOf[subschema #5: Completed]/allOf[subschema #2]/commissionsfrom the response with the200statusresponse-optional-property-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
added the new
payment_cvc_expiredenum value to theanyOf[subschema #6: Failed]/allOf[subschema #2]/failureReason/coderesponse property for the response status200response-property-enum-value-added
- ●
- ○
added the optional property
anyOf[subschema #5: Completed]/allOf[subschema #2]/commissionsto the response with the200statusresponse-optional-property-added
- ○
- ○
removed the
payment_cvc_expiredenum value from theanyOf[subschema #6: Failed]/allOf[subschema #2]/failureReason/coderesponse property for the response status200response-property-enum-value-removed
- ○
- ●
added the new
payment_cvc_expiredenum value to theanyOf[subschema #6: Failed]/allOf[subschema #2]/failureReason/coderesponse property for the response status200response-property-enum-value-added
- ●