Skip to content

Apply to pay

  • Endpoint: POST /v2/delSuffixStart10
  • Tags: Disbursement

Description

This interface is an API payment interface. Please pay attention to the following matters when returning parameters of this interface, otherwise there may be a risk of capital loss:

  1. When "bizCode": "0000" and tradeNo is returned, it means the order is successfully placed. Please refer to the callback or query interface status for the order status;
  2. When "bizCode": "4000" and "message": "Duplicate orderId/orderId already exist", it means that the orderId has already placed an order. Please wait for the callback or query interface to confirm the order status. Make sure that the orderId is unique each time you place an order;
  3. In other scenarios, please check the parameters and reinitiate without changing the orderId;

Note that the request address does not contain the interface description in brackets

Parameters

FieldInTypeRequiredConstraintsDescription
signheaderstringYes

Parameter Examples

  • sign: "FPFVT3o227JrFRbqu19boZCpVVTF9KznxyRawUmxpfXilHV/0yK46haPhAjNu1hPUMy7Vw/ILXhfzffNm4Fj0apWknlTY9OJxnSoQxS9BTFtc61tn5yV1q69x/kkBl82/qwg+XTJ4fOzy7Mar3VaC1E2PlDA6RkkKBUyNE6RYgsdB+Su7an4+4HVTNAnoe74WyvBgxTLMNg28igBTdqxaO3w/UBY6ObVp7vkqkQGdL1Y+HgmMYaAVwrM3+ALWGId0sJ+YqTY4WJ+0xCRGhaSnybiIjZsQEYyID68WNUfuavDLDsEhaMm/HfQvf5p0R1Ltovp3wwJnEbQcjY458iX5A=="

Request Body

Content-Type: application/json

