Find a pending pix or boleto the buyer can resume
POST /v1/reusable-payment/search
Find a pending pix or boleto the buyer can resume
POST/v1/reusable-payment/search
Autenticação
- Chave públicapk_…, pode ir para o navegador
- Chave secretask_…, só no seu servidor
Envie a chave no cabeçalho Authorization: Bearer <chave>.
Corpo da requisição
documentstringobrigatóriooffer_idstring (uuid)obrigatóriomethodstringobrigatórioValores:
pixboleto
Resposta
200OK
objectstringobrigatórioValores:
chargestatusstringobrigatórioValores:
processingpendingpaidrefund_pendingrefundedchargedbackdeclinedamountintegerpode ser nullobrigatórioInteger cents.
payment_methodstringobrigatórioValores:
cardpixboletoacquirerstringpode ser nullobrigatóriopaymentobjectobrigatórioPix: `qr_code`, `expiration_at`. Boleto: `boleto_url`, `boleto_barcode`, `expiration_date`. Card: empty.
Mostrar campos de
paymentqr_codestringexpiration_atstringboleto_urlstringboleto_barcodestringexpiration_datestring
created_atstringpode ser nullobrigatóriocustomerobjectobrigatórioMostrar campos de
customeremail_maskedstringpode ser nullobrigatório
204Nothing to resume.
Erros
| 401 | Missing or invalid key. |
| 422 | The body is invalid (`invalid_param`). |
| 429 | Rate limited. |
| 500 | Unexpected error, or `api_unavailable`. |
Todo erro vem no mesmo envelope: error.type, error.code, error.message e error.request_id, também devolvido no cabeçalho X-Request-Id.