Payout Object

Payout Object

{
  "id": "pot_coka64uof3laaslak1ag",
  "object": "payout",
  "created_at": "2024-04-24T06:13:39.274974Z",
  "amount": 908750,
  "currency": "USD",
  "beneficiary_details": {
    "address": {
      "line1": "Address line 1",
      "line2": "Address line 2",
      "city": "city",
      "state": "state",
      "country": "SG",
      "postal_code": "10090"
    },
    "date_of_birth": "15-02-1985",
    "nationality": "SG",
    "destination_details": {
      "bank": {
        "account_number": "90980778",
        "bank_codes": {
          "ifsc_code": "IFX001"
        },
        "bank_name": "Bank of India",
        "branch_name": "",
        "country": "IN",
        "currency": "INR",
        "iban":"",
        "purpose_code": ""
      },
      "type": "bank"
    },
    "email": "[email protected]",
    "name": "John Doe",
    "phone": null,
    "type": "business"
  },
  "beneficiary": "bnf_coka5m22t0herlgcuvjg",
  "purpose": "PYR002",
  "statement_descriptor": "Invoice 20080",
  "status": "processing",
  "status_description": "",
  "tracking_details": {
    "reference": {
      "type": "UTR",
      "number": "afnafon-24i0-abfoan"
    }
  },
  "type": "local",
  "charge_type": "",
  "holding_currency": "EUR",
  "payout_fx_transaction": {
    "exchange_rate": 82.397282,
    "final": {
      "amount": 74878529,
      "currency": "INR"
    },
    "id": "fx_coka64uof3laaslak1ag",
    "initial": {
      "amount": 908750,
      "currency": "USD"
    },
    "object": "fxt_transaction"
  },
  "firc_required": false,
  "metadata": {
    "key1": "value1",
    "key2": "value2"
  },
  "mt103": "Test MT103",
  "local": {
    "fund_transfer_network": "sepa"
  },
  "logistics_tracking_details": [
    {
      "tracking_number": "1Z999AA10123456784",
      "logistics_provider": "UPS",
      "description": "Shipment batch A"
    }
  ],
  "confirmation_documents": [
    {
      "key": "mt103",
      "type": "application/pdf",
      "value": "https://docs.tazapay.com/confirmations/mt103_pot_example.pdf"
    }
  ],
  "destination_fx_quote": "fx_coka64uof3laaslak1ah",
  "quote": "poq_d3inm6ami8u10oqfk",
  "available_balance": 5000000,
  "is_balance_sufficient": true
}
FieldtypeDescription
idstringUnique ID for the payout. Begins with 'pot_'
objectstringThis is 'payout' here
created_attimestampTimestamp at which the payout object is created. (ISO 8601 format - YYYY-MM-DDTHH:MM:SS±hh:mm)
amountintegerAmount for the payout in cents in the payout currency. Refer <https://docs.tazapay.com/docs/decimal-currencies> for decimal handling for various currencies.
currencystringISO 4217 standard, in uppercase. This is the payout currency. The amount will be in the payout currency
beneficiary_detailsjsonDetails of the beneficiary. Refer here for beneficiary_details sub-fields
beneficiarystringUnique ID representing the beneficiary for the payout
purposeenumThe reason for payout. Refer <https://docs.tazapay.com/docs/reasons-for-payout> for the possible values.
statement_descriptorstringBrief text descriptor that will appear on the beneficiary's bank statement to identify the transaction
statusenumStatus of the payout. Refer <https://docs.tazapay.com/docs/payout-1> for possible values.
status_descriptionstringThis provides additional description about the status, if applicable
tracking_detailsjsonThis helps track the payout
typeenumType of payout - local, swift, wallet, local_payment_network, or tazapay_account
charge_typeenumApplicable only for wire transfers, shared or ours
holding_currencystringISO 4217 standard, in uppercase. This represents the currency whose balance will be used to fund the payout
payout_fx_transactionjsonFX transaction representing the currency conversion from the payout currency to the destination (beneficiary) currency
firc_requiredbooleanWhether FIRC is required for the payout. Only applicable when the destination currency is INR.
metadatajsonSet of key-value pairs to attach to the payout
mt103stringMT103 for the payout
localjsonLocal payout configuration containing fund transfer network details. See local section below.
logistics_tracking_detailsarrayArray of logistics tracking information for goods shipments. Each object contains tracking_number, logistics_provider, and description.
confirmation_documentsarrayArray of confirmation documents (MT103, MT199, FIRC, etc.). Each object contains key (document type), type (mime type), and value (document content/URL).
destination_fx_quotestringID of the FX quote object used for currency conversion at the destination. Begins with 'fx_'
quotestringID of the payout quote used to lock exchange rates for this payout. Begins with 'poq_'
available_balanceintegerAvailable balance in the holding currency account after this payout is processed
is_balance_sufficientbooleanIndicates whether the account has sufficient balance to process this payout
reversal_balance_transactionstringID of the reverse balance transaction object linked to this payout. Only present when status is 'reversed'
reversal_payout_fx_transactionjsonReversal FX transaction details for payout currency. Only present when status is 'reversed'. Follows the same structure as payout_fx_transaction.

