/v1/chargesCriar cobrança
Cria uma cobrança PIX e retorna 201 com o objeto cobrança. Aceita Idempotency-Key. Valores entre R$ 1,00 e R$ 100.000,00.
Corpo da requisição
amountintegerobrigatóriocustomerobjectobrigatórioname (3–120 caracteres), email, phone (DDD + número) e document (CPF ou CNPJ válido).descriptionstringopcionalexternalReferencestringopcionalmetadataobjectopcionalsettlement"brl" | "usdt"opcionalbrl. Com usdt, o valor líquido é convertido e enviado on-chain para a carteira cadastrada em Configurações › Liquidação.Cabeçalhos
Idempotency-Keystringopcionalcurl -X POST https://api.orbpag.com/v1/charges \
-H "Authorization: Bearer sk_live_SUA_CHAVE_SECRETA" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: pedido-1042" \
-d '{
"amount": 15990,
"description": "Pedido #1042",
"externalReference": "pedido-1042",
"customer": {
"name": "Maria Oliveira",
"email": "maria@exemplo.com.br",
"phone": "11987654321",
"document": "12345678909"
},
"metadata": { "orderId": "1042" },
"settlement": "brl"
}'{
"id": "pay_1k3ncn44q7xm2d9fr4t8wz6hya",
"object": "charge",
"status": "pending",
"amount": 15990,
"fee": 368,
"netAmount": 15622,
"currency": "BRL",
"method": "pix",
"description": "Pedido #1042",
"externalReference": "pedido-1042",
"metadata": {
"orderId": "1042"
},
"productId": null,
"offerId": null,
"customer": {
"id": "cus_1k3nbp20e5vq8k3m7c1xd9gt2b",
"name": "Maria Oliveira",
"email": "maria@exemplo.com.br",
"phone": "+5511987654321",
"document": "12345678909"
},
"pix": {
"copyPaste": "00020101021226870014br.gov.bcb.pix2565qrcode.exemplo.com.br/pix/v2/cobv/9d36b84f…6304A1B2",
"qrCodeImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA…"
},
"checkoutUrl": "https://orbpag.com/pay/pay_1k3ncn44q7xm2d9fr4t8wz6hya",
"paymentLinkId": null,
"source": "api",
"refund": {
"status": "none",
"requestedAt": null,
"refundedAt": null,
"failureReason": null
},
"settlement": {
"usdt": false,
"withdrawalId": null
},
"expiresAt": "2026-09-29T15:02:10.000Z",
"paidAt": null,
"createdAt": "2026-09-29T14:32:10.000Z",
"updatedAt": "2026-09-29T14:32:10.000Z"
}