Skip to content

Overview (1.0.0)



ViaBlocks API Inbound is a server-to-sever API that enables regulated partners create and track money transfers. The API supports sender and beneficiary onboarding, transaction creation, funding, FX handling, payout execution, and status tracking. The two API calls are POST /transaction/create to submit sender, beneficiary, and transaction details, and POST /transaction/status to retrieve the latest processing status.

Inbound transaction is a money transfer created by a partner through this API. It represents funds sent from a sender in the origination country to a beneficiary in the delivery country, and it is tracked from creation through payout using /transaction/status

Languages
Servers
Sandbox
https://sandbox-viablocks.viamericas.io

Transaction

This section provides the Transaction endpoints required to manage and operate the full lifecycle of resources within the ViaBlocks platform.

These endpoints are designed for secure, auditable, and scalable server-to-server integrations, and support all core business operations and compliance workflows.

Operations

/transaction/create

Request

Creates a new money transfer transaction.

This endpoint validates sender and beneficiary data, applies compliance checks, and registers the transaction for processing.

Headers
x-client-idstring[ 16 .. 64 ] charactersrequired

Unique identifier assigned to the integrating client. It determines the validation rules, allowed values, compliance policies, and operational limits applied to the request.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

Example: xxxx123456789
x-secret-keystring[ 32 .. 128 ] charactersrequired

Secret authentication key associated with the client. It is used to authorize the request and must be kept strictly confidential. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

Example: xxxx987654321
Bodyapplication/jsonrequired
senderobjectrequired

Contains the personal and identification information of the transaction sender.

All fields are subject to AML, KYC, and compliance validation rules.

This information is used to verify the identity of the person initiating the transaction and to evaluate regulatory and risk requirements.

Error codes: required=400001, type=400002

sender.​firstNamestring[ 2 .. 60 ] charactersrequired

Sender’s given (first) name as it appears on their official identification document Error codes: required=400001, type=400002, minLength=400003, maxLength=400004'

sender.​middleNamestring[ 2 .. 60 ] characters

Sender’s middle name, if applicable.

Error codes: type=400002, minLength=400003, maxLength=400004

sender.​lastNamestring[ 2 .. 60 ] charactersrequired

Sender’s primary family name (surname).

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​secondLastNamestring[ 2 .. 60 ] characters

Sender’s second family name, used in some countries.

Error codes: type=400002, minLength=400003, maxLength=400004

sender.​phonestring[ 10 .. 15 ] charactersrequired

Sender’s phone number without country code.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​phoneCountryCodestring[ 2 .. 4 ] charactersrequired

International dialing code of the sender’s phone number Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​emailstring(email)[ 5 .. 60 ] charactersrequired

Sender’s email address used for notifications and transaction updates. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, format=400005

sender.​addressStreetstring[ 2 .. 60 ] charactersrequired

Sender address. Structure: [Description, city name, State ISO2 zipCode, Country ISO3]. Example:'54545 Salo Rd, Hancock, MI 49930, USA' Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​addressStatestring[ 2 .. 6 ] charactersrequired

Sender state (ISO 2). https://en.wikipedia.org/wiki/ISO_3166-2 Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​addressCitystring[ 2 .. 60 ] charactersrequired

City name of the sender’s residence. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​addressCountrystring[ 2 .. 3 ] charactersrequired

Sender country (ISO 3). https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

Enum"TCD""COL""DOM""COD""GNB""HTI""JAM""MEX""MAR""MOZ"
sender.​addressZipCodestring[ 5 .. 6 ] charactersrequired

Postal or ZIP code of the sender’s address. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​documentTypestring[ 2 .. 3 ] charactersrequired

Type of identification document provided by the sender (e.g., Passport, National ID).

