QR
Mostrá el QR del comercio con o sin monto.
Generar qr estático sin monto
GET /api/paymentQr
Headers
Key
Value
Content-Type
application/json
apikey
su_api_key
X-TRACE-ID
uuidv4()
X-VERSION
1
Request Body
{}Generar qr dinámico con monto
POST /api/paymentQr
Request Body
Name
Type
Description
number
monto del qr
Response
// response.successUrl será su link de pago
{
"success": "ok",
"data": {
"id": "number",
"imgUrl": "string",
"qrString": "string",
"subscriptionUrl": "string",
"hash": "string"
},
"whatsappUrl": "string",
"facebookUrl": "string"
}// Si no se envía 'amount'
{
"statusText": "Bad Request",
"jsonSchemaValidation": true,
"validations": {
"body": [
{
"keyword": "string",
"dataPath": "string",
"schemaPath": "string",
"params": {
"missingProperty": "string"
},
"message": "string"
}
]
}
}Aquí algunos ejemplos de peticiones:
Última actualización