commerce

AP2 Get credit purchase

Human-present AP2 v0.1.0 merchant flow. Requires credits:checkout, a signed cart, a Stripe SPT and separate owner passkey approval before charging. The cart is the payment idempotency boundary. See /ap2.md.

get/api/v1/commerce/ap2/carts/{id}

Request

  • Base URL: https://singlefax.com
  • URL: https://singlefax.com/api/v1/commerce/ap2/carts/{id}
  • Auth: API key in header Authorization

Path parameters

idstring required

Response

Cart state; completed only after credit ledger fulfillment

idstring required
status'awaiting_mandate' | 'awaiting_approval' | 'approved' | 'processing' | 'requires_action' | 'completed' | 'failed' | 'canceled' required
user_authorizationstring
approval_urlstring uri
receiptstring
documentation_urlstring uri required

Changes

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