Document types (documentType) — click to expand
CodeDocument TypeDescription
BDBORDER CROSSING CARDBorder crossing card used to enter certain countries without a passport.
BFCPF/CNPJBrazilian tax registry for individuals (CPF) and legal entities (CNPJ).
CACARTEIRA DE IDENTIDADEIdentity document issued in Brazil.
CCCÉDULA CIUDADANÍAIdentification document in Colombia.
CECÉDULA DE IDENTIDAD Y ELECTORALIdentity document used in the Dominican Republic.
CICÉDULA DE IDENTIDADIdentity document issued in various Latin American countries.
CLCREDENCIAL DE ELECTORVoter identification document used in Mexico.
CNCERTIFICATE OF NATURALIZATIONNaturalization certificate that grants citizenship in the U.S. or other countries.
CPCADASTRO DE PESSOAS FÍSICAS (CPF)Tax registry for individuals in Brazil.
CRCREW LANDING PERMIT & BADGELanding permit for aircraft crew members.
CVCÉDULA DE VECINDADIdentity document in Guatemala.
CZCERTIFICATE OF CITIZENSHIPCitizenship certificate issued by national governments.
DIDOCUMENTO NACIONAL DE IDENTIDAD (DNI)Identity document in Argentina, Spain, and other countries.
DLDRIVER'S LICENSEDriver's license.
DNDOCUMENTO NACIONALNational identity document.
DUDOCUMENTO ÚNICO DE IDENTIDAD (DUI)Identity document in El Salvador.
EAEMPLOYMENT AUTHORIZATIONEmployment authorization document in the U.S.
GCGREEN CARDPermanent residence card in the U.S.
GIGOVERNMENT IDENTIFICATIONIdentification issued by the government for its citizens.
ICCÉDULA DE IDENTIDAD CIVILCivil identity document in several countries.
IDIDENTIFICATION CARDGeneral identification card.
LDDRIVER'S LICENSEDriver's license.
LELIBRETA ELECTORALElectoral document in Peru.
LPLEARNER PERMITLearner's permit for driving.
MCMATRÍCULA CONSULARIdentity document issued by consulates to citizens abroad.
MIMILITARY IDMilitary identification.
NNNONENo identity document required.
OIOFFICIAL ID (POLICE, FIRE, ETC)Official identification for police, firefighters, etc.
OTOTHEROther type of identity document.
PAPASSPORTPassport issued by a government.
PCPASSPORT CARDPassport card used in the U.S. for certain international travel.
PPPASAPORTEPassport.
PRPERMANENT RESIDENT CARDPermanent residence card in some countries.
RARESIDENT ALIENDocument for a foreign resident.
SISTATE ISSUED IDIdentification issued by a state or province.
SSSSNSocial Security Number (U.S.).
TITARJETA DE IDENTIDADIdentity card in some Latin American countries.
TRTARJETA DE REGISTRO CONSULARConsular registration card for citizens abroad.
VIVISAEntry visa for a country.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​documentDescriptionstring[ 0 .. 60 ] charactersrequired

Human-readable description of the identification document. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​documentNumberstring[ 2 .. 60 ] charactersrequired

Identification document number. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​documentExpirationDatestring[ 8 .. 10 ] characters

Expiration date of the identification document. Format: YYYY-MM-DD Error codes: type=400002, minLength=400003, maxLength=400004, format=400005

sender.​documentCountrystring[ 2 .. 3 ] characters

Sender country (ISO 3). https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 Error codes: type=400002, minLength=400003, maxLength=400004

sender.​dateOfBirthstring[ 8 .. 10 ] charactersrequired

Sender’s date of birth, used for identity verification and compliance checks. Format: YYYY-MM-DD Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, format=400005

sender.​occupationstring[ 2 .. 60 ] charactersrequired

Sender’s occupation or professional activity. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​employerstring[ 2 .. 60 ] charactersrequired

Name of the sender’s employer or business activity. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

sender.​proofOfIncomestring[ 2 .. 60 ] charactersrequired

Description of the sender’s source of income or supporting documentation. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

beneficiaryobjectrequired

Represents the final recipient of the funds in a cross-border transaction.

Contains the personal, identification, and location information required to validate the recipient against AML, sanctions, and regulatory screening rules.

