add iugu files
This commit is contained in:
160
orders-events/tests/samples/iugu_invoice_bank_slip.json
Normal file
160
orders-events/tests/samples/iugu_invoice_bank_slip.json
Normal file
@@ -0,0 +1,160 @@
|
||||
{
|
||||
"id": "16F7AA3D2E0B41E9987B1DC95B957456",
|
||||
"due_date": "2024-07-16",
|
||||
"currency": "BRL",
|
||||
"discount_cents": null,
|
||||
"email": "email@iugu.com",
|
||||
"items_total_cents": 3000,
|
||||
"notification_url": null,
|
||||
"return_url": null,
|
||||
"status": "pending",
|
||||
"tax_cents": null,
|
||||
"total_cents": 3000,
|
||||
"total_paid_cents": 0,
|
||||
"taxes_paid_cents": null,
|
||||
"paid_at": null,
|
||||
"paid_cents": null,
|
||||
"cc_emails": null,
|
||||
"financial_return_date": null,
|
||||
"payable_with": "all",
|
||||
"overpaid_cents": null,
|
||||
"ignore_due_email": null,
|
||||
"ignore_canceled_email": null,
|
||||
"advance_fee_cents": null,
|
||||
"commission_cents": null,
|
||||
"early_payment_discount": false,
|
||||
"order_id": null,
|
||||
"updated_at": "2024-07-16T16:34:54-03:00",
|
||||
"credit_card_brand": null,
|
||||
"credit_card_bin": null,
|
||||
"credit_card_last_4": null,
|
||||
"credit_card_captured_at": null,
|
||||
"credit_card_tid": null,
|
||||
"external_reference": null,
|
||||
"max_installments_value": null,
|
||||
"payer_name": "Nome",
|
||||
"payer_email": null,
|
||||
"payer_cpf_cnpj": "11343675030",
|
||||
"payer_phone": null,
|
||||
"payer_phone_prefix": null,
|
||||
"payer_address_zip_code": null,
|
||||
"payer_address_street": null,
|
||||
"payer_address_district": null,
|
||||
"payer_address_city": null,
|
||||
"payer_address_state": null,
|
||||
"payer_address_number": null,
|
||||
"payer_address_complement": null,
|
||||
"payer_address_country": null,
|
||||
"late_payment_fine": 1,
|
||||
"late_payment_fine_cents": null,
|
||||
"split_id": null,
|
||||
"external_payment_id": null,
|
||||
"external_payment_description": null,
|
||||
"payment_booklet_id": null,
|
||||
"subscription_id": null,
|
||||
"variables": [],
|
||||
"custom_variables": [],
|
||||
"logs": [
|
||||
{
|
||||
"id": "0C7750D2CFEE44F187910416FE7E1661",
|
||||
"description": "Email de Fatura enviado!",
|
||||
"notes": "Fatura enviada com sucesso para: email@iugu.com",
|
||||
"created_at": "16/07, 16:34"
|
||||
},
|
||||
{
|
||||
"id": "F2A2A91E829245BFA72D1DE6244D2374",
|
||||
"description": "Fatura criada com sucesso!",
|
||||
"notes": "Fatura criada!",
|
||||
"created_at": "16/07, 16:34"
|
||||
}
|
||||
],
|
||||
"credit_card_transaction": null,
|
||||
"account_id": "27016E1AD888499A98994E781B6C3762",
|
||||
"bank_account_branch": "0001",
|
||||
"bank_account_number": "3693443-0",
|
||||
"account_name": "IUGU Teste Produto e Integrações",
|
||||
"secure_id": "16f7aa3d-2e0b-41e9-987b-1dc95b957456-d7a2",
|
||||
"secure_url": "https://checkout.iugu.com/invoices/16f7aa3d-2e0b-41e9-987b-1dc95b957456-d7a2",
|
||||
"customer_id": null,
|
||||
"customer_ref": null,
|
||||
"customer_name": null,
|
||||
"user_id": null,
|
||||
"total": "R$ 30,00",
|
||||
"taxes_paid": "R$ 0,00",
|
||||
"total_paid": "R$ 0,00",
|
||||
"total_overpaid": "R$ 0,00",
|
||||
"total_refunded": "R$ 0,00",
|
||||
"commission": "R$ 0,00",
|
||||
"fines_on_occurrence_day": "R$ 0,00",
|
||||
"total_on_occurrence_day": "R$ 0,00",
|
||||
"fines_on_occurrence_day_cents": 0,
|
||||
"total_on_occurrence_day_cents": 0,
|
||||
"refunded_cents": 0,
|
||||
"remaining_captured_cents": 0,
|
||||
"advance_fee": null,
|
||||
"estimated_advance_fee": null,
|
||||
"paid": "R$ 0,00",
|
||||
"original_payment_id": null,
|
||||
"double_payment_id": null,
|
||||
"per_day_interest": false,
|
||||
"per_day_interest_value": null,
|
||||
"per_day_interest_cents": 0,
|
||||
"interest": null,
|
||||
"discount": null,
|
||||
"duplicated_invoice_id": null,
|
||||
"bank_slip_extra_due": 2,
|
||||
"created_at": "16/07, 16:34",
|
||||
"created_at_iso": "2024-07-16T16:34:53-03:00",
|
||||
"authorized_at": null,
|
||||
"authorized_at_iso": null,
|
||||
"expired_at": null,
|
||||
"expired_at_iso": null,
|
||||
"refunded_at": null,
|
||||
"refunded_at_iso": null,
|
||||
"canceled_at": null,
|
||||
"canceled_at_iso": null,
|
||||
"protested_at": null,
|
||||
"protested_at_iso": null,
|
||||
"chargeback_at": null,
|
||||
"chargeback_at_iso": null,
|
||||
"occurrence_date": null,
|
||||
"refundable": null,
|
||||
"installments": null,
|
||||
"transaction_number": 375641241984723,
|
||||
"payment_method": null,
|
||||
"financial_return_dates": null,
|
||||
"bank_slip": {
|
||||
"digitable_line": "40192024179800000000400001656495597790000003000",
|
||||
"barcode_data": "40195977900000030002024198000000000000165649",
|
||||
"barcode": "https://api.iugu.com/v1/public/invoice/16f7aa3d-2e0b-41e9-987b-1dc95b957456-d7a2/barcode",
|
||||
"bank_slip_url": "https://boletos.iugu.com/v1/public/invoice/16f7aa3d-2e0b-41e9-987b-1dc95b957456-d7a2/bank_slip",
|
||||
"bank_slip_bank": 401,
|
||||
"bank_slip_status": "pending",
|
||||
"bank_slip_error_code": null,
|
||||
"bank_slip_error_message": null,
|
||||
"recipient_cpf_cnpj": "15111975000164"
|
||||
},
|
||||
"pix": {
|
||||
"qrcode": "https://faturas.iugu.com/qr_code/16f7aa3d-2e0b-41e9-987b-1dc95b957456-d7a2",
|
||||
"qrcode_text": "00020101021226840014br.gov.bcb.pix2562qr.iugu.com/public/payload/v2/16F7AA3D2E0B41E9987B1DC95B957456520400005303986540530.005802BR5925IUGU INSTITUICAO DE PAGAM6009SAO PAULO62070503***630446D8",
|
||||
"status": "qr_code_created",
|
||||
"payer_cpf_cnpj": null,
|
||||
"payer_name": null,
|
||||
"end_to_end_id": null,
|
||||
"end_to_end_refund_id": null,
|
||||
"account_number_last_digits": null
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
"id": "0F30A8B1ED244325BBC6C8A1AE34AE18",
|
||||
"description": "Item",
|
||||
"price_cents": 3000,
|
||||
"quantity": 1,
|
||||
"created_at": "2024-07-16T16:34:53-03:00",
|
||||
"updated_at": "2024-07-16T16:34:53-03:00",
|
||||
"price": "R$ 30,00"
|
||||
}
|
||||
],
|
||||
"early_payment_discounts": [],
|
||||
"split_rules": null
|
||||
}
|
||||
Reference in New Issue
Block a user