updateLegacyTransaction
Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.
All HTTP operationsTenant-admin write; provider confirmation returns {transactionId,orderId,status}, checkout transition returns {checkoutId,status}, legacy transaction returns its document. These branches do not grant browser finality authority.
bearerAuthAuthorizationBearer <token>Public integration credentials: verified opaque sk01_ secret key or pat01_ personal access token; operation policy and read/write scopes still apply. These credentials are not Customer JWTs.
application/json- body
pgPaymentId*string1 <= lengthstatus*string"pending""paid""failed""error""canceled""refunded"paymentMethod?stringreceiptUrl?stringpaymentKey?string1 <= lengthamount?integer0 < value <= 9007199254740991Actual shaped success body
application/json- response
Actual authenticated Payload Transaction document. Relationship depth and field access vary. This is server-only legacy wire, not the canonical public DTO or a browser discovery promise.
id*stringcreatedAt?stringupdatedAt?stringorder?string|number|||amount?number|nullstatus?stringtype?stringpgPaymentId?string|nullpgProvider?string|null[key: string]?anyExamples 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/transactions/update' \ -H 'Content-Type: application/json' \ -d '{ "pgPaymentId": "string", "status": "pending"}'{ "id": "string", "createdAt": "string", "updatedAt": "string", "order": "string", "amount": 0, "status": "string", "type": "string", "pgPaymentId": "string", "pgProvider": "string"}