This object is used to ensure the payout can be legally and operationally executed in the destination country.

Error codes: required=400001, type=400002

beneficiary.​firstNamestring[ 2 .. 60 ] charactersrequired

Beneficiary’s given name. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

beneficiary.​middleNamestring[ 2 .. 60 ] characters

Beneficiary’s middle name, if applicable. Error codes: type=400002, minLength=400003, maxLength=400004

beneficiary.​lastNamestring[ 2 .. 60 ] charactersrequired

Beneficiary’s primary family name. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

beneficiary.​secondLastNamestring[ 2 .. 60 ] characters

Beneficiary’s second family name. Error codes: type=400002, minLength=400003, maxLength=400004

beneficiary.​phonestring[ 10 .. 15 ] charactersrequired

Beneficiary’s phone number without country code. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

beneficiary.​phoneCountryCodestring[ 2 .. 4 ] charactersrequired

International dialing code of the beneficiary’s phone number. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

Value"+1"
beneficiary.​addressStreetstring[ 2 .. 60 ] characters^[0-9]+\s[\w\s.,-]+$required

Beneficiary address. Structure: [Description, city name, State ISO2 zipCode, Country ISO3]. Example:'54545 Salo Rd, Hancock, MI 49930, USA' Regular expression: ^[0-9]+\s[\w\s.,-]+$ Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, pattern=400009

beneficiary.​addressStatestring[ 2 .. 6 ] charactersrequired

Beneficiary state (ISO 2). https://en.wikipedia.org/wiki/ISO_3166-2 Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Enum"US-AL""US-AK""US-AZ""US-AR""US-CA""US-CO""US-CT""US-DE""US-FL""US-GA"
beneficiary.​addressCitystring[ 2 .. 60 ] charactersrequired

City name of residence of the beneficiary. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

beneficiary.​addressCountrystring[ 2 .. 3 ] charactersrequired

Beneficiary country (ISO 3). https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Value"USA"
beneficiary.​addressZipCodestring[ 5 .. 6 ] charactersrequired

Postal or ZIP code of the beneficiary’s address. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

beneficiary.​documentTypestring[ 2 .. 3 ] characters

Type of identification document of the beneficiary.

Document types (documentType) — click to expand
CodeDocument TypeDescription
BDBORDER CROSSING CARDBorder crossing card used to enter certain countries without a passport.
BFCPF/CNPJBrazilian tax registry for individuals (CPF) and legal entities (CNPJ).
CACARTEIRA DE IDENTIDADEIdentity document issued in Brazil.
CCCÉDULA CIUDADANÍAIdentification document in Colombia.
CECÉDULA DE IDENTIDAD Y ELECTORALIdentity document used in the Dominican Republic.
CICÉDULA DE IDENTIDADIdentity document issued in various Latin American countries.
CLCREDENCIAL DE ELECTORVoter identification document used in Mexico.
CNCERTIFICATE OF NATURALIZATIONNaturalization certificate that grants citizenship in the U.S. or other countries.
CPCADASTRO DE PESSOAS FÍSICAS (CPF)Tax registry for individuals in Brazil.
CRCREW LANDING PERMIT & BADGELanding permit for aircraft crew members.
CVCÉDULA DE VECINDADIdentity document in Guatemala.
CZCERTIFICATE OF CITIZENSHIPCitizenship certificate issued by national governments.
DIDOCUMENTO NACIONAL DE IDENTIDAD (DNI)Identity document in Argentina, Spain, and other countries.
DLDRIVER'S LICENSEDriver's license.
DNDOCUMENTO NACIONALNational identity document.
DUDOCUMENTO ÚNICO DE IDENTIDAD (DUI)Identity document in El Salvador.
EAEMPLOYMENT AUTHORIZATIONEmployment authorization document in the U.S.
GCGREEN CARDPermanent residence card in the U.S.
GIGOVERNMENT IDENTIFICATIONIdentification issued by the government for its citizens.
ICCÉDULA DE IDENTIDAD CIVILCivil identity document in several countries.
IDIDENTIFICATION CARDGeneral identification card.
LDDRIVER'S LICENSEDriver's license.
LELIBRETA ELECTORALElectoral document in Peru.
LPLEARNER PERMITLearner's permit for driving.
MCMATRÍCULA CONSULARIdentity document issued by consulates to citizens abroad.
MIMILITARY IDMilitary identification.
NNNONENo identity document required.
OIOFFICIAL ID (POLICE, FIRE, ETC)Official identification for police, firefighters, etc.
OTOTHEROther type of identity document.
PAPASSPORTPassport issued by a government.
PCPASSPORT CARDPassport card used in the U.S. for certain international travel.
PPPASAPORTEPassport.
PRPERMANENT RESIDENT CARDPermanent residence card in some countries.
RARESIDENT ALIENDocument for a foreign resident.
SISTATE ISSUED IDIdentification issued by a state or province.
SSSSNSocial Security Number (U.S.).
TITARJETA DE IDENTIDADIdentity card in some Latin American countries.
TRTARJETA DE REGISTRO CONSULARConsular registration card for citizens abroad.
VIVISAEntry visa for a country.

