Português (BR)
cURL
curl --request GET \ --url https://api-gateway.firebanking.dev/credit-card/v1/payment/{paymentId} \ --header 'x-api-key: <api-key>'
{ "id": "<string>", "status": "<string>", "amount": 123, "installments": 123, "externalId": "<string>", "createdAt": "2023-11-07T05:31:56Z" }
Recuperar um pagamento específico pelo seu ID
curl -X GET "https://api-gateway.firebanking.com.br/credit-card/v1/payment/payment-123" \ -H "x-api-key: SUA_CHAVE_DE_API"
{ "id": "payment-123", "status": "completed", "amount": 10000, "installments": 1, "externalId": "ext-payment-12345", "purchaseTitle": "Compra de Produto", "description": "Descrição da compra", "chargeType": "FEE_TO_CUSTOMER", "captured": true, "buyer": { "uuid": "buyer-uuid-12345", "name": "João da Silva", "email": "[email protected]", "document": "25201246010" }, "maskedCardNumber": "****-****-****-1111", "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-01-15T10:31:00Z" }
Chave de API para autenticação
ID do pagamento
Pagamento recuperado com sucesso
Status do pagamento
Valor do pagamento em reais
Número de parcelas
ID de referência externa
Timestamp de criação