Português (BR)
cURL
curl --request POST \ --url https://api-gateway.firebanking.dev/credit-card/v1/payment/{paymentId}/capture \ --header 'x-api-key: <api-key>'
{ "id": "<string>", "status": "<string>", "amount": 123, "installments": 123, "externalId": "<string>", "createdAt": "2023-11-07T05:31:56Z" }
Capturar um pagamento pré-autorizado
capture: false
curl -X POST "https://api-gateway.firebanking.com.br/credit-card/v1/payment/payment-123/capture" \ -H "x-api-key: SUA_CHAVE_DE_API"
{ "id": "payment-123", "status": "completed", "amount": 10000, "installments": 1, "externalId": "ext-payment-12345", "captured": true, "capturedAt": "2024-01-15T10:31:00Z", "createdAt": "2024-01-15T10:30:00Z" }
authorized
Chave de API para autenticação
ID do pagamento a capturar
Pagamento capturado com sucesso
ID do pagamento
Status do pagamento
Valor do pagamento em reais
Número de parcelas
ID de referência externa
Timestamp de criação