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

Download OpenAPI description
Languages
Servers
Mock server
https://docs2-viablocks.viamericas.io/_mock/apis/inbound/
Sandbox environment
https://sandbox-viablocks.viamericas.io/
Production environment
https://viablocks.viamericas.net/

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.

Bodyapplication/jsonrequired
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 (click to expand)
RuleCode
required400001
type400002
minLength400003
maxLength400004

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 (click to expand)
RuleCode
required400005
type400006
minLength400007
maxLength400008

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 (click to expand)
RuleCode
required400011
type400012

sender.​firstNamestring[ 2 .. 60 ] charactersrequired

Sender’s given (first) name as it appears on their official identification document.

Error codes (click to expand)
RuleCode
required400013
type400014
minLength400015
maxLength400016

sender.​middleNamestring[ 2 .. 60 ] characters

Sender’s middle name, if applicable.

Error codes (click to expand)
RuleCode
required400017
type400018
minLength400019
maxLength400020

sender.​lastNamestring[ 2 .. 60 ] charactersrequired

Sender’s primary family name (surname).

Error codes (click to expand)
RuleCode
required400021
type400022
minLength400023
maxLength400024

sender.​secondLastNamestring[ 2 .. 60 ] characters

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

Error codes (click to expand)
RuleCode
required400025
type400026
minLength400027
maxLength400028

sender.​phonestring[ 10 .. 15 ] charactersrequired

Sender’s phone number without country code.

Error codes (click to expand)
RuleCode
required400029
type400030
minLength400031
maxLength400032

sender.​phoneCountryCodestring[ 2 .. 4 ] charactersrequired

International dialing code of the sender’s phone number

Error codes (click to expand)
RuleCode
required400033
type400034
minLength400035
maxLength400036
allowedValues400087

Value"+52"
sender.​emailstring(email)[ 5 .. 60 ] charactersrequired

Sender’s email address used for notifications and transaction updates.

Error codes (click to expand)
RuleCode
required400037
type400038
minLength400039
maxLength400040
format400041

sender.​addressStreetstring[ 2 .. 60 ] charactersrequired

Sender 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 (click to expand)
RuleCode
required400042
type400043
minLength400044
maxLength400045

sender.​addressStatestring[ 2 .. 6 ] charactersrequired

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

Error codes (click to expand)
RuleCode
required400047
type400048
minLength400049
maxLength400050

sender.​addressCitystring[ 2 .. 60 ] charactersrequired

City name of the sender’s residence.

Error codes (click to expand)
RuleCode
required400051
type400052
minLength400053
maxLength400054

sender.​addressCountrystring[ 2 .. 3 ] charactersrequired

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

Error codes (click to expand)
RuleCode
required400055
type400056
minLength400057
maxLength400058
allowedValues400085

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 (click to expand)
RuleCode
required400100
type400101
minLength400102
maxLength400103

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 (click to expand)
RuleCode
required400059
type400060
minLength400061
maxLength400062
sender.​documentDescriptionstring[ 0 .. 60 ] charactersrequired

Human-readable description of the identification document.

Error codes (click to expand)
RuleCode
required400063
type400064
minLength400065
maxLength400066

sender.​documentNumberstring[ 2 .. 60 ] charactersrequired

Identification document number.

Error codes (click to expand)
RuleCode
required400067
type400068
minLength400069
maxLength400070

sender.​documentExpirationDatestring(YYYY-MM-DD)[ 8 .. 10 ] characters

Expiration date of the identification document.

Error codes (click to expand)
RuleCode
required400071
type400072
minLength400074
maxLength400075
format400073

sender.​documentCountrystring[ 2 .. 3 ] characters

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

Error codes (click to expand)
RuleCode
required400076
type400077
minLength400078
maxLength400079

sender.​dateOfBirthstring(YYYY-MM-DD)[ 8 .. 10 ] charactersrequired

Sender’s date of birth, used for identity verification and compliance checks.

Error codes (click to expand)
RuleCode
required400080
type400081
minLength400083
maxLength400084
format400082

sender.​occupationstring[ 2 .. 60 ] charactersrequired

Sender’s occupation or professional activity.

Error codes (click to expand)
RuleCode
required400088
type400089
minLength400090
maxLength400091

sender.​employerstring[ 2 .. 60 ] charactersrequired

Name of the sender’s employer or business activity.

Error codes (click to expand)
RuleCode
required400092
type400093
minLength400094
maxLength400095

sender.​proofOfIncomestring[ 2 .. 60 ] charactersrequired

Description of the sender’s source of income or supporting documentation.

Error codes (click to expand)
RuleCode
required400096
type400097
minLength400098
maxLength400099

