Qualify and pay a hosted buyer checkout with Tempo MPP
POST
/api/v1/buyer-checkouts/mppRequest body
requiredapplication/jsonbillingAddressobjectcheckoutUrlstring<uri>requiredmin length 1 · max length 8192
customerobjectfulfillmentobjectResponses
200Checkout completed after a verified Tempo MPP payment
checkoutobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
orderIdstringrequiredmin length 1
statusstringrequiredAllowed:
completedpaymentobjectrequiredShow propertiesHide properties
methodstringrequiredAllowed:
temporeferencestringrequiredmin length 1
402MPP payment challenge for the qualified checkout
422Buyer or fulfillment information is still required
errorobjectrequiredShow propertiesHide properties
codestringrequiredmin length 1
detailsobjectmessagestringrequiredmin length 1
Request
curl -X POST "https://dev.api.orderboost.org/api/v1/buyer-checkouts/mpp" \
-H "Content-Type: application/json" \
-d '{
"billingAddress": {},
"checkoutUrl": "<uri>",
"customer": {},
"fulfillment": {}
}'const response = await fetch("https://dev.api.orderboost.org/api/v1/buyer-checkouts/mpp", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"billingAddress": {},
"checkoutUrl": "<uri>",
"customer": {},
"fulfillment": {}
})
});import requests
response = requests.post(
"https://dev.api.orderboost.org/api/v1/buyer-checkouts/mpp",
headers={
"Content-Type": "application/json"
},
json={
"billingAddress": {},
"checkoutUrl": "<uri>",
"customer": {},
"fulfillment": {}
},
)Response
{
"checkout": {
"id": "string",
"orderId": "string",
"status": "completed"
},
"payment": {
"method": "tempo",
"reference": "string"
}
}MPP payment challenge for the qualified checkout
{
"error": {
"code": "string",
"details": {},
"message": "string"
}
}