Error codes: type=400002, minLength=400003, maxLength=400004

beneficiary.​documentNumberstring[ 2 .. 60 ] characters

Identification document number of the beneficiary. Error codes: type=400002, minLength=400003, maxLength=400004

beneficiary.​documentDescriptionstring[ 2 .. 60 ] characters

Identification document number of the beneficiary. Error codes: type=400002, minLength=400003, maxLength=400004

beneficiary.​documentCountrystring[ 2 .. 3 ] characters

Country that issued the beneficiary’s identification document. Error codes: type=400002, minLength=400003, maxLength=400004

beneficiary.​relationShipstring[ 2 .. 60 ] charactersrequired

Relationship between sender and beneficiary (e.g., Family, Friend, Business). Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

transactionInformationobjectrequired

Represents the financial, operational, and processing configuration of the transaction.

Contains all parameters required to calculate, validate, route, and execute the transfer, including amounts, currencies, delivery method, funding source, fees, and payout instructions.

All fields are validated against business rules, compliance policies, and operational constraints before the transaction is accepted for processing.

Error codes: required=400001, type=400002

transactionInformation.​deliveryModestring= 1 charactersrequired

Defines the payout execution method and destination details for the transaction.

Specifies how and where the funds will be delivered to the beneficiary (e.g., cash pickup, bank deposit, walletcredit, or home delivery), including all routing and operational parameters required to complete the payout.

Delivery mode

CodeDelivery ModeDescription
PCash PickupCash withdrawal at an authorized location.
CBank DepositDirect deposit to a bank account.
OMobile WalletDeposit to a mobile wallet.
DHome DeliveryCash delivered to the recipient’s address.
UUndefinedUndefined

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Value"C"
transactionInformation.​deliveryModeDetailsobjectrequired

Contains the bank account and routing information required to execute the payout to the beneficiary.

This object defines the destination financial institution and account where the funds will be deposited, including account number, account type, routing number, and bank details.

All fields are validated against country-specific banking rules and payout network requirements before the transaction is released for payment.

Error codes: required=400001, type=400002

transactionInformation.​deliveryModeDetails.​accountNumberstring[ 6 .. 60 ] charactersrequired

Destination account number.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

transactionInformation.​deliveryModeDetails.​accountAuxiliaryFieldstring[ 6 .. 60 ] characters

Error codes: type=400002, minLength=400003, maxLength=400004

transactionInformation.​deliveryModeDetails.​accountTypestring= 1 characters

Delivery mode used for the transaction.

Account types

CodeAccount TypeDescription
SSavingSavings account
CCheckingChecking account
UUndefinedUndefined

Error codes: type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Enum"S""C""U"
transactionInformation.​deliveryModeDetails.​routingNumberstring[ 9 .. 60 ] charactersrequired

