Skip to content

Create Payment

Request URL

methodurl
POST/api/pay/payment/create/v1

Header Information

Header ParameterDescription
timestampRequest timestamp
nonceRandom value
countryCountry code (PE)
app_codeApplication ID

Supported Payment Methods (paymentType)

Payment Method NamePaymentTypeNote
CHECKOUT(all in one)101
CASH(efectivo)102
BCP105
INTERBANK106
BBVA107
SCOTIABANK108
WALLET(including YAPE、PLIN)109

image-20240528105940814

additionalInfo Field Description:

Field NameTypeLengthRequiredDescription
paymentLinkString32YesPayment link

Request Parameters

FieldTypeRequiredLengthDescription
merchantOrderNoStringyes32Merchant order number
paymentTypeIntyesPayment method: 101 - checkout (payment link cashier)
amountStringyes20Collection amount (in Soles)
expirationTimeLongnoExpiration time, in milliseconds timestamp, e.g., 1735660800000
realNameStringyes64Customer’s full name
emailStringyes50Customer email address (must match regex format)
phoneStringyes9Phone number (9 digits, without country code)
signStringyesSignature
callbackUrlStringno200Callback URL
Request Example
{
"merchantOrderNo": "OrderNoExample",
"paymentType": 101,
"amount": "10.00",
"realName": "TeemoPay",
"email": "TeemoPay@example.com",
"phone": "900000000",
"callbackUrl": "https://www.callbackexample.com",
"sign": "YOUR_SIGN"
}

Response Parameters

FieldTypeRequiredLengthDescription
merchantOrderNoStringyes32Merchant order number
tradeNoStringyes32Platform order number
amountStringyes32Transaction amount
paymentTypeIntyes3Payment type
paymentInfoStringyes32Main payment information, e.g., payment link or code
additionalInfoJSONObjectnoExtended information
statusIntyesPayment status: 1 = Success, 3 = Failure
errorMsgStringnoError message (returned only in case of failure)
Response Example
{
"msg": "success",
"traceId": "747bbf80261844ed85b809212aab0d81.85.17422898158610299",
"code": 200,
"data": {
"amount": "10.00",
"tradeNo": "TS2501010001PE0000000000000000",
"merchantOrderNo": "OrderNoExample",
"paymentType": 101,
"additionalInfo": {
"thirdOrderNum": "12345678901"
},
"paymentInfo": "https://www.paymentLinkExample.com",
"status": 1
}
}