Webhook

The Infinexia payment API allows you to process payments on your website.

Webhook

Transaction status information is sent to the callback URL you provided after each status change during payment initialization.

Data

Webhook Data

transaction_id

required

Type: string

Value: YOUR_UNIQUE_TRANSACTION_ID

Unique identifier for the transaction

status

required

Type: string

Value: completed

Enum: completed / pending / canceled / expired

Current status of the transaction

transaction

required

Type: object

Details of the transaction

Request data

{
  "transaction_id": "YOUR_UNIQUE_TRANSACTION_ID",
  "status": "completed" // "completed" | "pending" | "canceled" | "expired"
  "transaction":{
    "transaction_id": "YOUR_UNIQUE_TRANSACTION_ID",
    "status": "completed" // "completed" | "pending" | "canceled" | "expired"
    "token": "xxxx-xxxx-x-x--xx--x", // reference of the order on Infinexia
    "wallet": "USD",
    "amount": 100,
    "currency": "USD",
    "reference": "#order-1"
    }
}