Fetch Corridor Requirements

The following endpoint retrieves the fields that one payout rail, beneficiary type and customer type need on a corridor.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

Send customerType only in a setup with customers

Without customerType, the response has no customer object: no customerType and no customer.fields. In a setup with customers, send customerType to get the fields of your customer. In a setup without customers, do not send customerType. See Step 4: Register the customer.

  • When to call: call this endpoint before you create the beneficiary, the payment account, the customer and the payout.
  • The response has one group of field definitions for each of them.
  • If you change the payout rail, the beneficiary type or the customer type, call this endpoint again. Another payout rail, beneficiary type or customer type can need other fields.
  • Customer type: customerType is the type of your customer: individual or business. With customerType, the response has customerType and customer.fields. customer.fields has the fields for a customer of that type.
  • If the beneficiary type, the customer type or the payout rail is not valid, the API returns FIELD_INVALID (4000001).
  • Use case: the customer type and the beneficiary type give the use case: b2b, b2c, c2b or c2c. The first letter is the sender: b for your business or a business customer, c for an individual customer. The second letter is the beneficiary type: b for business, c for individual. You do not send the use case. See Key terms.
  • If the payout rail does not support the use case, the API returns USE_CASE_NOT_SUPPORTED (4050002).
  • When the API checks the fields: the API does not check all of these fields in every call. See When the API checks the requirements.
  • Field definitions: in a field definition, key is the field name inside its object. A key is never a dotted path.
  • An object definition lists its child fields in fields.
  • An array definition describes its element in items.
  • pattern, minLength and maxLength are in a field definition only when the corridor adds a string rule.
  • For a field with type: enum, call the Fetch Enum Codes API with the enumType of the field. The response gives the allowed values. In your request, send the code.
  • Payout fields: payout.fields has the fields of the payout, for example purposeOfTransaction, purposeDescription and noteToRecipient. When the corridor asks for them, it also has relationship and sourceOfIncome.
  • Send each field of payout.fields at the top level of the request body of the Create Payout API. That request body has no payout object.
  • If you send a field that is not in payout.fields, the API ignores it. The create succeeds, and the API does not store the field.
  • Documents: payout.documents lists every supporting document type that a payout on this corridor accepts.
  • If an item has required: true, you must send that document in the payout. If an item has required: false, you can send that document. If payout.documents is an empty array, the payout takes no document.
  • Upload each document with the Upload Document API.

Field list

This table lists the fields that you send for beneficiaries, payment accounts, customers, payouts and documents. Use it to design your database. Also store the referenceNo from each create response and the full request body that you sent. Each Update API needs the full request body.

The requirements of each corridor tell you which fields apply and which are required. Customer fields apply only in a setup with customers.

How to read the When to send column:

  • Per requirements means: send the field when the requirements of the corridor list it.
  • A field of type enum with no enum type (—) is a fixed API value, for example beneficiaryType. The column gives its values. You do not call the Fetch Enum Codes API for it.
ResourceFieldTypeEnum typeWhen to send
BeneficiarypartnerReferenceNostring—Always
BeneficiarybeneficiaryTypeenum—Always: individual or business
BeneficiaryfullNamestring—For an individual
BeneficiarybusinessNamestring—For a business
Beneficiaryaddressobject—Per requirements
Beneficiaryaddress.countrystring—Per requirements
Beneficiaryaddress.line, address.city, address.countrySubdivision, address.postCodestring—Per requirements
BeneficiarydateOfBirthdate—Per requirements
BeneficiarymobileNumberstring—Per requirements
Payment accountbeneficiaryReferenceNostring—Always
Payment accountcountry, currencystring—Always
Payment accountpayoutRailstring—Always
Payment accountaccountDetails.accountHolderNamestring—Per requirements
Payment accountaccountDetails.accountNumberstring—Per requirements
Payment accountaccountDetails.bankCodestring—Per requirements
Payment accountaccountDetails.branchCode, accountDetails.swiftBic, accountDetails.iban, accountDetails.bankName, accountDetails.bankAddressstring—Per requirements
CustomerpartnerReferenceNostring—Always
CustomercustomerTypeenum—Always: individual or business
CustomerfullNamestring—For an individual
CustomerbusinessNamestring—For a business
CustomerregistrationDocument.typeenumregistration_document_typePer requirements
CustomerregistrationDocument.number, registrationDocument.issuingCountrystring—Per requirements
CustomerregistrationDocument.issueDatedate—Per requirements
CustomerregistrationNumberstring—For a business
CustomerincorporationCountrystring—For a business
CustomerincorporationDatedate—For a business
Customeraddressobject—Always
Customeraddress.line1, address.city, address.postalCodestring—Per requirements
Customeraddress.countrystring—Per requirements
CustomerdateOfBirthdate—Per requirements, for an individual
Customernationalitystring—Per requirements, for an individual
CustomermobileNumberstring—Per requirements
CustomersourceOfIncomeenumsource_of_incomePer requirements
CustomertypeOfBusinessenumtype_of_businessPer requirements
Customerassociates[].fullName, associates[].idNumberstring—For a business
Customerassociates[].titlesstring array—For a business
Customerassociates[].ownershipPctnumber—For a ubo associate
Customerassociates[].nationality, associates[].mobileNumber, associates[].designation, associates[].executiveEcrnstring—Per requirements
Customerassociates[].customerTypeenumcustomer_typePer requirements
Customerassociates[].dateOfBirthdate—Per requirements
PayoutpartnerReferenceNostring—Always
PayoutquoteReferenceNostring—Always
PayoutpaymentAccountReferenceNostring—Always
PayoutcustomerReferenceNostring—In a setup with customers
PayoutpurposeOfTransactionenumpurpose_of_transactionPer requirements
PayoutrelationshipenumrelationshipPer requirements
PayoutsourceOfIncomeenumsource_of_incomePer requirements
PayoutpurposeDescription, noteToRecipientstring—Per requirements
Payoutdocuments[]string—Per requirements: the document referenceNo
DocumentpartnerReferenceNostring—For each upload
DocumentdocumentTypeenumdocument_typeFor each upload
DocumentfileNamestring—For each upload
DocumentcontentTypeenum—For each upload: application/pdf, image/jpeg or image/png
Path Params
string
required

Destination country.

string
required

Destination currency. With country, it selects the corridor.

Query Params
string

A payoutRail from the corridor's supportedPayoutRails. Required when the corridor lists more than one. With one payout rail, the API selects it and returns it. Required: Conditional.

string
required

individual or business.

string

individual or business: the type of your customer, in a setup with customers. With beneficiaryType, it gives the use case. Without it, the response has no customer.

Headers
string
required

The request time, RFC 3339 with an offset.

string
required

HMAC-SHA512 of the string to sign, with your client secret as the key, in standard base64.

string
required

Your SNAP client key. It must match the token.

string
required

Required. Use a unique ID for each request. It is not an idempotency key: see Idempotency.

string
required

Required. Any non-empty value is accepted, for example 95221.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json