Retrieve a custom-provider PaymentSession by provider identity
Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.
All HTTP operationsPOST
Performs an exact server-only lookup by provider session or payment identity and returns only bounded recovery state.
publishableKeyserverSecretKeyheader
X-Publishable-Key<token>Tenant publishable key for authentication (sent via X-Publishable-Key header)
header
AuthorizationBearer <token>Public integration credential: opaque sk01_ secret API key only; PAT and Customer JWT are not supported by this scheme. Requires tenant binding and the read or write scope named by the operation.
application/json- body
provider*stringMatch
^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$Length
1 <= length <= 64by*|Retrieve a custom-provider PaymentSession by provider identity result
application/json- response
id*stringLength
1 <= length <= 255provider*stringMatch
^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$Length
1 <= length <= 64providerSessionId*stringMatch
\SLength
1 <= lengthproviderPaymentId*|Match
\SLength
1 <= lengthstatus*stringValue in
"pending""captured""failed""canceled"providerStatus*stringValue in
"requires_payment_method""requires_action""requires_confirmation""initializing""processing""authorized""canceling""unknown""captured""failed""canceled"finalizationStatus*stringValue in
"not_ready""pending""committed"money*orderId*|Length
1 <= length <= 255Examples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.
curl -X POST 'https://api.01.software/api/orders/custom-payment-sessions/retrieve' \ -H 'Content-Type: application/json' \ -d '{ "provider": "string", "by": { "providerSessionId": "string" }}'Example Response
{ "id": "string", "provider": "string", "providerSessionId": "string", "providerPaymentId": "string", "status": "pending", "providerStatus": "requires_payment_method", "finalizationStatus": "not_ready", "money": { "amountMinor": 0, "currency": "string" }, "orderId": "string"}