Creating Beneficiary
This guide provides detailed information about managing beneficiary, including how to retrieve payment method templates and add new beneficiary.
I. Get Payment Method Templates
Endpoint Information
Request Method:
GETRequest Header:
X-BH-TOKEN: ******Request Path:
/v2/payments/templatesAuthorization Required: Yes
Request Parameters
Query Parameters
paymentId
number
Yes
ID of the payment method
Response Structure
The response will contain the following fields:
{
"code": 0,
"msg": "",
"data": {
[string]: [string]
}
}Example Responses
Payment Type 1: Bank Information
Mexico Bank
Argentina Bank
Payment Type 2: SEPA Transfers
SEPA
WIRE / ACH Transfers
Payment Type 3: SWIFT / CHATS
II. Add Beneficiary
Endpoint Information
Request Method:
POSTRequest Path:
/v2/paymentsRequest Header:
X-BH-TOKEN: ******Authorization Required: Yes
Request Parameters
Request Body
The request body should include the following parameters:
merchantId
number
Yes
ID of the merchant id
paymentId
number
Yes
ID of the payment method
country
string
Yes
Name of the country
fiat
string
Yes
Name of the fiat currency
realName
string
No
Real name of the account holder
fieldJson
object
Yes
Field JSON of the payment template, format { [string]: [string] }
remark
string
No
Additional remarks for the beneficiary
Request Example
Response Structure
The response will contain the following fields:
Notes
Ensure to provide valid parameters for successful creation of beneficiary.
The
merchantIdandpaymentIdmust correspond to existing configurations in the system.Pay attention to the status and failure reason in the response for troubleshooting.
Last updated