beneficiary_details

FieldSub-fieldstypeDescription
typeenumBeneficiary type - business or individual
namestringName of the beneficiary
emailstringEmail of the beneficiary
date_of_birthstringDate of birth of the beneficiary (Format DD-MM-YYYY)
nationalitystringISO 3166-1 alpha-2 country code representing beneficiary's nationality (e.g., US, GB, IN, FR)
addressjsonAddress of the beneficiary
line1stringAddress line 1
line2stringAddress Line 2
citystringCity
statestringState
countrystringISO 3166-1 alpha-2 country code, in uppercase
postal_codestringPostal Code
destination_details
typeenumType of the destination - bank or payout_wallet
bank / payout_walletjsonA JSON containing the destination details

bank

FieldtypeDescription
bank_namestringName of the bank
account_numberstringAccount Number
ibanstringIBAN
countrystringTwo-letter country code (ISO 3166-1 alpha-2)
currencystringThree-letter ISO currency code
branch_namestringName of the branch
purpose_codestringPurpose Code in the Indian context
bank_codesjsonBank Codes (For example - swift_code, ifsc_code). Refer here for the list of codes.

payout_wallet

FieldtypeDescription
deposit_addressstringDeposit Address
typeenumName of the wallet (Type of the deposit address)
currencystringcurrency

tracking_details

FieldSub-fieldtypeDescription
referencejsonReference Details for tracking
typeenumType of the reference
numberstringReference Number

payout_fx_transaction

FieldSub-fieldtypeDescription
idstringUnique ID for the FX conversion
objectstringfx_transaction here
initialjsonThe initial currency and amount
amountintegerAmount in cents in the payout currency. Refer <https://docs.tazapay.com/docs/decimal-currencies> for decimal handling for various currencies.
currencystringISO 4217 standard, in uppercase.
exchange_ratefloatExchange Rate to convert initial currency to the final currency
initialjsonThe final currency and amount after conversion
amountintegerAmount in cents in the destination currency. Refer <https://docs.tazapay.com/docs/decimal-currencies> for decimal handling for various currencies.
currencystringISO 4217 standard, in uppercase.

local

FieldtypeDescription
fund_transfer_networkstringThe fund transfer network used for local payouts (e.g., "chats" for Hong Kong, "fps" for Faster Payment System, "sepa" for European payouts)

logistics_tracking_details

FieldtypeDescription
tracking_numberstringThe tracking number for the shipment
logistics_providerstringName of the logistics/shipping provider (e.g., UPS, DHL, FedEx)
descriptionstringAdditional description about the shipment

confirmation_documents

FieldtypeDescription
keystringType of document (e.g., "mt103", "mt199", "firc", "other")
typestringMIME type of the document (e.g., "application/pdf")
valuestringDocument content (base64 encoded) or URL to access the document