Checkout

How a checkout went

Public and token-gated, because the buyer may have no account yet. Poll after returning from the card form. A wrong token is a 404, not a 403. On partial, credits for unplaced lines stay on the buyer's balance. Says nothing else about the customer.

get/v1/checkout/basket/{basket_id}

Request

  • Base URL: https://api.placementapi.com
  • URL: https://api.placementapi.com/v1/checkout/basket/{basket_id}
  • Auth: none required

Path parameters

basket_idstring required

Query parameters

tokenstring required

status_token from the checkout response.

Response

OK

statusstring

pending | paid | placed | partial | failed | abandoned.

total_creditsinteger
fee_centsinteger
charge_centsinteger
balance_used_creditsinteger
dashboard_urlstring
email_hintstring nullable

Masked.

Changes

No recorded changes to this operation across all 1 revision of this API.