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"
    },
    "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"
  }
}
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 or swift or wallet
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

beneficiary_details

FieldSub-fieldstypeDescription
typeenumBeneficiary type - business or individual
namestringName of the beneficiary
emailstringEmail of the beneficiary
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.