Examples

Regular order callback

This type of order callback is used for regular and merchant orders.

{
  "client_order": {
    "card_number": "531000******9211",
    "card_type": "Mastercard",
    "client_country": "NL",
    "client_email": "111-partner\@email.com",
    "client_nice_id": "XXXXXXX",
    "client_order_id": "XXXXX-XXXXXX",
    "country_by_ip": "NL",
    "created_at": "1678454217.164354",
    "dst_address": "2ASDXR11PsdEYEFCDSEXwi8LnKVmhUJe8o",
    "expected_payout_amount": "0.012031680000000000",
    "finished_at": "1678454774",
    "partner_order_id": "1222331-xxxx-4f1b-995d-1ed3694b12ds",
    "partner_reward_amount": "10.000000000000000000",
    "partner_reward_amount_eur": "10.000000000000000000",
    "payin_amount": "250.000000000000000000",
    "payin_amount_eur": "250.000000000000000000000000000000000000",
    "payin_currency": "EUR",
    "payin_group": "card",
    "payout_amount": "0.012031680000000000",
    "payout_amount_eur": "226.504798176000000000000000000000000000000000000000000000",
    "payout_currency": "BTC",
    "payout_group": "crypto",
    "payout_method": "crypto",
    "payout_txid": "4dfe3a83caa6f8be5366b00e5a03fd28730532ef1a12eb7aa1231b5d157fffced",
    "service_fee_amount": "8.500000000000000000",
    "service_fee_amount_eur": "8.500000000000000000000000000000000000",
    "service_fee_percent": "3.4000",
    "status": "finished",
    "status_log": [
      {
        "at": "1678454218",
        "status": "payin_pending"
      },
      {
        "at": "1678454566",
        "status": "processing"
      },
      {
        "at": "1678454591",
        "status": "processing_payout"
      },
      {
        "at": "1678454774",
        "status": "finished"
      }
    ]
  },
  "type": "client_order",
  "version": 2
}

PayToPartner order callback

This order callback type is used for PayToPartner orders and contains information about the child order.

{
  "client_order": {
    "card_number": "531000******9211",
    "card_type": "Mastercard",
    "child_order": {
      "client_country": "ES",
      "client_email": "111-partner\@email.com",
      "client_nice_id": "XXXXXXC",
      "client_order_id": "XXXXX-XXXXXC",
      "country_by_ip": "ES",
      "created_at": "1678208295.754342",
      "finished_at": "1678208297",
      "partner_order_id": "1222331-xxxx-4f1b-995d-1ed3694b12ds",
      "payin_amount": "90.639064000000000000",
      "payin_amount_eur": "85.699235012000000000000000000000000000",
      "payin_currency": "USDTSW",
      "payin_group": "balance",
      "payout_amount": "90.639064000000000000",
      "payout_amount_eur": "85.699235012000000000000000000000000000000000000000000000",
      "payout_currency": "USDTSW",
      "payout_group": "client",
      "payout_method": "balance",
      "service_fee_amount": "0.000000000000000000",
      "service_fee_amount_eur": "0.000000000000000000000000000000000000",
      "service_fee_percent": "0.0000",
      "status": "finished",
      "status_log": [
        {
          "at": "1678208297",
          "status": "payin_pending"
        },
        {
          "at": "1678208297",
          "status": "confirmation_pending"
        },
        {
          "at": "1678208297",
          "status": "processing"
        },
        {
          "at": "1678208297",
          "status": "processing_payout"
        },
        {
          "at": "1678208297",
          "status": "finished"
        }
      ]
    },
    "client_country": "ES",
    "client_email": "111-partner\@email.com",
    "client_nice_id": "PPPPPPPP",
    "client_order_id": "XXXXX-PPPPPP",
    "country_by_ip": "ES",
    "created_at": "1678207869.854922",
    "expected_payout_amount": "90.639064000000000000",
    "finished_at": "1678208295",
    "partner_order_id": "KZ896562-XXXXX",
    "partner_reward_amount": "0.000000000000000000",
    "partner_reward_amount_eur": "0.000000000000000000",
    "payin_amount": "95.000000000000000000",
    "payin_amount_eur": "89.774821040922872675000000000000000000",
    "payin_currency": "USD",
    "payin_group": "card",
    "payout_amount": "90.639064000000000000",
    "payout_amount_eur": "85.645179361492244210164535604000000000000000000000000000",
    "payout_currency": "USDTSW",
    "payout_group": "balance",
    "payout_method": "balance",
    "service_fee_amount": "0.950000000000000000",
    "service_fee_amount_eur": "0.897748210409228726750000000000000000",
    "service_fee_percent": "1.0000",
    "status": "finished",
    "status_log": [
      {
        "at": "1678207871",
        "status": "payin_pending"
      },
      {
        "at": "1678208228",
        "status": "processing"
      },
      {
        "at": "1678208244",
        "status": "processing_payout"
      },
      {
        "at": "1678208295",
        "status": "finished"
      }
    ]
  },
  "type": "client_order",
  "version": 2
}

Withdrawal order callback

This order callback type used for Withdrawal orders and contains confirmation code for the order.

{
  "client_order_confirm": {
    "client_order_id": "AAAAA-BBBBBB",
    "code": "012345"
  },
  "type": "client_order_confirm",
  "version": 2
}
Last Updated: