This API allows you to add a new payment method for a merchant.
Endpoint Information
Request Header: X-BH-TOKEN: ******
Request Header: Content-Type: application/json
Request Method: POST
Request Path: /v2/payments
Authorization Required: Yes
Request Body Parameters
The request body should include the following fields:
{
"merchantId": 0, // (number: id of the merchant id)
"paymentId": 0, // (number: payment ID)
"country": "", // (string: name of the country)
"fiat": "", // (string: name of the fiat currency)
"realName": "", // (string: real name of the account holder)
"fieldJson": { // (object: field JSON of the payment template)
[string]: [string] // (key-value pairs as per the payment template)
},
"remark": "" // (string: remark about the payment method)
}