Response samples
- 200
- 400
Content type
application/json
{- "pageInfo": {
- "skip": 0,
- "limit": 10,
- "totalCount": 20,
- "hasPreviousPage": false,
- "hasNextPage": true
}, - "qrCodes": {
- "name": "QR Code 1",
- "value": 0,
- "createdAt": "2023-01-02T17:28:51.882Z",
- "updatedAt": "2023-01-02T17:28:51.882Z"
}
}
Create a new QR Code
Endpoint to create a new QR Code
Request Body schema: application/json
Data to create a new QR Code
name required | string Your QR Code name |
value required | number Value of QR Code in cents. If zero it will accept any value in the moment of capturing a new payment. If set some value, for example 10, it will accept only 0,10 as payment. |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "QR Code 1",
- "value": 0
}
Response samples
- 200
- 400
Content type
application/json
{- "charge": {
- "name": "QR Code 1",
- "value": 0,
- "createdAt": "2021-03-02T17:28:51.882Z",
- "updatedAt": "2021-03-02T17:28:51.882Z"
}
}