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

totalAmount

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"
}

Aquí algunos ejemplos de peticiones:

curl --location 'http://api-gwt.sipago.online/services/api/paymentButtonsToken' \
--header 'apikey: su_api_key' \
--header 'X-TRACE-ID: uuidv4()' \
--header 'X-VERSION: 1' \
--header 'Content-Type: application/json' \
--data '{"amount": 100, "description": "coca-cola"}'

Última actualización