Callback Event Types

Once your server is configured to receive callbacks, it'll listen for any request sent to the endpoint you configured.

Callback for VA

Accept Callback for Unlimited VA

{
  "data": {
    "id": "order_0679ebf7-9167-4454-940e-67936b97a629",
    "type": "payment",
    "attributes": {
      "status": "completed",
      "amount": "0.01",
      "currency": "SGD",
      "createdAt": "2024-08-30T22:35:57+08:00",
      "description": null,
      "expiredAt": null,
      "referenceId": "SUBSCRIPTION_b8b2a3925aaf557cf1d81e72e7c44243",
      "fees": "0.0",
      "paymentMethod": {
        "id": "payment_method_2c67c441-b57c-4ffa-9abf-37b387fc6483",
        "type": "virtual_bank_account",
        "referenceId": "reference_01",
        "instructions": {
          "bankName": "Xfers Pte Ltd",
          "bankShortCode": "FAZZ",
          "accountNo": "34435989912345"
        }
      },
      "senderInformation": {
        "accountHolderName": "JOHN DOE",
        "accountNumber": "00012345",
        "bankName": "DBS Bank Ltd",
        "swiftBic": "DBSSSGSGXXX",
        "extEndToEndId": "Transfer"
      }
    }
  }
}

Accept Callback for Dynamic VA

{
  "data": {
    "id": "order_b77108ea-92f1-405c-a1a8-895dfa84e442",
    "type": "payment",
    "attributes": {
      "status": "completed",
      "amount": "0.01",
      "currency": "SGD",
      "createdAt": "2024-08-30T22:33:05+08:00",
      "description": "This is the first order",
      "expiredAt": "2024-09-20T17:48:42+07:00",
      "referenceId": "reference_01",
      "fees": "0.0",
      "paymentMethod": {
        "id": "payment_method_305043e7-0b74-4e16-8317-5335541ca8c3",
        "type": "virtual_bank_account",
        "referenceId": "reference_01",
        "instructions": {
          "bankName": "Xfers Pte Ltd",
          "bankShortCode": "FAZZ",
          "accountNo": "50093620312345"
        }
      },
      "senderInformation": {
        "accountHolderName": "JOHN DOE",
        "accountNumber": "00012345",
        "bankName": "DBS Bank Ltd",
        "swiftBic": "DBSSSGSGXXX",
        "extEndToEndId": "Transfer"
      }
    }
  }
}

Callback for Paynow QR

Accept Callback for Dynamic Paynow QR

{
  "data": {
    "id": "order_5695e7df-3c9d-4e93-8e4a-0f522f2d73d4",
    "type": "payment",
    "attributes": {
      "status": "completed",
      "amount": "14.0",
      "currency": "SGD",
      "createdAt": "2024-08-30T20:47:12+08:00",
      "description": null,
      "expiredAt": "2024-08-30T13:47:12Z",
      "referenceId": "reference_01",
      "fees": "0.0",
      "paymentMethod": {
        "id": "payment_method_607248bb-6dde-4e5e-8277-cca5a8614bf6",
        "type": "paynow",
        "instructions": {
          "extEndToEndId": "paynow525c087a172512345",
          "qrCodeDisplayImage": "iVBORw0KGgoAAAANSUhEUgAAASwAAAEs..."
        },
        "referenceId": "reference_01"
      },
      "senderInformation": {
        "accountHolderName": "JOHN DOE",
        "accountNumber": "000123456",
        "bankName": "DBS Bank Ltd",
        "swiftBic": "DBSSSGSGXXX",
        "extEndToEndId": "paynow525c087a172512345"
      }
    }
  }
}

Accept Callback for Static Paynow QR

{
  "data": {
    "id": "order_bf8ebf70-3cd3-4ba5-b1df-8086d76a5989",
    "type": "payment",
    "attributes": {
      "status": "completed",
      "amount": "3.3",
      "currency": "SGD",
      "createdAt": "2024-08-30T22:26:45+08:00",
      "description": null,
      "expiredAt": null,
      "referenceId": "SUBSCRIPTION_a2f57b00d0754f8e4047d32aced99e4a",
      "fees": "0.0",
      "paymentMethod": {
        "id": "payment_method_5313cf44-1a5b-4b6b-888b-6433e43c3f7a",
        "type": "paynow",
        "instructions": {
          "extEndToEndId": "paynowc0c33c32171612345",
          "qrCodeDisplayImage": "iVBORw0KGgoAAAANSUhEUgAAASw..."
        },
        "senderInformation": {
          "accountHolderName": "JOHN DOE",
          "accountNumber": "000123456",
          "bankName": "Oversea-Chinese Banking Corporation Ltd",
          "swiftBic": "OCBCSGSGXXX",
          "extEndToEndId": "paynowc0c33c32171612345"
        }
      }
    }
  }
}

Callback for Disbursement

{
  "data": {
    "id": "order_99afbfa1-043c-424b-9eee-cc73f08565dc",
    "type": "disbursement",
    "attributes": {
      "referenceId": "reference_001",
      "description": "Test",
      "amount": "0.02",
      "status": "completed",
      "currency": "SGD",
      "createdAt": "2024-08-30T22:50:59+08:00",
      "fees": "0.0",
      "disbursementMethod": {
        "type": "bank_transfer",
        "bankShortCode": "DBS",
        "bankAccountNo": "000123456",
        "bankAccountHolderName": "JOHN DOE",
        "serverBankAccountHolderName": null,
        "bankName": "DBS Bank Ltd",
        "failureCode": null,
        "failureReason": null,
        "endToEndId": "external_ref"
      }
    }
  }
}