Abaixo você encontra o conteúdo enviado pela Vindi para cada evento disponibilizado na plataforma. Os exemplos abaixo contemplam um cenário de testes padrão e podem sofrer alterações nos dados retornados nos campos mediante a configuração de cada plataforma Vindi:
- Assinatura cancelada (Cartão de crédito)
- Assinatura efetuada (Cartão de crédito)
- Assinatura reativada (Cartão de crédito)
- Cobrança cancelada (Cartão de crédito)
- Cobrança emitida (Cartão de crédito)
- Cobrança estornada (Cartão de crédito)
- Cobrança rejeitada (Cartão de crédito)
- Fatura cancelada (Cartão de crédito)
- Fatura emitida (Cartão de crédito)
- Fatura paga (Cartão de crédito)
- Fatura visualizada
- Mensagem visualizada
- Nota fiscal emitida
- Pendência gerada (charge_overpay)
- Pendência gerada (charge_underpay)
- Perfil de pagamento criado
- Período criado
Assinatura efetuada (Cartão de crédito):
{
"event": {
"type": "subscription_created",
"created_at": "2025-04-07T17:25:04.203-03:00",
"data": {
"subscription": {
"id": 1024514,
"status": "active",
"start_at": "2025-04-07T00:00:00.000-03:00",
"end_at": null,
"next_billing_at": "2025-05-07T00:00:00.000-03:00",
"overdue_since": null,
"code": null,
"cancel_at": null,
"interval": "months",
"interval_count": 1,
"billing_trigger_type": "beginning_of_period",
"billing_trigger_day": 0,
"billing_cycles": null,
"installments": 1,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:25:04.000-03:00",
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"product_items": [
{
"id": 1421391,
"status": "active",
"uses": 1,
"cycles": null,
"quantity": 1,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:25:02.000-03:00",
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"discounts": []
}
],
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
},
"current_period": {
"id": 16271846,
"billing_at": "2025-04-07T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-07T00:00:00.000-03:00",
"end_at": "2025-05-06T23:59:59.000-03:00",
"duration": 2591999
},
"metadata": {},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
},
"invoice_split": false,
"subscription_affiliates": []
}
}
}
}
Assinatura cancelada (Cartão de crédito):
{
"event": {
"type": "subscription_canceled",
"created_at": "2025-04-07T17:29:05.170-03:00",
"data": {
"subscription": {
"id": 1024514,
"status": "canceled",
"start_at": "2025-04-07T00:00:00.000-03:00",
"end_at": "2025-04-07T17:29:05.000-03:00",
"next_billing_at": null,
"overdue_since": null,
"code": null,
"cancel_at": "2025-04-07T17:29:05.000-03:00",
"interval": "months",
"interval_count": 1,
"billing_trigger_type": "beginning_of_period",
"billing_trigger_day": 0,
"billing_cycles": null,
"installments": 1,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:29:05.000-03:00",
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"product_items": [
{
"id": 1421391,
"status": "active",
"uses": 1,
"cycles": null,
"quantity": 1,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:25:02.000-03:00",
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"discounts": []
}
],
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
},
"current_period": {
"id": 16271846,
"billing_at": "2025-04-07T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-07T00:00:00.000-03:00",
"end_at": "2025-05-06T23:59:59.000-03:00",
"duration": 2591999
},
"metadata": {},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
},
"invoice_split": false,
"subscription_affiliates": []
}
}
}
}
Assinatura reativada (Cartão de crédito):
{
"event": {
"type": "subscription_reactivated",
"created_at": "2025-04-07T17:29:42.993-03:00",
"data": {
"subscription": {
"id": 1024514,
"status": "active",
"start_at": "2025-04-07T00:00:00.000-03:00",
"end_at": null,
"next_billing_at": "2025-05-07T00:00:00.000-03:00",
"overdue_since": null,
"code": null,
"cancel_at": null,
"interval": "months",
"interval_count": 1,
"billing_trigger_type": "beginning_of_period",
"billing_trigger_day": 0,
"billing_cycles": null,
"installments": 1,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:29:42.000-03:00",
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"product_items": [
{
"id": 1421391,
"status": "active",
"uses": 1,
"cycles": null,
"quantity": 1,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:25:02.000-03:00",
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"discounts": []
}
],
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
},
"current_period": {
"id": 16271846,
"billing_at": "2025-04-07T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-07T00:00:00.000-03:00",
"end_at": "2025-05-06T23:59:59.000-03:00",
"duration": 2591999
},
"metadata": {},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
},
"invoice_split": false,
"subscription_affiliates": []
}
}
}
}
Cobrança cancelada (Cartão de crédito):
{
"event": {
"type": "charge_canceled",
"created_at": "2025-04-07T17:38:03.879-03:00",
"data": {
"charge": {
"id": 15391533,
"amount": "100.0",
"status": "canceled",
"due_at": "2025-04-07T23:59:59.000-03:00",
"paid_at": "2025-04-07T17:25:03.000-03:00",
"installments": 1,
"attempt_count": 1,
"next_attempt": null,
"print_url": null,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:38:03.000-03:00",
"last_transaction": {
"id": 18678963,
"transaction_type": "refund",
"status": "success",
"amount": "100.0",
"installments": null,
"gateway_message": "Estorno efetuado com sucesso",
"gateway_response_code": null,
"gateway_authorization": "24C31786B6FA32BFB47C5D97F80D690C",
"gateway_transaction_id": "c921ed5f-da92-4523-9f5c-207174b54206",
"gateway_response_fields": {
"nsu": "99E32B4639C2C09F857CD62AB2A6459C"
},
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-07T17:38:03.000-03:00",
"gateway": {
"id": 4671,
"connector": "fake"
},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
}
},
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
},
"bill": {
"id": 16019798,
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
}
}
}
}
Cobrança emitida (Cartão de crédito):
{
"event": {
"type": "charge_created",
"created_at": "2025-04-07T17:25:04.030-03:00",
"data": {
"charge": {
"id": 15391533,
"amount": "100.0",
"status": "paid",
"due_at": "2025-04-07T23:59:59.000-03:00",
"paid_at": "2025-04-07T17:25:03.000-03:00",
"installments": 1,
"attempt_count": 1,
"next_attempt": null,
"print_url": null,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:25:03.000-03:00",
"last_transaction": {
"id": 18678956,
"transaction_type": "capture",
"status": "success",
"amount": "100.0",
"installments": 1,
"gateway_message": "Captura efetuada com sucesso",
"gateway_response_code": null,
"gateway_authorization": "24C31786B6FA32BFB47C5D97F80D690C",
"gateway_transaction_id": "0236e07e-f6d0-4309-88aa-340e7d509846",
"gateway_response_fields": {
"nsu": "99E32B4639C2C09F857CD62AB2A6459C"
},
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-07T17:25:03.000-03:00",
"gateway": {
"id": 4671,
"connector": "fake"
},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
}
},
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
},
"bill": {
"id": 16019798,
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
}
}
}
}
Cobrança estornada (Cartão de crédito):
{
"event": {
"type": "charge_refunded",
"created_at": "2025-04-07T17:38:04.110-03:00",
"data": {
"charge": {
"id": 15391533,
"amount": "100.0",
"status": "canceled",
"due_at": "2025-04-07T23:59:59.000-03:00",
"paid_at": "2025-04-07T17:25:03.000-03:00",
"installments": 1,
"attempt_count": 1,
"next_attempt": null,
"print_url": null,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:38:03.000-03:00",
"last_transaction": {
"id": 18678963,
"transaction_type": "refund",
"status": "success",
"amount": "100.0",
"installments": null,
"gateway_message": "Estorno efetuado com sucesso",
"gateway_response_code": null,
"gateway_authorization": "24C31786B6FA32BFB47C5D97F80D690C",
"gateway_transaction_id": "c921ed5f-da92-4523-9f5c-207174b54206",
"gateway_response_fields": {
"nsu": "99E32B4639C2C09F857CD62AB2A6459C"
},
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-07T17:38:03.000-03:00",
"gateway": {
"id": 4671,
"connector": "fake"
},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
}
},
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
},
"bill": {
"id": 16019798,
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
}
}
}
}
Cobrança rejeitada (Cartão de crédito):
{
"event": {
"type": "charge_rejected",
"created_at": "2025-04-07T17:41:35.088-03:00",
"data": {
"charge": {
"id": 15391540,
"amount": "100.0",
"status": "pending",
"due_at": "2025-04-07T23:59:59.000-03:00",
"paid_at": null,
"installments": 1,
"attempt_count": 1,
"next_attempt": "2025-04-10T00:00:00.000-03:00",
"print_url": null,
"created_at": "2025-04-07T17:41:34.000-03:00",
"updated_at": "2025-04-07T17:41:34.000-03:00",
"last_transaction": {
"id": 18678970,
"transaction_type": "authorization",
"status": "rejected",
"amount": "100.0",
"installments": 1,
"gateway_message": "Saldo insuficiente",
"gateway_response_code": "51",
"gateway_authorization": "",
"gateway_transaction_id": "abb5887c-efc9-40ec-9a6f-3e4e893cac4c",
"gateway_response_fields": {
"nsu": "99AC96CFFED54046FB42EE8A65E230D0"
},
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-07T17:41:34.000-03:00",
"gateway": {
"id": 4671,
"connector": "fake"
},
"payment_profile": {
"id": 1563010,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "453213",
"card_number_last_four": "9267",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "d54076d6-6e55-4c6a-ba65-6ee419b41ea5",
"created_at": "2025-04-07T17:41:20.000-03:00",
"payment_company": {
"id": 13,
"name": "Visa",
"code": "visa"
}
}
},
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
},
"bill": {
"id": 16019804,
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
}
}
}
}
Fatura cancelada (Cartão de crédito):
{
"event": {
"type": "bill_canceled",
"created_at": "2025-04-07T17:38:04.049-03:00",
"data": {
"bill": {
"id": 16019798,
"code": null,
"amount": "0.0",
"installments": 1,
"status": "canceled",
"seen_at": null,
"billing_at": null,
"due_at": null,
"url": "https://sandbox-app.vindi.com.br/customer/bills/16019798?token=f0f56aca-ca0f-44bf-8416-bc1b8e431078",
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:38:04.000-03:00",
"bill_items": [
{
"id": 25479223,
"amount": "100.0",
"quantity": 1,
"pricing_range_id": null,
"description": null,
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"product_item": {
"id": 1421391,
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
}
},
"discount": null
}
],
"charges": [
{
"id": 15391533,
"amount": "100.0",
"status": "canceled",
"due_at": "2025-04-07T23:59:59.000-03:00",
"paid_at": "2025-04-07T17:25:03.000-03:00",
"installments": 1,
"attempt_count": 1,
"next_attempt": null,
"print_url": null,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:38:03.000-03:00",
"last_transaction": {
"id": 18678963,
"transaction_type": "refund",
"status": "success",
"amount": "100.0",
"installments": null,
"gateway_message": "Estorno efetuado com sucesso",
"gateway_response_code": null,
"gateway_authorization": "24C31786B6FA32BFB47C5D97F80D690C",
"gateway_transaction_id": "c921ed5f-da92-4523-9f5c-207174b54206",
"gateway_response_fields": {
"nsu": "99E32B4639C2C09F857CD62AB2A6459C"
},
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-07T17:38:03.000-03:00",
"gateway": {
"id": 4671,
"connector": "fake"
},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
}
},
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
}
}
],
"bill_affiliates": [],
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"period": {
"id": 16271846,
"billing_at": "2025-04-07T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-07T00:00:00.000-03:00",
"end_at": "2025-05-06T23:59:59.000-03:00",
"duration": 2591999
},
"subscription": {
"id": 1024514,
"code": null,
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
},
"metadata": {},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
},
"payment_condition": null
}
}
}
}
Fatura emitida (Cartão de crédito):
{
"event": {
"type": "bill_created",
"created_at": "2025-04-07T17:25:04.078-03:00",
"data": {
"bill": {
"id": 16019798,
"code": null,
"amount": "100.0",
"installments": 1,
"status": "paid",
"seen_at": null,
"billing_at": null,
"due_at": null,
"url": "https://sandbox-app.vindi.com.br/customer/bills/16019798?token=f0f56aca-ca0f-44bf-8416-bc1b8e431078",
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:25:03.000-03:00",
"bill_items": [
{
"id": 25479223,
"amount": "100.0",
"quantity": 1,
"pricing_range_id": null,
"description": null,
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"product_item": {
"id": 1421391,
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
}
},
"discount": null
}
],
"charges": [
{
"id": 15391533,
"amount": "100.0",
"status": "paid",
"due_at": "2025-04-07T23:59:59.000-03:00",
"paid_at": "2025-04-07T17:25:03.000-03:00",
"installments": 1,
"attempt_count": 1,
"next_attempt": null,
"print_url": null,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:25:03.000-03:00",
"last_transaction": {
"id": 18678956,
"transaction_type": "capture",
"status": "success",
"amount": "100.0",
"installments": 1,
"gateway_message": "Captura efetuada com sucesso",
"gateway_response_code": null,
"gateway_authorization": "24C31786B6FA32BFB47C5D97F80D690C",
"gateway_transaction_id": "0236e07e-f6d0-4309-88aa-340e7d509846",
"gateway_response_fields": {
"nsu": "99E32B4639C2C09F857CD62AB2A6459C"
},
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-07T17:25:03.000-03:00",
"gateway": {
"id": 4671,
"connector": "fake"
},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
}
},
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
}
}
],
"bill_affiliates": [],
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"period": {
"id": 16271846,
"billing_at": "2025-04-07T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-07T00:00:00.000-03:00",
"end_at": "2025-05-06T23:59:59.000-03:00",
"duration": 2591999
},
"subscription": {
"id": 1024514,
"code": null,
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
},
"metadata": {},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
},
"payment_condition": null
}
}
}
}
Fatura paga (Cartão de crédito):
{
"event": {
"type": "bill_paid",
"created_at": "2025-04-07T17:25:03.741-03:00",
"data": {
"bill": {
"id": 16019798,
"code": null,
"amount": "100.0",
"installments": 1,
"status": "paid",
"seen_at": null,
"billing_at": null,
"due_at": null,
"url": "https://sandbox-app.vindi.com.br/customer/bills/16019798?token=f0f56aca-ca0f-44bf-8416-bc1b8e431078",
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:25:03.000-03:00",
"bill_items": [
{
"id": 25479223,
"amount": "100.0",
"quantity": 1,
"pricing_range_id": null,
"description": null,
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"product_item": {
"id": 1421391,
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
}
},
"discount": null
}
],
"charges": [
{
"id": 15391533,
"amount": "100.0",
"status": "paid",
"due_at": "2025-04-07T23:59:59.000-03:00",
"paid_at": "2025-04-07T17:25:03.000-03:00",
"installments": 1,
"attempt_count": 1,
"next_attempt": null,
"print_url": null,
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:25:03.000-03:00",
"last_transaction": {
"id": 18678956,
"transaction_type": "capture",
"status": "success",
"amount": "100.0",
"installments": 1,
"gateway_message": "Captura efetuada com sucesso",
"gateway_response_code": null,
"gateway_authorization": "24C31786B6FA32BFB47C5D97F80D690C",
"gateway_transaction_id": "0236e07e-f6d0-4309-88aa-340e7d509846",
"gateway_response_fields": {
"nsu": "99E32B4639C2C09F857CD62AB2A6459C"
},
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-07T17:25:03.000-03:00",
"gateway": {
"id": 4671,
"connector": "fake"
},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
}
},
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
}
}
],
"bill_affiliates": [],
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"period": {
"id": 16271846,
"billing_at": "2025-04-07T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-07T00:00:00.000-03:00",
"end_at": "2025-05-06T23:59:59.000-03:00",
"duration": 2591999
},
"subscription": {
"id": 1024514,
"code": null,
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
},
"metadata": {},
"payment_profile": {
"id": 1563000,
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"created_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
}
},
"payment_condition": null
}
}
}
}
Fatura visualizada:
{
"event": {
"type": "bill_seen",
"created_at": "2020-08-22T15:48:43.446-03:00",
"data": {
"bill": {
"id": 83102900,
"code": null,
"amount": "7.0",
"installments": 1,
"status": "pending",
"seen_at": "2020-08-22T15:48:43.000-03:00",
"billing_at": null,
"due_at": "2020-08-25T23:59:59.000-03:00",
"url": "https://sandbox-app.vindi.com.br/customer/bills/83102900?token=e3f65e9c-452f-4d05-87c4-6749d3e2ee42",
"created_at": "2020-08-22T15:48:10.000-03:00",
"updated_at": "2020-08-22T15:48:43.000-03:00",
"bill_items": [
{
"id": 99889421,
"amount": "7.0",
"quantity": null,
"pricing_range_id": null,
"description": "",
"pricing_schema": null,
"product": {
"id": 251069,
"name": "Produto padrão",
"code": "produtopadrao"
},
"product_item": null,
"discount": null
}
],
"charges": [
{
"id": 81328820,
"amount": "7.0",
"status": "pending",
"due_at": "2020-08-25T23:59:59.000-03:00",
"paid_at": null,
"installments": 1,
"attempt_count": 0,
"next_attempt": null,
"print_url": null,
"created_at": "2020-08-22T15:48:24.000-03:00",
"updated_at": "2020-08-22T15:48:24.000-03:00",
"last_transaction": null,
"payment_method": {
"id": 21946,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
}
}
],
"customer": {
"id": 11305104,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"period": null,
"subscription": null,
"metadata": {},
"payment_profile": null,
"payment_condition": null
}
}
}
}
Pendência gerada (charge_overpay):
Valor pago pelo cliente é acima do valor total da cobrança.
{
"event": {
"type": "issue_created",
"created_at": "2025-04-07T19:11:48.130-03:00",
"data": {
"issue": {
"id": 728971,
"issue_type": "charge_overpay",
"status": "open",
"item_type": "Charge",
"item_id": 15391540,
"data": {
"expected_amount": "100.0",
"transaction_amount": "200.0"
},
"created_at": "2025-04-07T19:11:48.000-03:00",
"updated_at": "2025-04-07T19:11:48.000-03:00",
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
}
}
}
}
Pendência gerada (charge_underpay):
Valor pago pelo cliente é abaixo do valor total da cobrança.
{
"event": {
"type": "issue_created",
"created_at": "2025-04-07T19:13:04.360-03:00",
"data": {
"issue": {
"id": 728972,
"issue_type": "charge_underpay",
"status": "open",
"item_type": "Charge",
"item_id": 15391589,
"data": {
"expected_amount": "100.0",
"transaction_amount": "50.0"
},
"created_at": "2025-04-07T19:13:04.000-03:00",
"updated_at": "2025-04-07T19:13:04.000-03:00",
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
}
}
}
}
Perfil de pagamento criado (Cartão de crédito):
{
"event": {
"type": "payment_profile_created",
"created_at": "2025-04-07T17:22:16.100-03:00",
"data": {
"payment_profile": {
"id": 1563000,
"status": "active",
"holder_name": "JOAO SILVA CARTAO",
"registry_code": null,
"bank_branch": null,
"bank_account": null,
"card_expiration": "2029-01-31T23:59:59.000-03:00",
"allow_as_fallback": true,
"card_number_first_six": "555555",
"card_number_last_four": "5557",
"renewed_card": {
"card_number_last_four": null,
"card_expiration": null
},
"card_renewed_at": null,
"token": "6defb911-484c-4d05-85db-48029a816b0d",
"gateway_token": "4741a591-663c-45c2-ad0a-7e8b8e6a7543",
"type": "PaymentProfile::CreditCard",
"created_at": "2025-04-07T17:22:16.000-03:00",
"updated_at": "2025-04-07T17:22:16.000-03:00",
"payment_company": {
"id": 12,
"name": "MasterCard",
"code": "mastercard"
},
"payment_method": {
"id": 9055,
"public_name": "Cartão de crédito",
"name": "Cartão de crédito",
"code": "credit_card",
"type": "PaymentMethod::CreditCard"
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testefulanohook"
}
}
}
}
}
Período criado:
{
"event": {
"type": "period_created",
"created_at": "2025-04-07T17:25:04.263-03:00",
"data": {
"period": {
"id": 16271846,
"billing_at": "2025-04-07T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-07T00:00:00.000-03:00",
"end_at": "2025-05-06T23:59:59.000-03:00",
"duration": 2591999,
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"subscription": {
"id": 1024514,
"code": null,
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
},
"usages": [
{
"id": 24038432,
"description": null,
"created_at": "2025-04-07T17:25:02.000-03:00",
"metadata": {},
"product_item": {
"id": 1421391,
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
}
},
"bill": {
"id": 16019798,
"code": null
},
"quantity": 1
}
],
"created_at": "2025-04-07T17:25:02.000-03:00",
"updated_at": "2025-04-07T17:25:02.000-03:00"
}
}
}
}
Mensagem visualizada:
{
"event": {
"type": "message_seen",
"created_at": "2025-04-07T19:35:12.136-03:00",
"data": {
"message": {
"id": 224004877,
"notification_type": "email",
"seen_at": "2025-04-07T19:35:12.000-03:00",
"created_at": "2025-04-07T19:26:50.000-03:00",
"delivered_at": null,
"customer": {
"id": 6170029,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": null
},
"charge": {
"id": 384472214
},
"notification": {
"id": 33576,
"notification_type": "email"
}
}
}
}
}
Nota fiscal emitida:
{
"event": {
"type": "invoice_issued",
"created_at": "2025-04-09T18:44:49.355-03:00",
"data": {
"invoice": {
"id": 879198,
"amount": "100.0",
"status": "success",
"integration_invoice_id": "67f6ea2d094b7d1cb43cd46e",
"integration_reference": "32",
"print_url": "https://sandbox-app.vindi.com.br/customer/bills/8c92b59b-6f40-4548-8191-30a696cf1386/invoices/879198/print",
"description": null,
"settings": null,
"issued_at": "2025-04-09T00:00:00.000-03:00",
"accrued_on": "2025-04-09",
"scheduled_at": null,
"created_at": "2025-04-09T17:55:25.000-03:00",
"updated_at": "2025-04-09T18:44:49.000-03:00",
"bill": {
"id": 16030023,
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
}
}
}
}
Webhooks para eventos gerados no método de pagamento "Bolepix"
Assinatura efetuada (Bolepix):
{
"event": {
"type": "subscription_created",
"created_at": "2025-04-09T16:53:10.878-03:00",
"data": {
"subscription": {
"id": 1024940,
"status": "active",
"start_at": "2025-04-09T00:00:00.000-03:00",
"end_at": null,
"next_billing_at": "2025-05-09T00:00:00.000-03:00",
"overdue_since": null,
"code": null,
"cancel_at": null,
"interval": "months",
"interval_count": 1,
"billing_trigger_type": "beginning_of_period",
"billing_trigger_day": 0,
"billing_cycles": null,
"installments": 1,
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T16:53:10.000-03:00",
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"product_items": [
{
"id": 1421865,
"status": "active",
"uses": 1,
"cycles": null,
"quantity": 1,
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T16:53:00.000-03:00",
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"discounts": []
}
],
"payment_method": {
"id": 11750,
"public_name": "Bolepix",
"name": "Bolepix Vindi Pagamentos",
"code": "pix_bank_slip",
"type": "PaymentMethod::PixBankSlip"
},
"current_period": {
"id": 16285471,
"billing_at": "2025-04-09T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-09T00:00:00.000-03:00",
"end_at": "2025-05-08T23:59:59.000-03:00",
"duration": 2591999
},
"metadata": {},
"payment_profile": null,
"invoice_split": false,
"subscription_affiliates": []
}
}
}
}
Assinatura cancelada (Bolepix):
{
"event": {
"type": "subscription_canceled",
"created_at": "2025-04-09T17:07:13.298-03:00",
"data": {
"subscription": {
"id": 1024940,
"status": "canceled",
"start_at": "2025-04-09T00:00:00.000-03:00",
"end_at": "2025-04-09T17:07:13.000-03:00",
"next_billing_at": null,
"overdue_since": null,
"code": null,
"cancel_at": "2025-04-09T17:07:13.000-03:00",
"interval": "months",
"interval_count": 1,
"billing_trigger_type": "beginning_of_period",
"billing_trigger_day": 0,
"billing_cycles": null,
"installments": 1,
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T17:07:13.000-03:00",
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"product_items": [
{
"id": 1421865,
"status": "active",
"uses": 1,
"cycles": null,
"quantity": 1,
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T16:53:00.000-03:00",
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"discounts": []
}
],
"payment_method": {
"id": 11750,
"public_name": "Bolepix",
"name": "Bolepix Vindi Pagamentos",
"code": "pix_bank_slip",
"type": "PaymentMethod::PixBankSlip"
},
"current_period": {
"id": 16285471,
"billing_at": "2025-04-09T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-09T00:00:00.000-03:00",
"end_at": "2025-05-08T23:59:59.000-03:00",
"duration": 2591999
},
"metadata": {},
"payment_profile": null,
"invoice_split": false,
"subscription_affiliates": []
}
}
}
}
Assinatura reativada (Bolepix):
{
"event": {
"type": "subscription_reactivated",
"created_at": "2025-04-09T17:24:53.735-03:00",
"data": {
"subscription": {
"id": 1024940,
"status": "active",
"start_at": "2025-04-09T00:00:00.000-03:00",
"end_at": null,
"next_billing_at": "2025-05-09T00:00:00.000-03:00",
"overdue_since": null,
"code": null,
"cancel_at": null,
"interval": "months",
"interval_count": 1,
"billing_trigger_type": "beginning_of_period",
"billing_trigger_day": 0,
"billing_cycles": null,
"installments": 1,
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T17:24:53.000-03:00",
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"product_items": [
{
"id": 1421865,
"status": "active",
"uses": 1,
"cycles": null,
"quantity": 1,
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T16:53:00.000-03:00",
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"discounts": []
}
],
"payment_method": {
"id": 11750,
"public_name": "Bolepix",
"name": "Bolepix Vindi Pagamentos",
"code": "pix_bank_slip",
"type": "PaymentMethod::PixBankSlip"
},
"current_period": {
"id": 16285471,
"billing_at": "2025-04-09T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-09T00:00:00.000-03:00",
"end_at": "2025-05-08T23:59:59.000-03:00",
"duration": 2591999
},
"metadata": {},
"payment_profile": null,
"invoice_split": false,
"subscription_affiliates": []
}
}
}
}
Cobrança cancelada (Bolepix):
{
"event": {
"type": "charge_canceled",
"created_at": "2025-04-09T17:27:50.928-03:00",
"data": {
"charge": {
"id": 15401418,
"amount": "100.0",
"status": "canceled",
"due_at": "2025-04-11T23:59:59.000-03:00",
"paid_at": null,
"installments": 1,
"attempt_count": 1,
"next_attempt": null,
"print_url": "https://intermediador-sandbox.yapay.com.br/orders/bolepix/f1596d93a8c5e2c008a2d28fb9885cac",
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T17:27:50.000-03:00",
"last_transaction": {
"id": 18694722,
"transaction_type": "void",
"status": "rejected",
"amount": "100.0",
"installments": null,
"gateway_message": "Não foi possível gerar o token de acesso.",
"gateway_response_code": "060002",
"gateway_authorization": "",
"gateway_transaction_id": "4d89e156-4bdd-4c23-a8cd-8af090266a9b",
"gateway_response_fields": null,
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-09T17:27:50.000-03:00",
"gateway": {
"id": 6446,
"connector": "yapay"
},
"payment_profile": null
},
"payment_method": {
"id": 11750,
"public_name": "Bolepix",
"name": "Bolepix Vindi Pagamentos",
"code": "pix_bank_slip",
"type": "PaymentMethod::PixBankSlip"
},
"bill": {
"id": 16029976,
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
}
}
}
}
Cobrança emitida (Bolepix):
{
"event": {
"type": "charge_created",
"created_at": "2025-04-09T16:53:10.642-03:00",
"data": {
"charge": {
"id": 15401418,
"amount": "100.0",
"status": "pending",
"due_at": "2025-04-11T23:59:59.000-03:00",
"paid_at": null,
"installments": 1,
"attempt_count": 1,
"next_attempt": null,
"print_url": "https://intermediador-sandbox.yapay.com.br/orders/bolepix/f1596d93a8c5e2c008a2d28fb9885cac",
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T16:53:10.000-03:00",
"last_transaction": {
"id": 18694660,
"transaction_type": "charge",
"status": "waiting",
"amount": "100.0",
"installments": 1,
"gateway_message": "Aguardando Pagamento",
"gateway_response_code": null,
"gateway_authorization": "",
"gateway_transaction_id": "c6c9e6c9-f76a-4398-aa61-adee36d3c1db",
"gateway_response_fields": {
"typeable_barcode": "34191570071276366150600520610007490620000030000",
"qrcode_path": "https://d3qiiqeqvrl56p.cloudfront.net/sandbox/2025/04/09/itau/N101494891_qrcode.svg",
"qrcode_original_path": "00020101021226860014BR.GOV.BCB.PIX2564spi-h.itau.com.br/pix/qr/v2/e8772e8f-3e31-4766-831c-c3ce8f453b635204000053039865802BR5920CARVALHEIRA GERALDES6009SAO PAULO62070503***63048DAC",
"print_url": "https://intermediador-sandbox.yapay.com.br/orders/bolepix/f1596d93a8c5e2c008a2d28fb9885cac",
"token_transaction": "f1596d93a8c5e2c008a2d28fb9885cac",
"transaction_id": 1466305
},
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-09T16:53:00.000-03:00",
"gateway": {
"id": 6446,
"connector": "yapay"
},
"payment_profile": null
},
"payment_method": {
"id": 11750,
"public_name": "Bolepix",
"name": "Bolepix Vindi Pagamentos",
"code": "pix_bank_slip",
"type": "PaymentMethod::PixBankSlip"
},
"bill": {
"id": 16029976,
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
}
}
}
}
Fatura cancelada (Bolepix):
{
"event": {
"type": "bill_canceled",
"created_at": "2025-04-09T17:27:58.177-03:00",
"data": {
"bill": {
"id": 16029976,
"code": null,
"amount": "0.0",
"installments": 1,
"status": "canceled",
"seen_at": null,
"billing_at": null,
"due_at": "2025-04-11T23:59:59.000-03:00",
"url": "https://sandbox-app.vindi.com.br/customer/bills/16029976?token=3e760ab0-c017-4fa9-bb33-ecc098ad7354",
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T17:27:58.000-03:00",
"bill_items": [
{
"id": 25492425,
"amount": "100.0",
"quantity": 1,
"pricing_range_id": null,
"description": null,
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"product_item": {
"id": 1421865,
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
}
},
"discount": null
}
],
"charges": [
{
"id": 15401418,
"amount": "100.0",
"status": "canceled",
"due_at": "2025-04-11T23:59:59.000-03:00",
"paid_at": null,
"installments": 1,
"attempt_count": 1,
"next_attempt": null,
"print_url": "https://intermediador-sandbox.yapay.com.br/orders/bolepix/f1596d93a8c5e2c008a2d28fb9885cac",
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T17:27:50.000-03:00",
"last_transaction": {
"id": 18694722,
"transaction_type": "void",
"status": "rejected",
"amount": "100.0",
"installments": null,
"gateway_message": "Não foi possível gerar o token de acesso.",
"gateway_response_code": "060002",
"gateway_authorization": "",
"gateway_transaction_id": "4d89e156-4bdd-4c23-a8cd-8af090266a9b",
"gateway_response_fields": null,
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-09T17:27:50.000-03:00",
"gateway": {
"id": 6446,
"connector": "yapay"
},
"payment_profile": null
},
"payment_method": {
"id": 11750,
"public_name": "Bolepix",
"name": "Bolepix Vindi Pagamentos",
"code": "pix_bank_slip",
"type": "PaymentMethod::PixBankSlip"
}
}
],
"bill_affiliates": [],
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"period": {
"id": 16285471,
"billing_at": "2025-04-09T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-09T00:00:00.000-03:00",
"end_at": "2025-05-08T23:59:59.000-03:00",
"duration": 2591999
},
"subscription": {
"id": 1024940,
"code": null,
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
},
"metadata": {},
"payment_profile": null,
"payment_condition": null
}
}
}
}
Fatura emitida (Bolepix):
{
"event": {
"type": "bill_created",
"created_at": "2025-04-09T16:53:10.703-03:00",
"data": {
"bill": {
"id": 16029976,
"code": null,
"amount": "100.0",
"installments": 1,
"status": "pending",
"seen_at": null,
"billing_at": null,
"due_at": "2025-04-11T23:59:59.000-03:00",
"url": "https://sandbox-app.vindi.com.br/customer/bills/16029976?token=3e760ab0-c017-4fa9-bb33-ecc098ad7354",
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T16:53:10.000-03:00",
"bill_items": [
{
"id": 25492425,
"amount": "100.0",
"quantity": 1,
"pricing_range_id": null,
"description": null,
"pricing_schema": {
"id": 1055356,
"short_format": "R$ 100,00",
"price": "100.0",
"minimum_price": null,
"schema_type": "flat",
"pricing_ranges": [],
"created_at": "2025-04-07T17:24:14.000-03:00"
},
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"product_item": {
"id": 1421865,
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
}
},
"discount": null
}
],
"charges": [
{
"id": 15401418,
"amount": "100.0",
"status": "pending",
"due_at": "2025-04-11T23:59:59.000-03:00",
"paid_at": null,
"installments": 1,
"attempt_count": 1,
"next_attempt": null,
"print_url": "https://intermediador-sandbox.yapay.com.br/orders/bolepix/f1596d93a8c5e2c008a2d28fb9885cac",
"created_at": "2025-04-09T16:53:00.000-03:00",
"updated_at": "2025-04-09T16:53:10.000-03:00",
"last_transaction": {
"id": 18694660,
"transaction_type": "charge",
"status": "waiting",
"amount": "100.0",
"installments": 1,
"gateway_message": "Aguardando Pagamento",
"gateway_response_code": null,
"gateway_authorization": "",
"gateway_transaction_id": "c6c9e6c9-f76a-4398-aa61-adee36d3c1db",
"gateway_response_fields": {
"typeable_barcode": "34191570071276366150600520610007490620000030000",
"qrcode_path": "https://d3qiiqeqvrl56p.cloudfront.net/sandbox/2025/04/09/itau/N101494891_qrcode.svg",
"qrcode_original_path": "00020101021226860014BR.GOV.BCB.PIX2564spi-h.itau.com.br/pix/qr/v2/e8772e8f-3e31-4766-831c-c3ce8f453b635204000053039865802BR5920CARVALHEIRA GERALDES6009SAO PAULO62070503***63048DAC",
"print_url": "https://intermediador-sandbox.yapay.com.br/orders/bolepix/f1596d93a8c5e2c008a2d28fb9885cac",
"token_transaction": "f1596d93a8c5e2c008a2d28fb9885cac",
"transaction_id": 1466305
},
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-09T16:53:00.000-03:00",
"gateway": {
"id": 6446,
"connector": "yapay"
},
"payment_profile": null
},
"payment_method": {
"id": 11750,
"public_name": "Bolepix",
"name": "Bolepix Vindi Pagamentos",
"code": "pix_bank_slip",
"type": "PaymentMethod::PixBankSlip"
}
}
],
"bill_affiliates": [],
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"period": {
"id": 16285471,
"billing_at": "2025-04-09T00:00:00.000-03:00",
"cycle": 1,
"start_at": "2025-04-09T00:00:00.000-03:00",
"end_at": "2025-05-08T23:59:59.000-03:00",
"duration": 2591999
},
"subscription": {
"id": 1024940,
"code": null,
"plan": {
"id": 95753,
"name": "Plano Mensal Padrão",
"code": null
},
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
}
},
"metadata": {},
"payment_profile": null,
"payment_condition": null
}
}
}
}
Fatura paga (Bolepix):
{
"event": {
"type": "bill_paid",
"created_at": "2025-04-09T17:30:59.989-03:00",
"data": {
"bill": {
"id": 16030001,
"code": null,
"amount": "100.0",
"installments": 1,
"status": "paid",
"seen_at": null,
"billing_at": null,
"due_at": "2025-04-22T23:59:59.000-03:00",
"url": "https://sandbox-app.vindi.com.br/customer/bills/16030001?token=8dceaab6-52ef-47b2-861f-2713c6bbb0b7",
"created_at": "2025-04-09T17:29:59.000-03:00",
"updated_at": "2025-04-09T17:30:59.000-03:00",
"bill_items": [
{
"id": 25492452,
"amount": "100.0",
"quantity": null,
"pricing_range_id": null,
"description": "",
"pricing_schema": null,
"product": {
"id": 227657,
"name": "Produto Padrão",
"code": "codecreate"
},
"product_item": null,
"discount": null
}
],
"charges": [
{
"id": 15401445,
"amount": "100.0",
"status": "paid",
"due_at": "2025-04-22T23:59:59.000-03:00",
"paid_at": "2025-04-09T00:00:00.000-03:00",
"installments": 1,
"attempt_count": 2,
"next_attempt": null,
"print_url": null,
"created_at": "2025-04-09T17:29:59.000-03:00",
"updated_at": "2025-04-09T17:30:59.000-03:00",
"last_transaction": {
"id": 18694727,
"transaction_type": "charge",
"status": "success",
"amount": "100.0",
"installments": 1,
"gateway_message": "Aprovada",
"gateway_response_code": null,
"gateway_authorization": "1466328",
"gateway_transaction_id": "0deb36e1-f1ef-49bb-b215-cbf3e74e5a00",
"gateway_response_fields": {
"typeable_barcode": "34191570070010568150600520610007286380000010001",
"print_url": "https://intermediador-sandbox.yapay.com.br/orders/billet/fc484ebe30d381bd4fbc7f16dbf8ff99",
"token_transaction": "fc484ebe30d381bd4fbc7f16dbf8ff99",
"transaction_id": 1466328,
"price_original": "100.0",
"price_payment": "100.0",
"url_payment": "https://intermediador-sandbox.yapay.com.br/orders/billet/fc484ebe30d381bd4fbc7f16dbf8ff99",
"tid": "8835353e-ecb5-43f8-adeb-4",
"split": 1,
"payment_method_id": 6,
"payment_method_name": "Boleto Bancario",
"date_payment": 1744167600,
"date_approval": 1744167600,
"paid_amount": "100.0",
"payment_date": "2025-04-09"
},
"fraud_detector_score": null,
"fraud_detector_status": null,
"fraud_detector_id": null,
"created_at": "2025-04-09T17:29:59.000-03:00",
"gateway": {
"id": 5227,
"connector": "yapay"
},
"payment_profile": null
},
"payment_method": {
"id": 9921,
"public_name": "Boleto bancário",
"name": "Boleto Vindi Pagamentos",
"code": "bank_slip",
"type": "PaymentMethod::BankSlip"
}
}
],
"bill_affiliates": [],
"customer": {
"id": 2208025,
"name": "João Silva Padrão",
"email": "joaosilvapadrao@teste.com",
"code": "testejoaohook"
},
"period": null,
"subscription": null,
"metadata": {},
"payment_profile": null,
"payment_condition": {
"penalty_fee_value": null,
"penalty_fee_type": "percentage",
"daily_fee_value": null,
"daily_fee_type": "percentage",
"after_due_days": 30,
"payment_condition_discounts": []
}
}
}
}
}