add iugu files
This commit is contained in:
170
orders-events/tests/samples/iugu_invoice_pix.json
Normal file
170
orders-events/tests/samples/iugu_invoice_pix.json
Normal file
@@ -0,0 +1,170 @@
|
||||
{
|
||||
"id": "970CB579C3964E59A323CE61AE04F7BC",
|
||||
"due_date": "2022-09-24",
|
||||
"currency": "BRL",
|
||||
"discount_cents": null,
|
||||
"email": "sergio@somosbeta.com.br",
|
||||
"items_total_cents": 19000,
|
||||
"notification_url": "http://localhost",
|
||||
"return_url": null,
|
||||
"status": "pending",
|
||||
"tax_cents": null,
|
||||
"total_cents": 19000,
|
||||
"total_paid_cents": 0,
|
||||
"taxes_paid_cents": 687,
|
||||
"paid_at": null,
|
||||
"paid_cents": null,
|
||||
"cc_emails": null,
|
||||
"financial_return_date": null,
|
||||
"payable_with": "pix",
|
||||
"overpaid_cents": null,
|
||||
"ignore_due_email": null,
|
||||
"ignore_canceled_email": null,
|
||||
"advance_fee_cents": null,
|
||||
"commission_cents": null,
|
||||
"early_payment_discount": false,
|
||||
"order_id": "aQJt9cfeaNZgJosrC6t3Cf",
|
||||
"updated_at": "2022-09-24T12:00:40-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": "aQJt9cfeaNZgJosrC6t3Cf",
|
||||
"max_installments_value": null,
|
||||
"payer_name": "S\u00e9rgio R Siqueira",
|
||||
"payer_email": "sergio@somosbeta.com.br",
|
||||
"payer_cpf_cnpj": "07879819908",
|
||||
"payer_phone": null,
|
||||
"payer_phone_prefix": null,
|
||||
"payer_address_zip_code": "07879819908",
|
||||
"payer_address_street": "Rua Emanuel Jos\u00e9 Pereira",
|
||||
"payer_address_district": "Pilarzinho",
|
||||
"payer_address_city": "Curitiba",
|
||||
"payer_address_state": "Paran\u00e1",
|
||||
"payer_address_number": "202",
|
||||
"payer_address_complement": "Sob 11",
|
||||
"payer_address_country": "Brasil",
|
||||
"late_payment_fine": 0,
|
||||
"late_payment_fine_cents": null,
|
||||
"split_id": null,
|
||||
"account_id": "AF01CF1B3451459F92666F10589278EE",
|
||||
"account_name": "Beta Educa\u00e7\u00e3o",
|
||||
"secure_id": "970cb579-c396-4e59-a323-ce61ae04f7bc-196c",
|
||||
"secure_url": "https://faturas.iugu.com/970cb579-c396-4e59-a323-ce61ae04f7bc-196c",
|
||||
"customer_id": null,
|
||||
"customer_ref": null,
|
||||
"customer_name": null,
|
||||
"user_id": null,
|
||||
"total": "R$ 190,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,
|
||||
"paid": "R$ 0,00",
|
||||
"original_payment_id": null,
|
||||
"double_payment_id": null,
|
||||
"per_day_interest": false,
|
||||
"per_day_interest_value": null,
|
||||
"interest": null,
|
||||
"discount": null,
|
||||
"duplicated_invoice_id": null,
|
||||
"created_at": "24/09, 12:00",
|
||||
"created_at_iso": "2022-09-24T12:00:40-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": 1111,
|
||||
"payment_method": null,
|
||||
"financial_return_dates": null,
|
||||
"bank_slip": null,
|
||||
"pix": {
|
||||
"qrcode": "https://faturas.iugu.com/iugu_pix/970cb579-c396-4e59-a323-ce61ae04f7bc-196c/test/qr_code",
|
||||
"qrcode_text": "http://faturas.iugu.com/iugu_pix/970cb579-c396-4e59-a323-ce61ae04f7bc-196c/test/pay",
|
||||
"status": "qr_code_created",
|
||||
"payer_cpf_cnpj": null,
|
||||
"payer_name": null,
|
||||
"end_to_end_id": null,
|
||||
"end_to_end_refund_id": null
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
"id": "9F3E50A8183247AAA3C8FB6F2B9FE666",
|
||||
"description": "test",
|
||||
"price_cents": 19000,
|
||||
"quantity": 1,
|
||||
"created_at": "2022-09-24T12:00:40-03:00",
|
||||
"updated_at": "2022-09-24T12:00:40-03:00",
|
||||
"price": "R$ 190,00"
|
||||
}
|
||||
],
|
||||
"early_payment_discounts": [],
|
||||
"split_rules": null,
|
||||
"variables": [
|
||||
{ "variable": "next_dunning_date", "value": "2022-09-24" },
|
||||
{ "variable": "payer.address.city", "value": "Curitiba" },
|
||||
{ "variable": "payer.address.city", "value": "Curitiba" },
|
||||
{ "variable": "payer.address.complement", "value": "Sob 11" },
|
||||
{ "variable": "payer.address.complement", "value": "Sob 11" },
|
||||
{ "variable": "payer.address.country", "value": "Brasil" },
|
||||
{ "variable": "payer.address.country", "value": "Brasil" },
|
||||
{ "variable": "payer.address.district", "value": "Pilarzinho" },
|
||||
{ "variable": "payer.address.district", "value": "Pilarzinho" },
|
||||
{ "variable": "payer.address.number", "value": "202" },
|
||||
{ "variable": "payer.address.number", "value": "202" },
|
||||
{ "variable": "payer.address.state", "value": "Paran\u00e1" },
|
||||
{ "variable": "payer.address.state", "value": "Paran\u00e1" },
|
||||
{
|
||||
"variable": "payer.address.street",
|
||||
"value": "Rua Emanuel Jos\u00e9 Pereira"
|
||||
},
|
||||
{
|
||||
"variable": "payer.address.street",
|
||||
"value": "Rua Emanuel Jos\u00e9 Pereira"
|
||||
},
|
||||
{ "variable": "payer.address.zip_code", "value": "07879819908" },
|
||||
{ "variable": "payer.address.zip_code", "value": "07879819908" },
|
||||
{ "variable": "payer.cpf_cnpj", "value": "07879819908" },
|
||||
{ "variable": "payer.cpf_cnpj", "value": "07879819908" },
|
||||
{ "variable": "payer.email", "value": "sergio@somosbeta.com.br" },
|
||||
{ "variable": "payer.email", "value": "sergio@somosbeta.com.br" },
|
||||
{ "variable": "payer.name", "value": "S\u00e9rgio R Siqueira" },
|
||||
{ "variable": "payer.name", "value": "S\u00e9rgio R Siqueira" }
|
||||
],
|
||||
"custom_variables": [],
|
||||
"logs": [
|
||||
{
|
||||
"id": "5F562043384040DCAB20BBD50975D787",
|
||||
"description": "Email de Fatura enviado!",
|
||||
"notes": "Fatura enviada com sucesso para: sergio@somosbeta.com.br",
|
||||
"created_at": "24/09, 12:00"
|
||||
},
|
||||
{
|
||||
"id": "EF2257B6195E41E396EA634FFAC460B9",
|
||||
"description": "Fatura criada com sucesso!",
|
||||
"notes": "Fatura criada!",
|
||||
"created_at": "24/09, 12:00"
|
||||
}
|
||||
],
|
||||
"credit_card_transaction": null
|
||||
}
|
||||
Reference in New Issue
Block a user