error-state-recovery

Clear error state for purchase request (PAY access required)

Clears error states for purchase requests in WaitingForManualAction state and resets them up for retry or other actions. This endpoint provides manual intervention capability to recover from error states by clearing error fields.

post/purchase/error-state-recovery

Request

  • Base URL: ./../api/v1/ (relative, and the document was published on a file host, not at the API’s origin)
  • URL: ./../api/v1/purchase/error-state-recovery
  • Auth: API key in header token

Request body

blockchainIdentifierstring required

The blockchain identifier of the purchase request

network'Preprod' | 'Mainnet' required

The network the transaction was made on

retryPreviousActionboolean

When true, retry the failed action. When false or omitted, only clear the error state.

Example request

{
  "blockchainIdentifier": "blockchain_identifier",
  "network": "Preprod",
  "updatedAt": "1970-01-20T20:00:36.260Z"
}

Response

Error state cleared successfully for purchase request

statusstring required

Example response

{
  "status": "Success",
  "data": {
    "id": "cmf40vg7h0016ucj1u1ro6651"
  }
}

Changes