Skip to main content

Get order status


GET /api/integrator/order/status

This GET method is used to check the current status of a specific order in Keepz.

Request details

When sending request to Keepz, these four parameters must always be included in the query parameters:

identifier

  • Unique ID of the integrator in the Keepz system.
  • Provided by Keepz during the integration process.

encryptedData

  • Contains the actual request payload encrypted using a randomly generated symmetric key and IV (Initialization Vector).

encryptedKeys

  • Contains the AES key and IV used to encrypt encryptedData.

aes

  • Boolean flag indicating that the request uses AES-based symmetric encryption (needed for backward compatibility with older encryption methods).

For details on the encryption process, see the Encryption Guide documentation.

Parameters

The following parameters form the actual order payload. They must be included inside the encryptedData parameter, which is encrypted and passed in the request as shown above.

ParameterTypeRequiredDescriptionPossible valuesNote
integratorIdstring (UUID v4 format)Unique ID of the integrator in the Keepz system. Provided to the integrator by a Keepz representative.
integratorOrderIdstring (UUID v4 format)Unique ID of order in the integrator’s system.

Response details

✅ Success Response

If the request is valid, the API returns an encrypted payload:

{
"encryptedData": "string",
"encryptedKeys": "string",
"aes": true
}

encryptedData

  • Contains the actual response payload encrypted using a randomly generated symmetric key and IV (Initialization Vector).

encryptedKeys

  • Contains the AES key and IV used to encrypt encryptedData.

aes

  • Boolean flag indicating that the request uses AES-based symmetric encryption (needed for backward compatibility with older encryption methods).

For details on the decryption process, see the Encryption Guide documentation.

Inside encryptedData, the following parameters are available after decryption:

ParameterTypePossible Values / FormatDescription
integratorOrderIdstring(UUID v4)Unique identifier of the order in the integrator’s system.
statusstringINITIAL, PROCESSING, SUCCESS, FAILED, CANCELED, EXPIRED, REFUND_REQUESTED,PARTIALLY_REFUNDED,REFUNDED_BY_OPERATOR, REFUNDED_BY_INTEGRATOR, REFUNDED_BY_KEEPZ, REFUNDED_FAILEDCurrent status of the order in Keepz system.

Order Status Reference

StatusDescription
INITIALThe order has been created but payment has not yet started.
PROCESSINGThe payment process is in progress (e.g., awaiting user action, bank authorization, or third-party provider confirmation).
SUCCESSThe payment was completed successfully, and the funds were captured.
FAILEDA payment attempt was made, but it did not succeed (e.g., insufficient funds, card declined, technical error).
CANCELEDThe order was canceled before completion (by integrator or system).
EXPIREDThe order remained unpaid and no payment attempt was made within the validity period defined by Keepz. Once expired, the order can no longer be processed.
REFUND_REQUESTEDA refund request has been submitted but not yet processed.
PARTIALLY_REFUNDEDThe order has been partially refunded — only part of the total amount was returned to the customer.
REFUNDED_BY_INTEGRATORThe order has been refunded by the integrator
REFUNDED_BY_KEEPZThe order has been refunded by Keepz.
REFUNDED_FAILEDThe order refund has failed.

❌ Error Response

If an error occurs, the response is returned without encryption (plain JSON):

{
"message": "Integrator order not found",
"statusCode": 6005,
"exceptionGroup": 5
}
ParameterTypeDescription
messagestringError message. Details are provided in the dedicated section below.
statusCodenumberError status code. Details are provided in the dedicated section below.
exceptionGroupnumberError group. Details are provided in the dedicated section below.

Details can be found at Error Code Description.