Bank routing or clearing number

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

transactionInformation.​deliveryModeDetails.​bankstring[ 6 .. 60 ] charactersrequired

Name of the receiving bank.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

transactionInformation.​fundingobjectrequired

Defines the source of funds and funding method used to initiate the transaction.

Contains the payment instrument and funding configuration (e.g., cash, debit card, bank account, wallet), and is used to validate, authorize, and register the financial charge before the transaction is processed.

Error codes: required=400001, type=400002

transactionInformation.​funding.​typestring= 1 charactersrequired

Funding source type (e.g., bank account, cash, etc.).


Funding types

Code Funding Type Description
A Account bank Indicates that the transaction is funded directly from a bank account. The funds will be debited from the specified bank account using the configured banking or payment network before the transaction is processed.
C Cash Indicates that the transaction is funded using cash. The sender provides the funds in cash at an authorized agent location or branch before the transaction is processed.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Enum"A""C""U"
transactionInformation.​funding.​accountNumberstring[ 6 .. 60 ] characters

Funding account number.

Error codes: type=400002, minLength=400003, maxLength=400004

transactionInformation.​funding.​routingNumberstring[ 9 .. 60 ] characters

Routing number bank.

Error codes: type=400002, minLength=400003, maxLength=400004

transactionInformation.​originationCountryISOstring[ 2 .. 6 ] charactersrequired

Origin country (ISO 3). https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Enum"TCD""COL""DOM""COD""GNB""HTI""JAM""MEX""MAR""MOZ"
transactionInformation.​originationStateISOstring[ 2 .. 6 ] charactersrequired

Origin state (ISO 2). https://en.wikipedia.org/wiki/ISO_3166-2

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

transactionInformation.​originationLocationCitystring[ 2 .. 60 ] charactersrequired

City where the transaction is initiated.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

transactionInformation.​originationAmountnumber>= 0required

Amount of money sent in the origination currency.

Error codes: required=400001, type=400002, minimum=400006, decimal=400008

transactionInformation.​originationCurrencyISOstring[ 2 .. 6 ] charactersrequired

Origin currency (ISO). https://en.wikipedia.org/wiki/ISO_4217

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Value"MXN"
transactionInformation.​exchangeRatenumber>= 0

Amount of money sent in the origination currency.

Error codes: type=400002, minimum=400006, decimal=400008

transactionInformation.​feenumber>= 0

Transaction service fee charged for processing the remittance.

Error codes: type=400002, minimum=400006, decimal=400008

transactionInformation.​deliveryCountryISOstring[ 2 .. 6 ] charactersrequired

Delivery country (ISO 3). https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Value"USA"
transactionInformation.​deliveryStateISOstring[ 2 .. 6 ] charactersrequired

Delivery state (ISO 2). https://en.wikipedia.org/wiki/ISO_3166-2

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Enum"US-AL""US-AK""US-AZ""US-AR""US-CA""US-CO""US-CT""US-DE""US-FL""US-GA"
transactionInformation.​deliveryAmountnumber>= 0

Amount to be delivered in the destination currency.

Error codes: type=400002, minimum=400006, decimal=400008

transactionInformation.​deliveryAmountCurrencyISOstring[ 2 .. 6 ] charactersrequired

Delivery currency (ISO). https://en.wikipedia.org/wiki/ISO_4217

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Value"USD"
transactionInformation.​deliveryLocationCodestring[ 2 .. 30 ] charactersrequired

Internal or partner code of the payout location.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Value"T377"
transactionInformation.​deliveryLocationNetworkstring[ 2 .. 30 ] charactersrequired

Network or partner identifier used for payout.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Value"PV0001"
transactionInformation.​deliveryLocationNamestring[ 2 .. 30 ] charactersrequired

Human-readable name of the payout location or method.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

transactionInformation.​deliveryLocationCitystring[ 2 .. 60 ] charactersrequired

City where the funds will be delivered. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