beneficiaryobjectrequired

Represents the final recipient of the funds in a 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 (click to expand)
RuleCode
required400151
type400152

beneficiary.​firstNamestring[ 2 .. 60 ] charactersrequired

Beneficiary’s given name.

Error codes (click to expand)
RuleCode
required400153
type400154
minLength400155
maxLength400156

beneficiary.​middleNamestring[ 2 .. 60 ] characters

Beneficiary’s middle name, if applicable.

Error codes (click to expand)
RuleCode
required400157
type400158
minLength400159
maxLength400160

beneficiary.​lastNamestring[ 2 .. 60 ] charactersrequired

Beneficiary’s primary family name.

Error codes (click to expand)
RuleCode
required400161
type400162
minLength400163
maxLength400164

beneficiary.​secondLastNamestring[ 2 .. 60 ] characters

Beneficiary’s second family name.

Error codes (click to expand)
RuleCode
required400165
type400166
minLength400167
maxLength400168

beneficiary.​phonestring[ 10 .. 15 ] charactersrequired

Beneficiary’s phone number without country code.

Error codes (click to expand)
RuleCode
required400169
type400170
minLength400171
maxLength400172

beneficiary.​phoneCountryCodestring[ 2 .. 4 ] charactersrequired

International dialing code of the beneficiary’s phone number.

Error codes (click to expand)
RuleCode
required400173
type400174
minLength400175
maxLength400176
allowedValues400214

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 (click to expand)
RuleCode
required400177
type400178
minLength400179
maxLength400180
pattern400215

beneficiary.​addressStatestring[ 2 .. 6 ] charactersrequired

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

Error codes (click to expand)
RuleCode
required400181
type400182
minLength400183
maxLength400184
allowedValues400213

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 (click to expand)
RuleCode
required400185
type400186
minLength400187
maxLength400188

beneficiary.​addressCountrystring[ 2 .. 3 ] charactersrequired

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

Error codes (click to expand)
RuleCode
required400189
type400190
minLength400191
maxLength400192

beneficiary.​addressZipCodestring[ 5 .. 6 ] charactersrequired

Postal or ZIP code of the beneficiary’s address.

Error codes (click to expand)
RuleCode
required400216
type400217
minLength400218
maxLength400219

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 (click to expand)
RuleCode
required400193
type400194
minLength400195
maxLength400196
beneficiary.​documentNumberstring[ 2 .. 60 ] characters

Identification document number of the beneficiary.

Error codes (click to expand)
RuleCode
required400197
type400198
minLength400199
maxLength400200

beneficiary.​documentDescriptionstring[ 2 .. 60 ] characters

Identification document number of the beneficiary.

Error codes (click to expand)
RuleCode
required400201
type400202
minLength400203
maxLength400204

beneficiary.​documentCountrystring[ 2 .. 3 ] characters

Country that issued the beneficiary’s identification document.

Error codes (click to expand)
RuleCode
required400205
type400206
minLength400207
maxLength400208

beneficiary.​relationShipstring[ 2 .. 60 ] characters

Relationship between sender and beneficiary (e.g., Family, Friend, Business).

Error codes (click to expand)
RuleCode
required400209
type400210
minLength400211
maxLength400212

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 (click to expand)
RuleCode
required400301
type400302

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 (click to expand)
RuleCode
required400303
type400304
minLength400305
maxLength400306
allowedValues400307
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 (click to expand)
RuleCode
required400308
type400309

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

Destination account number.

Error codes (click to expand)
RuleCode
required400310
type400311
minLength400312
maxLength400313

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



Error codes (click to expand)
RuleCode
required400314
type400315
minLength400316
maxLength400317

transactionInformation.​deliveryModeDetails.​accountTypestring= 1 characters

Delivery mode used for the transaction.

Account types

CodeAccount TypeDescription
SSavingSavings account
CCheckingChecking account
UUndefinedUndefined


Error codes (click to expand)
RuleCode
required400318
type400319
minLength400320
maxLength400321
allowedValues400388

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

Bank routing or clearing number

Error codes (click to expand)
RuleCode
required400407
type400408
minLength400409
maxLength400410

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

Name of the receiving bank.

Error codes (click to expand)
RuleCode
required400411
type400412
minLength400413
maxLength400414

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 (click to expand)
RuleCode
required400322
type400323

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 (click to expand)
RuleCode
required400324
type400325
minLength400326
maxLength400327
allowedValues400406

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

Funding account number.

Error codes (click to expand)
RuleCode
required400420
type400421
minLength400422
maxLength400423

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

Routing number bank.

Error codes (click to expand)
RuleCode
required400424
type400425
minLength400426
maxLength400427