FieldTypeRequiredConstraintsDescriptionEnum
versionstringYesmaxLength: 5API version.
bizTypestringYesmaxLength: 32Business code, “singlePayment” needs to be entered here for this API.
merchantIdstringYesmaxLength: 32Merchant ID assigned by PayerMax.
orderIdstringYesmaxLength: 63Merchant order id, only allows a-z, A-Z, 0-9, . Need be unique for each disbursement request.
userIdstringNomaxLength: 64, minLength: 0The user ID by the merchant, needs to ensure the uniqueness of each user.
riskParamsstringNoRisk control business data.
bizModelstringNomaxLength: 30It corresponds to the business type of the contracted payment service,Only required if the trading country is India, local payment: LOCAL, cross-border payment: CB.
countryCodestringYesmaxLength: 32Country code of the payee, capital letters,refer to【Supported countries and currencies】.
chargeOptionstringNoWhether charge bearer mode of fees is required, please refer: 【Disbursement Application Template and Filling Specifications
clearingRailstringNoEnumerated values: SWIFT, SEPA, LOCAL, corresponding to the contracted payment methods SWIFT, SEPA, and Local Banks, respectively. Please provide the value based on the actual payment method being used, please refer: 【Disbursement Application Template and Filling Specifications
currencystringYesmaxLength: 3Payment amount corresponds to currency code, capital letters, refer to【Supported countries and currencies
paymentMethodTypestringNomaxLength: 32Payment methods, refer to【Payment Method Types and Target Org
targetOrgstringNoTarget organization, refer to【Payment Method Types and Target Org】.
payeeTypestringNomaxLength: 16Payee type (PERSONAL/CORPORATION), default PERSONAL
amountnumberYesmax: 9999999999, min: 0Payment amount, supports up to 2 digits after the decimal point.Note: Indonesia, Vietnam, South Korea, and Chile do not support decimal amounts in local currencies
payeeAccountstringYesmaxLength: 64Payee account, Fill in the corresponding account number according to the payment method.
payeeAccountTypestringNomaxLength: 5Receiving account type
payeeNamestringNomaxLength: 100Payee’s name, fill in different specifications in different countries-payment methods.
payeePhonestringNomaxLength: 32The payee’s mobile phone number is different in different countries-payment methods.
payeeDocumentTypestringNomaxLength: 5The type of the payee’s personal identity certificate, the optional types are different in different countries, refer to 【Disbursement Application Template and Filling Specifications
payeeDocumentIdstringNomaxLength: 50Payee’s personal identification number. The Option type varies in different countries, refer to 【Disbursement Application Template and Filling Specifications
payeeDocumentDatestringNomaxLength: 10The birth date of the payee,with format of ‘yyyy-MM-dd’
payeeBirthDatestringNomaxLength: 10The date corresponding to personal identification number of the payee is different in different countries, with format of ‘yyyy-MM-dd’
payeeNationalitystringNomaxLength: 2payee Nationality, CN, US etc country code
payeeGenderstringNomaxLength: 1payee Gender, F or M, (F=Female,M=Male)
payeeBirthCountrystringNomaxLength: 2payee BirthCountry, CN, US etc country code
payeeBankCodestringNomaxLength: 32It is used to identify the bank code of the payee under a specific financial institution, and the filling specifications are different in different countries, refer to 【Disbursement Application Template and Filling Instructions】以及【List of supported bank ranges】.
payeeBankNamestringNomaxLength: 100Name of Beneficiary Bank
payeeBankBranchstringNomaxLength: 6Branch of Beneficiary Bank
checkDigitstringNomaxLength: 4Recipient account verification number
payeeCorAccountstringNomaxLength: 64Correspondence account of the payee’s bank
payeeBankCitystringNomaxLength: 64The city where the bank is located.
notifyAddressstringNomaxLength: 128The email address of the payee to receive the notification. If it is empty, no notification will be sent by default, and the merchant should notify it by itself
emailstringNomaxLength: 64Payee’s email
citystringNomaxLength: 64The city where payee is located
payeePostCodestringNomaxLength: 64The post code of the city where payee is located
addressstringNomaxLength: 100Address of payee, English, number, middle dash, space and dot are allowed. Due to channel constraints, this field may be subject to special processing, such as super long truncation or filling in default value.
transactionNotestringNomaxLength: 100Transaction note, only accepts a-z, A-Z, 0-9, .
expiryDaysstringNomaxLength: 3The number of days when the redeem code is valid. Currently only valid in fawrycash in Egypt, Supports inputting integers from 1 to 15 (1=24Hours), other values or not passing will default to 7
passBackParamsstringNomaxLength: 256A pass-through parameter, which will be returned the same in the notification callback API. This field is primarily to hold customized data from merchant.
sourceAccountstringNomaxLength: 3Currency to be deducted
destinationCurrencystringNomaxLength: 3Specify the receiving currency
statestringNomaxLength: 8state
purposestringNomaxLength: 32Disbursement purpose,enumeration value, ISUBIL:Pay to utilities (i.e. water, electricity, gas bills); EPTOUR:Tourism; EPTKAG:Pay for travel tickets or travel agency fees; ISPAYR:Pay Salary; ISPAYRA:Pay Agent Salary; ISGDDS:Goods Trade; ISSCVE:Purchase and Sale of Services; ISSUPP:Supplier Payment; ISLOGS:Logistics and Transportation Service Payment; INCEN:Incentive/Promotion/User Acquisition Activity; GAME:Gaming Equipment, Game Coins, and Other Game Items; SAMENM:Same Name Business Account Transfer; PAYCMSN:Reimbursement/Benefit Distribution/Commission Distribution; SAMENMC:Legal Person/Shareholder/Director Personal Account; AGOPEXP:Agency operating expenses; ADEXP:Advertising expenses;RFND:Refund;SMCNTST:Sub merchant settlement;LGTEP:Logistics expenses;GOODPAY:Goods payment;SINVEST:Investment in shares;FINVEST:Fund investment;TAXPAY:Tax payment;LOANPAY:Payment of loans; OTHER:Other;
businessLegalNamestringNomaxLength: 70Payment company registered name.
registrationCountrystringNoThe country where the payment company is registered, a 2-digit uppercase country code.
merchantCategoryCodestringNoPayment company industry classification, enumeration value, DIGITAL_GOODS_MEDIA: digital entertainment products-media; DIGITAL_GOODS_APPLICATION: digital products-application software; TRAVEL_AGENCIES_AND_TRAVEL_RELATED_SERVICES: travel agencies; COURIER_SERVICES_AIR_AND_GROUND_AND_FREIGHT_FORWARDERS: express services-air, land and freight forwarders; ADVERTISING_SERVICES: advertising business; TELECOMMUNICATION_SERVICE: telecommunications services; COMPUTER_NETWORKS_AND_INFORMATION_SERVICES: computer network/information services; MISCELLANEOUS_GENERAL_MERCHANDISE: e-commerce-miscellaneous department stores.
payerIdstringNomaxLength: 70Payment company's institution/platform merchant number.
callbackUrlstringNomaxLength: 256Back-end callback URL for trade result.