transactionInformation.​sourceOfFoundsstring[ 2 .. 60 ] charactersrequired

Declared source of funds used to finance the remittance (e.g., salary, savings, business income). This information may be required for compliance (KYC/AML) depending on the client configuration, corridor, or transaction amount thresholds.

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

transactionInformation.​remittancePurposestring[ 2 .. 60 ] charactersrequired

Declared purpose of the remittance, describing why the funds are being sent (e.g., family support, education, medical expenses, rent, personal transfer). This can be used for compliance classification, reporting, and corridor-specific regulatory requirements. Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

channelstring[ 2 .. 60 ] characters

Identifies the integration channel used to create the transaction (API, Web, Messaging, etc.). Error codes: type=400002, minLength=400003, maxLength=400004, allowedValues=400010

Enum"API""WHATSAPP"
channelMetadataobject

Dynamic / Data considered relevant by the client for informational purposes for internal tracking Error codes: type=400002

curl -i -X POST \
  https://sandbox-viablocks.viamericas.io/transaction/create \
  -H 'Content-Type: application/json' \
  -H 'x-client-id: xxxx123456789' \
  -H 'x-secret-key: xxxx987654321' \
  -d '{
    "sender": {
      "firstName": "MARLON",
      "middleName": "",
      "lastName": "ARANZA",
      "secondLastName": "",
      "phone": "3888111965",
      "phoneCountryCode": "+52",
      "email": "notificationsviablocks@gmail.com",
      "dateOfBirth": "1987-01-01",
      "addressStreet": "125 Hidalgo, Mezcala, Jalisco 47914, México",
      "addressState": "MX-JAL",
      "addressCity": "MEZCALA",
      "addressCountry": "MEX",
      "addressZipCode": "47914",
      "documentType": "PA",
      "documentDescription": "PASSPORT",
      "documentNumber": "FF01231167855",
      "documentState": "MX-JAL",
      "documentCountry": "MEX",
      "occupation": "DRIVER",
      "employer": "UBER DRIVER",
      "proofOfIncome": "NOT APPLICABLE"
    },
    "beneficiary": {
      "firstName": "ANGEL",
      "middleName": "",
      "lastName": "RESTADO",
      "secondLastName": "",
      "phone": "3057118816",
      "phoneCountryCode": "+1",
      "email": "notificationsviablocks@gmail.com",
      "addressStreet": "1450 Brickell Avenue Apt 2908, Miami, FL 33131, USA",
      "addressState": "US-FL",
      "addressCity": "MIAMI",
      "addressCountry": "USA",
      "addressZipCode": "33131"
    },
    "transactionInformation": {
      "originationCountryISO": "MEX",
      "originationStateISO": "MX-JAL",
      "originationLocationCity": "MEZCALA",
      "originationAmount": 360,
      "originationCurrencyISO": "MXN",
      "deliveryCountryISO": "USA",
      "deliveryStateISO": "US-FL",
      "deliveryAmountCurrencyISO": "USD",
      "deliveryLocationCode": "T377",
      "deliveryLocationNetwork": "PV0001",
      "deliveryLocationName": "USA BANK DEPOSIT",
      "deliveryLocationCity": "CITY USA BANK",
      "deliveryMode": "C",
      "deliveryModeDetails": {
        "accountNumber": "5369254747",
        "routingNumber": 96016930,
        "accountType": "S",
        "bank": "USA BANK"
      },
      "funding": {
        "type": "A",
        "accountNumber": "530000000",
        "routingNumber": 80
      }
    }
  }'

Responses

Response success

Bodyapplication/json
statusstring

Request status (success, error, etc.).

messagestring

Descriptive message about the operation result.

transaction_idstring

Unique identifier of the generated transaction.

transaction_uuidstring

Unique identifier of the generated transaction.

status_track_urlstring

URL where the user can track the transaction.

foliostring

Money transfer tracking number (optional).

total_receiverstring

Amount in destination currency that the customer is sending plus fees (optional).

