PUT /api/v4.0/integrations/transactions/{transactionId}/activate

Changed on

This API is used to immediately activate loyalty points that are currently in a pending state, bypassing the configured return window duration. This endpoint overrides that duration and activates the points immediately, making them available for use by the customer without waiting for the pending return window duration to elapse. This API is especially useful for scenarios where the client determines that the order is confirmed and the points can be safely activated ahead of schedule. Note: Once points are activated, the action cannot be reversed via this API.

Request

  • Base URL
    https://api.gameball.co
  • Auth
    API key in header apikey and API key in header secretkey

Path parameters

transactionId, string required

The transaction id on your system which you want to activate.

Response

Transaction activated successfully

object required
pointsActivated, number

Number of points that has been successfully activated by the transaction

gameballTransactionId, number

The unique identifier for the transaction within Gameball.

clientTransactionId, string

A unique identifier for a transaction in your system (e.g., order number or invoice number).

Example response

{
  "pointsActivated": 50,
  "gameballTransactionId": 11035201,
  "clientTransactionId": "txn54321221"
}

Changes