Example

json
{
  "amount": 12,
  "bizType": "singlePayment",
  "orderId": "WD16764533552zzz3111",
  "userId": "abc123456789",
  "riskParams": "{\"registerName\":\"lily\",\"regTime\":\"2023-07-01 12:08:34\",\"liveCountry\":\"VN\",\"payerAccount\":\"987654XXX\",\"payerName\":\"lily\",\"taxId\":\"1234567890\"}",
  "version": "2.0",
  "paymentMethodType": "WALLET",
  "targetOrg": "DANA",
  "merchantId": "SP12345678",
  "countryCode": "ID",
  "currency": "IDR",
  "payeeAccount": "081212345678",
  "payeeBankCity": "CN",
  "payeeAccountType": "C",
  "payeeBirthDate": "2000-03-29",
  "checkDigit": "1",
  "destinationCurrency": "IDR",
  "sourceAccount": "IDR",
  "address": "ShangHai, China",
  "passBackParams": "velit ad et ullamco",
  "email": "example@gmail.com",
  "payeeCorAccount": "1234567",
  "payeeType": "PERSONAL",
  "payeeBankBranch": "ABC",
  "purpose": "GAME",
  "payeeName": "payee's name",
  "payeePhone": "08123456789",
  "callbackUrl": "http://example.com/callback/",
  "notifyAddress": "example@gmail.com",
  "payeeBankName": "ICBC",
  "payeeDocumentType": "S",
  "transactionNote": "deserunt anim dolore dolor in",
  "bizModel": "CB",
  "expiryDays": "7",
  "payeePostCode": "0987",
  "payeeDocumentId": "58786868",
  "payeeDocumentDate": "2005-11-30",
  "payeeNationality": "ID",
  "payeeGender": "M",
  "payeeBirthCountry": "ID",
  "payeeBankCode": "NBCD",
  "state": "",
  "city": "ShangHai"
}

Responses

200

FieldTypeRequiredConstraintsDescriptionEnum
dataobjectYesResponse data.
data.tradeNostringYesPayerMax platform order number.
data.orderIdstringYesMerchant order ID.
bizCodestringYesResponse code, which indicates only whether the request is accepted. For disbursement result, please check the field “status” from callback or query API.
messagestringYesResponse message.

Response Example: 1

成功示例

json
{
  "data": {
    "tradeNo": "20230428081551DO4429724600475529002",
    "orderId": "12re32wdds2342343454354r3123"
  },
  "bizCode": "0000",
  "message": "success"
}

Response Example: 2

异常示例

json
{
  "msg": "System is busy, please try again later.",
  "code": "SYSTEM_ERROR"
}

Was this page helpful?

Thank you for your help in improving PayerMax Product Docs!

Released under the MIT License.