API Documentation
NeoX documents
NeoX documents
  • Introduction
  • NeoX App
    • E-Wallet
    • eKYC
    • Functionality
  • Payment Gateway
    • Payment Methods
    • Integrations
      • Hosted Checkout
        • Plugin/Extenstion
        • iOS SDK
        • Android SDK
        • React Native SDK
        • Web SDK
        • APIs
      • Direct API
        • Tokenization
      • Refund
        • APIs
        • IPN
    • Transaction Management
      • Query DR
      • Cancel
      • IPN
      • Error Codes
      • Refund on portal
    • Reconciliation
    • Settlement
  • Disbursement
    • Integration
      • Introduction
      • How To Register
      • Security Method
      • Generate token API
      • Get merchant profile API
      • Request disbursement API
      • Get disbursement transaction API
      • Get exchange rate API
      • Inquiry bank account API
      • Currency conversion API
      • Event Notification
      • Response Data Structure
      • Error codes
    • Disbursement Account
    • Disbursement request
    • Transaction Management
      • Query Request/Transaction
      • Webhook
      • Error Codes
    • Reconciliation
  • Collections
    • Integration
      • Introduction
      • How To Register
      • Security Method
      • API authenPlatform
      • API upload file
      • APIs for virtual accounts management
        • API create list of virtual accounts
        • API update KYC virtual account information
        • API update Virtual Account transaction data from merchant
        • API set active/inactive Virtual Account
        • API get list virtual accounts
        • API get detail virtual account
      • APIs for transactions management
        • API update transaction documents
        • API get list transactions
        • API get detail transaction
      • APIs for refund requests management
        • API create refund request
        • API get list refund requests
        • API get detail refund request
      • APIs for withdraw requests management
        • API get list withdraw banks
        • API create withdraw request
        • API get list withdraw requests
        • API get detail withdraw request
      • Event Notification
      • SFTP upload document file of collection transaction
      • Error Codes
    • Virtual Account Management
      • Virtual Account
      • Virtual Account Status
      • Webhook
    • Transaction Management
      • Webhook
    • Transaction Status Management
      • Webhook
    • Refund Request Management
      • Webhook
    • Withdraw Request Management
      • Webhook
    • Reconciliation
    • Settlement
  • Merchant Portal
    • Onboarding
    • Payment Gateway
      • Reconciliation
      • Withdraw
    • Disbursement
      • Reports
    • Collections
      • Reports
      • Withdraw
Powered by GitBook
On this page
  • Usage
  • API
  • Request
  • Response

Was this helpful?

  1. Disbursement
  2. Integration

Currency conversion API

PreviousInquiry bank account APINextEvent Notification

Last updated 1 year ago

Was this helpful?

Usage

  • This is the API to convert a currency to VND.

  • Sequence Diagram

  • Step 2: Merchant call Exchange API. If returned status is PASSED, NeoX will process

API

  • Path: /v2/dib/exchange/{srcCurrency}-(dstCurrency}

  • Method: POST

  • Request: Content-Type: application/json

  • Url Params:

    srcCurrency: Currency code supported by NeoX.

    dstCurrency: Only support VND in this version.

Ex: /v2/dib/exchange/USD-VND

Request

Parameter
Data Type
Require
Description

requestId

String

UUID is generated by merchant. (Unique)

Exp:“90e7340b-5cbe-4ce7-886f-55181040af4f”

amount

Number

The amount

currency

String

The currency of the amount (srcCurrency or dstCurrency) is used for calculating the origin amount and target amount

description

String (256)

Description

Response

Field name
Data Type
Description

code

Number

System’s error code

message

String

Error description

data

Object

Exchange response data below.

Exchange response data:

Field name
Data Type
Description

requestId

String

requestId in the exchange request.

status

String

code

Number

Logic's error code

Step 1: Merchant calls to get list of exchange rates.

the request and notify the result via .

PASSED: Request successfully. Wait for result notification through . FAILED: Submit request failed.

GetExchangeRate API
Conversion flow
webhook
webhook