Transfer Object

{
  "id": "tr_jKaHD105H",
  "object": "transfer",
  "account_number": {
    "id": "acno_Kasf91034gj1AD",
    "object": "account_number",
    "account_id": "acc_Jas92lf9adg94ka",
    "created_at": "2024-03-01T20:09:42.949787176Z",
    "description": "Mis payins",
    "metadata": {
      "id_cliente": "12343212"
    },
    "mode": "test",
    "number": "738969123456789120"
  },
  "amount": 2864,   
  "comment": "Pago de gas",
  "counterparty": {
    "account_number": "012180000000000008",
    "account_type": "clabe", 
    "holder_id": "XAXX010101000",
    "holder_name": "Jane Doe",
    "institution": {
      "id": "mx_banco_bbva",
      "country": "mx", 
      "name": "BBVA Mexico"
     }
   },
  "currency": "mxn",  
  "direction": "inbound",
  "metadata": {},
  "mode": "test",
  "post_date": "2020-04-17T00:00:00.000Z", 
  "receipt_url": "https://www.banxico.org.mx/cep/example",
  "reference_id": "130824",
  "return_reason": null,
  "status": "succeeded", 
  "tracking_key": "TEST0000000000000001",
  "transaction_date": "2020-04-17T05:12:41.462Z"
}

Transfer object

A Transfer represents a movement of funds into or out of one of your accounts. You receive a Transfer object when an inbound transfer lands on a Account Number (Clave Bancaria Estandarizada (CLABE)) you own, and you create one when you initiate an outbound transfer from one of your Accounts. Each Transfer references the Account Number it settled against and the Counterparty on the other side of the rail.

FieldTypeDescription
idstringUnique identifier for the transfer.
objectstringThe type of the object, which is always transfer.
account_numberobjectThe AccountNumber you used to send or receive this transfer.
amountintegerThe amount of the transfer in the smallest currency unit (e.g. centavos for MXN). In Chile, transfers cannot be over $7.000.000 CLP.
commentstringA comment or reference describing the transfer. For outbound transfers, you provide it; for inbound transfers, you see what the sender wrote. Max 40 chars.
counterpartyobjectInformation about the counterparty: the party sending you the funds if inbound, or the party you are paying if outbound.
currencystringCurrency of the transfer (in ISO 4217 format, e.g., mxn).
directionstringEither inbound (if you are receiving a transfer to your Account Number) or outbound if you are sending a transfer from your Account).
metadataobjectOptional key-value pairs you can attach to the object.
modestringMode of the API (test or live).
post_datestringTimestamp when the transfer was posted (ISO 8601 format).
receipt_urlstringA URL to the receipt of the transfer, if available.
reference_idstringA unique reference ID for the transfer, used for reconciliation purposes.
return_reasonstring | nullReason the transfer was returned. null unless status is returned. See the full list of SPEI return codes.
statusstringThe status of the transfer. It can be pending, succeeded, failed, returned, rejected or return_pending.
tracking_keystringThe unique tracking key for the transaction provided by the banking system.
transaction_datestringTimestamp when the transfer was initiated (ISO 8601 format).

Counterparty object

FieldTypeDescription
account_numberstringThe account number (in Mexico: CLABE) of the third party of the transaction (counterparty).
account_typestringThe type of the counterparty account. In Mexico is one of: clabe, debit_card or phone_number. Options for Chile: checking, sight.
holder_idstringThe unique ID of the third party of the transaction (counterparty).
holder_namestringThe name of the third party of the transaction (counterparty).
institutionobjectThe institution object containing details about the sender's financial institution.

Institution object

FieldTypeDescription
idstringUnique identifier for the institution. See Chile Institution Codes or Mexico Institution Codes.
countrystringThe country where the financial institution is located (in ISO 3166-1 alpha-2 format, e.g., mx for Mexico).
namestringThe name of the financial institution.