total_pay_receiverstring

Amount in destination currency that the beneficiary is receiving (optional).

ratestring

Exchange rate (optional).

source_currency_amountstring

Amount in source currency that the customer is sending (optional).

Response
application/json
{ "status": "success", "message": "Transaction created successfully", "transaction_uuid": "xxxxxx-xxxxx-xxx-xxxx-xxxxx", "transaction_id": "xxxxxx-8", "folio": "123456789", "total_receiver": "46.6200", "total_pay_receiver": "46.6200", "source_currency_amount": "840.0000", "rate": "0.0555", "status_track_url": "https://status-track.viamericas.io/?token=xxxxxx-xxxxx-xxx-xxxx-xxxxx" }

/transaction/status

Request

Retrieves the current status and processing details of a previously created transaction.

This endpoint provides real-time visibility into the transaction lifecycle, including compliance checks, funding confirmation, routing, payout execution, and final settlement.

The transaction is uniquely identified by its uuid, which is returned by the transaction creation endpoint.

Query
uuidstring[ 32 .. 60 ] charactersrequired

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

Example: uuid=xxxxxx-xxxxx-xxx-xxxx-xxxxx
Headers
x-client-idstring[ 16 .. 64 ] charactersrequired

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

Example: xxxx123456789
x-secret-keystring[ 32 .. 128 ] charactersrequired

Error codes: required=400001, type=400002, minLength=400003, maxLength=400004

Example: xxxx987654321xxs
curl -i -X GET \
  'https://sandbox-viablocks.viamericas.io/transaction/status?uuid=xxxxxx-xxxxx-xxx-xxxx-xxxxx' \
  -H 'x-client-id: xxxx123456789' \
  -H 'x-secret-key: xxxx987654321xxs'

Responses

Response success

Bodyapplication/json
statusstring

Transaction status

StatusDescription
VOIDThe transaction has been voided and is no longer valid.
CANCELThe transaction was cancelled before completion.
EXPIREDThe transaction was not completed within the allowed time window and has expired.
HOLDThe transaction is temporarily on hold due to compliance or operational review.
DONEThe transaction has completed its internal processing flow successfully.
SENDTOBANKThe transaction has been sent to the bank for processing.
PAIDThe funds have been paid out to the beneficiary.
TRANSFERREDThe funds have been transferred to the payout network or external institution.
transaction_idstring

Unique identifier of the generated transaction.

transaction_uuidstring

Unique identifier of the generated transaction.

status_track_urlstring

URL where the user can track the transaction.

foliostring

Money transfer tracking number

total_receiverstring

Amount in destin currency that the customer is sending plus fees

total_pay_receiverstring

Amount in destination currency that the beneficiary is receiving

ratestring

Exchange rate

source_currency_isostring

ISO currency code of the source (sending) amount. Represents the currency in which the sender funds the transaction.

currency_receiver_isostring

ISO currency code of the destination (receiving) amount. Represents the currency in which the beneficiary will receive the funds.

holdsArray of objects

List of compliance or operational holds applied to the transaction.

Each hold represents a restriction or review requirement that must be resolved before the transaction can proceed.

requiredDocumentListArray of objects

List of documents required to resolve compliance or regulatory requirements for the transaction.

This list is typically populated when the transaction requires additional verification or is placed on hold.

Response
application/json
{ "transaction_uuid": "xxxxx-xxxx-xxxx-xxxx-xxxxx", "status_track_url": "https://status-track.viamericas.io/?token=xxxxx-xxxx-xxxx-xxxx-xxxxx", "status": "HOLD", "folio": "1234567890", "source_currency_amount": 84000, "source_currency_iso": "MXN", "total_receiver": 84000, "total_pay_receiver": 4662, "currency_receiver_iso": "USD", "rate": 0.0555, "holds": [ {}, {}, {} ], "requiredDocumentList": [ "Copy1ID", "Copy2ID", "DOB", "ID", "KYC", "SFunds", "SSN" ] }