Confirm a custom-provider PaymentSession as a server
Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.
All HTTP operationsRecords caller-verified capture evidence and finalizes the canonical Order. HMAC headers are required only when the tenant runtime policy requires custom-provider proof.
publishableKeyserverSecretKeyX-Publishable-Key<token>Tenant publishable key for authentication (sent via X-Publishable-Key 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.
X-Custom-Payment-Timestamp?stringTimestamp used in the policy-gated HMAC proof. Supply together with X-Custom-Payment-Signature.
1 <= lengthX-Custom-Payment-Signature?stringHMAC-SHA256 over "{timestamp}.{rawBody}" when required by tenant policy.
^[A-Fa-f0-9]{64}$application/json- body
provider*string^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$1 <= length <= 64providerSessionId*string\S1 <= lengthproviderPaymentId*string\S1 <= lengthproviderEventId*string\S1 <= lengthamount*integer0 <= value <= 9007199254740991currency*stringCaptured amount currency. The Console canonicalizes it to uppercase.
^[A-Za-z]{3}$3 <= length <= 3occurredAt*string\S1 <= lengthConfirm a custom-provider PaymentSession as a server result
application/json- response
orderId*string1 <= length <= 255transactionId*string1 <= length <= 255status*"paid""paid"alreadyConfirmed?booleanTrue when the session was already confirmed at observation time; absent from the initial successful confirmation. This does not prove that the current call caused the transition and is not an exactly-once gate, including after a lost initial response.
Examples 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/confirm' \ -H 'Content-Type: application/json' \ -d '{ "provider": "string", "providerSessionId": "string", "providerPaymentId": "string", "providerEventId": "string", "amount": 0, "currency": "str", "occurredAt": "string"}'{ "orderId": "string", "transactionId": "string", "status": "paid", "alreadyConfirmed": true}