88mids

Payment API

Default Payment Request Table

Field NameData DescriptionTypeMinMaxExampleRequired
amountFloat data type. Accepted as a number or a numeric string, e.g. 500 or "500".NU1–50000.00yes
callbackUrlUrl where payment callback will be sentURL––https://example.com/callbackyes
countryISO 3166-1-alpha-2CH22PKyes
currencyAlphabetic currency code, e.g. INRCH33PKRyes
emailValid email formatAN6120name@email.comyes
ipCustomer’s IPIP––192.0.2.1yes
methodMethods supported, see the samples below.CH––WALLETSyes
orderIdMerchant Order IDAN150abc123456yes
returnUrlUrl to redirect after paymentURL––https://example.com/returnyes
trafficTraffic type.
Options: FTD, TRUSTED
CH37TRUSTEDyes

Generic Payment Request Body & Response Samples

{
  "amount": "5000",
  "country": "AR",
  "currency": "ARS",
  "email": "email@test.com",
  "ip": "192.0.2.1",
  "method": "BANK_TRANSFER",
  "orderId": "abc123456",
  "traffic": "TRUSTED",
  "callbackUrl": "https://example.com/callback",
  "returnUrl": "https://example.com/return",
  "map": {
    "dni": "65476574"
  }
}

Generic Payment Response Sample

{
  "paymentUrl": "https://example.com/payment",
  "status": "PENDING",
  "message": "Transaction is being processed",
  "id": "912z-1zs4-acvb-1bre3",
  "orderId": "abc123456"
}
Additional Payment Data Fields:

The payment request “map” field contains possible additional parameters, which are provider dependent. If the parameters are missing, the required values will be asked (via web form) from the customer. The exception is accountNumber: for the methods that require it, a request without it is rejected.

Field NameData DescriptionTypeMinMaxExampleRequired
accountNumberCustomer’s account identifier: a bank account number, an email or similar, depending on country and method (AUD / PAY_ID takes either). Required for AUD / PAY_ID, KRW / BANK_TRANSFER, KRW / VIRTUAL_ACCOUNT and THB / QR_CODE; for these methods a request without it is rejected.CH1–35465345543453 or customer@example.comyes
addressCustomer addressCH1–Testshington Streetno
bankCodeCustomer bank codeCH1–DBSyes
cityCustomer cityCH1–Cityno
dniCustomer’s national identity number (DNI)CH1–65476574yes
dobCustomer’s Date of BirthAN10101990-12-21no
lastNameCustomer last nameCH1–Doeyes
midIdFor technical flexibility purposesNU1–123no
mobileNumberCustomer mobile numberCH1–5467756764yes
nameCustomer first nameCH1–Johnyes
pinMerchant’s own customer identifier, e.g. a user IDCH1–user_1no
pixAccountCustomer’s PIX keyCH1–12345678900yes
postalCodeCustomer postal codeCH1–435645no
stateCustomer stateCH1–STno
tinTax Identification NumberNU91112345678910no

Payment API Response Fields

DescriptionFormatExplanation
idStringSystem Transaction ID
messageStringPayment response message
paymentUrlStringThe payment URL you need to serve to customer
statusStringTransaction status
orderIdStringMerchant Order ID

On this page