Theme switcher

Criar PIX

Header Parameters

Authorizationstring Required

Colocar no formato Bearer TOKEN

Acceptstring Required

application/json

Content-Typestring Required

application/json

Body Parameters

valuenumber Required

Adicione o valor em centavos. O mínimo deve ser 50 centavos

webhook_urlstring

Caso tenha um servidor para receber as informações de pagamento ou estorno informe aqui sua URL

split_rulesarray

Utilizado para realizar SPLIT para várias contas já cadastradas na PUSHINPAY { "value": 50, "account_id": "9C3XXXXX3A043" }

Response

200
Object

{ "id": "9e6e0...", "qr_code": "000201...", "status": "created" | "paid" | "canceled", "value": 50, "webhook_url": "https://seu-site.com", "qr_code_base64": "data:image/png;base64,iVBOR...", "webhook": {}, "split_rules": [], "end_to_end_id": {}, "payer_name": {}, "payer_national_registration": {} }

400
Object

Bad Request -- Composição do request inválido

401
Object

Unauthorized -- Chave TOKEN inválida

403
Object

Forbidden -- Apenas administradores

404
Object

Not Found -- Pedido não existe

405
Object

Method Not Allowed -- Método não permitido

406
Object

Not Acceptable -- Formato JSON inválido

410
Object

Gone -- Essa requisição não existe mais

418
Object

I'm a teapot.

422
Object

{ "message": "O campo value deve ser no mínimo 50.", "errors": { "value": [ "O campo value deve ser no mínimo 50." ] } }

429
Object

Too Many Requests -- Muitas requisições em um curto espaço de tempo

500
Object

Internal Server Error -- Favor tente mais tarde

503
Object

Service Unavailable -- Estamos temporariamente inativos, favor aguardar.

Was this section helpful?

Base URL

Production:

Sandbox:

Language Box

POST

/

Select
1

Response

Was this section helpful?