Home
POST/v2/payment/bank/preview

Preview - Send Bank Payment

Validates the same request body as Send Bank Payment without executing the transfer. Returns fees and a transaction preview, or validation errors.

Headers

FieldTypeRequiredPossible valuesDescription
AuthorizationstringRequiredBearer {SessionToken}Session token from Get Session Token, sent as `Authorization: Bearer {SessionToken}`. Replace with the value from the `x-refresh-token` response header when present (typically within 2 minutes of expiry). Secured calls must use the same IP as the auth request.

Request body

FieldTypeRequiredPossible valuesDescription
BeneficiaryPaymentInstrumentIDstringRequired{paymentInstrumentID}Payment instrument ID linked to the beneficiary (from List or Create Payment Instrument).
PurposestringRequiredAsset_Purchase | Contract_Payment | Other | Education_Payment | Payroll | dividends | Mortgage_Payments | Materials_Purchase | Loan_Payments | Professional_Service_Payments | Invoice_Payment | Investment_Purchase | Savings | Rent_Utility_Payments | reimbursements | Tax_Payments | Personal_Family_Payment | settlement_trade | treasury_movement | gift_donation | remittanceRegulatory purpose code for the payment. Must be one of the allowed values.
CurrencystringRequiredUSD | BTC | ETH | USDC | USDT | BNB | MATIC | DOGE | ADA | DOTTransaction currency (e.g. USD, BTC, ETH, USDC, USDT, BNB, MATIC, DOGE, ADA, DOT).
AmountstringRequired1.00 | 2.00 | 3.00 | 4.00 | 5.00 | ... NPayment amount in the specified currency, as a decimal string (e.g. `1.00`).
CryptoBuySellActivitystringRequiredYes | NoWhether the transaction involves buying or selling cryptocurrency: `Yes` or `No`.
SupportingDocumentstringRequired{fileID}File ID from Upload File (`customField`: Payment_Invoice) for invoice or supporting documentation.
DocumentReferenceNumberstringRequired13214654987Reference number for the supporting document (e.g. passport or driver license number).
Intermediary_ABAstringRequired026001591Intermediary bank ABA routing number, when required for the payment route.
DescriptionstringRequiredTest API PaymentShort memo or narrative for the transaction (shown in history and details).
Additional_InfoobjectOptionalOptional extra payment metadata. When used, send inside the Fields array as field name `Additional_info` with an object value.

Example request

{
  "BeneficiaryPaymentInstrumentID": "{paymentInstrumentID}",
  "Purpose": "Loan_Payments",
  "Currency": "USD",
  "Amount": "300",
  "CryptoBuySellActivity": "No",
  "SupportingDocument": "{fileID}",
  "DocumentReferenceNumber": "1123123",
  "Intermediary_ABA": "026001591",
  "Description": "lorem ipsum dummy text"
}

Response

FieldTypePossible valuesDescription
ResponseCodeinteger200 | 201 | 204 | 400 | 401 | 403 | 404 | 410 | 422 | 500 | 301 | 503 | 422API result code in the response envelope. Indicates success or the error category (e.g. 200 success, 400 bad request, 401 unauthorized).
ResponseMessagestringSuccess | Created | NoContent | BadRequest | Unauthorized | Forbidden | NotFound | Gone | UnprocessableContent | ServerError | ResourceMoved | ServiceUnAvailable | UnProcessableEntityHuman-readable label paired with ResponseCode (e.g. Success, BadRequest, Unauthorized). Use with ResponseCode to interpret the outcome.
ResponseDataobjectPlease refer to below example for response bodyTransaction preview including amount, currency, fees, from/to, and total.

Example response

{
  "ResponseCode": 200,
  "ResponseMessage": "Success",
  "ResponseData": {
    "Amount": "1.00",
    "Currency": "USD",
    "Description": "Test API Payment",
    "Fee": "75.00",
    "From": "Rishav_Business - Rishav",
    "To": "Earnest-TRF",
    "Total": "76.00"
  }
  …

Requires `Authorization: Bearer {SessionToken}` from Get Session Token. Refresh via `x-refresh-token` when supplied; use the same client IP as authentication.

Search guide books, endpoints, paths, or parameters

↑↓navigateopenEscclose