transactionInformation.​originationCountryISOstring[ 2 .. 6 ] charactersrequired

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

Error codes (click to expand)
RuleCode
required400328
type400329
minLength400330
maxLength400331
allowedValues400391

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 (click to expand)
RuleCode
required400332
type400333
minLength400334
maxLength400335

transactionInformation.​originationLocationCitystring[ 2 .. 60 ] charactersrequired

City where the transaction is initiated.

Error codes (click to expand)
RuleCode
required400336
type400337
minLength400338
maxLength400339

transactionInformation.​originationAmountnumber>= 0required

Amount of money sent in the origination currency.

Error codes (click to expand)
RuleCode
required400340
type400341
minimum400398
decimal400399

transactionInformation.​originationCurrencyISOstring[ 2 .. 6 ] charactersrequired

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

Error codes (click to expand)
RuleCode
required400342
type400343
minLength400344
maxLength400345
allowedValues400392

Value"MXN"
transactionInformation.​exchangeRatenumber>= 0

Amount of money sent in the origination currency.

Error codes (click to expand)
RuleCode
required400346
type400347
minimum400400
decimal400401

transactionInformation.​feenumber>= 0

Transaction service fee charged for processing the remittance.

Error codes (click to expand)
RuleCode
required400348
type400349
minimum400402
decimal400403

transactionInformation.​deliveryCountryISOstring[ 2 .. 6 ] charactersrequired

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

Error codes (click to expand)
RuleCode
required400350
type400351
minLength400352
maxLength400353
allowedValues400393

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

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

Error codes (click to expand)
RuleCode
required400354
type400355
minLength400356
maxLength400357
allowedValues400395

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 (click to expand)
RuleCode
required400358
type400359
minimum400404
decimal400405

transactionInformation.​deliveryAmountCurrencyISOstring[ 2 .. 6 ] charactersrequired

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

Error codes (click to expand)
RuleCode
required400360
type400361
minLength400362
maxLength400363
allowedValues400394

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

Internal or partner code of the payout location.

Error codes (click to expand)
RuleCode
required400364
type400365
minLength400366
maxLength400367
allowedValues400389

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

Network or partner identifier used for payout.

Error codes (click to expand)
RuleCode
required400368
type400369
minLength400370
maxLength400371
allowedValues400390

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

Human-readable name of the payout location or method.

Error codes (click to expand)
RuleCode
required400372
type400373
minLength400374
maxLength400375

transactionInformation.​deliveryLocationCitystring[ 2 .. 60 ] charactersrequired

City where the funds will be delivered.

Error codes (click to expand)
RuleCode
required400376
type400377
minLength400378
maxLength400379

transactionInformation.​sourceOfFoundsstring[ 2 .. 60 ] characters

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 (click to expand)
RuleCode
required400380
type400381
minLength400382
maxLength400383

transactionInformation.​remittancePurposestring[ 2 .. 60 ] characters

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 (click to expand)
RuleCode
required400384
type400385
minLength400386
maxLength400387

channelstring[ 2 .. 60 ] characters

Identifies the integration channel used to create the transaction (API, Web, Messaging, etc.).

Error codes (click to expand)
RuleCode
required400501
type400502
minLength400503
maxLength400504
allowedValues400507

Enum"API""WHATSAPP"
channelMetadataobject

Dynamic / Data considered relevant by the client for informational purposes for internal tracking

Error codes (click to expand)
RuleCode
required400505
type400506

curl -i -X POST \
  https://docs2-viablocks.viamericas.io/_mock/apis/inbound/transaction/create \
  -H 'Content-Type: application/json' \
  -d '{
    "client_id": "xxxx123456789",
    "secret_key": "xxxx987654321",
    "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.

total_receiverstring

Amount in destination 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_amountstring

Amount in source currency that the customer is sending.

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.

Bodyapplication/jsonrequired
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 (click to expand)
RuleCode
required400001
type400002
minLength400003
maxLength400004

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 (click to expand)
RuleCode
required400005
type400006
minLength400007
maxLength400008

uuidstring[ 32 .. 60 ] charactersrequired

Unique identifier of the generated transaction.

Error codes (click to expand)
RuleCode
required400500
type400501
minLength400502
maxLength400503

curl -i -X POST \
  https://docs2-viablocks.viamericas.io/_mock/apis/inbound/transaction/status \
  -H 'Content-Type: application/json' \
  -d '{
    "client_id": "xxxx123456789",
    "secret_key": "xxxx987654321",
    "uuid": "xxxxx-xxxx-xxxx-xxxx-xxxxx"
  }'

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 destination 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" ] }