Criando um QRCode
This endpoint creates a new qrcode with the provided data.
Authorizations
Header parameters
User-AgentanyOptional
Client Identifier
Body
amountnumberRequired
customer_codestringOptional
descriptionstringRequired
expirationinteger · min: 60Required
notification_urlstringOptional
Responses
201
Created
application/json
Responsestring
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
POST /v1/pix HTTP/1.1
Host: sandbox-api.pagou.com.br
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 182
{
"amount": 1,
"customer_code": "text",
"description": "text",
"expiration": 1,
"metadata": [
{
"key": "text",
"value": "text"
}
],
"notification_url": "text",
"payer": {
"document": "text",
"name": "text"
}
}
text
This endpoint creates a new qrcode due with the provided data.
Authorizations
Header parameters
User-AgentanyOptional
Client Identifier
Body
amountnumberRequired
descriptionstringRequired
due_datestringRequired
expirationinteger · min: 1Required
notification_urlstringOptional
Responses
201
Created
application/json
Responsestring
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
POST /v1/pix/due HTTP/1.1
Host: sandbox-api.pagou.com.br
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 310
{
"amount": 1,
"description": "text",
"discount": {
"amount": 1,
"limit_date": "text",
"type": "fixed"
},
"due_date": "text",
"expiration": 1,
"fine": {
"amount": 1,
"type": "fixed"
},
"interest": {
"amount": 1,
"type": "fixed"
},
"metadata": [
{
"key": "text",
"value": "text"
}
],
"notification_url": "text",
"payer": {
"document": "text",
"name": "text"
}
}
text
Last updated