...
Code Block |
---|
{ "client_type_person": "J", "client_cpf": null, "client_cnpj": "01.234.567/0001-89", "client_fantasy_name": "razao social", "client_company_name": "Nome da empresa aqui", "client_address": "endereço", "client_number": "123", "client_complement": "ap", "client_district": "endereço", "client_city": "cidade", "client_state": "estado", "client_zipcode": "cep", "client_holder_name": "Nome plataforma", "subscriber_id": 1"id do comprador", "subscriber_plan_id": "id do plano", "subscriber_email": "email do comprado", "subscriber_name": "nome do comprador", "subscriber_phone": "telefone do comprador", "subscriber_birthday": "nascimento do comprador", "subscriber_zipcode": "cep do compradro", "subscriber_street": "rua do comprador", "subscriber_number": "número da residencia do comprador", "subscriber_comp": "complemento do endereço do comprador", "subscriber_district": "bairro do comprador", "subscriber_city": "cidade do comprador", "subscriber_state": "estado do comprador", "subscriber_country": "pais do comprador", "subscriber_document_type": "tipo de documento do comprador", "subscriber_document_number": "número do documento do comprador", "payment_price": "preço", "payment_date": "data do pagamento", "payment_status": "status do pagamento", "payment_order_code": "codigo do pagamento", "payment_type": "tipo de pagamento", "payment_installment_number": 1, "payment_installments": 1, "payment_model": "P", "payment_customer_value": 1.76, "payment_plans_value": 4, "payment_plans": [ { "id": "id do plano", "plan": "nome do plano", "type": "product", "price": "preço do plano", "price_plus_fees": 4, "coproducers": [], "affiliate": [] } ], "utm_source": null, "utm_medium": null, "utm_campaign": null, "utm_term": null, "utm_content": null } |
Carrinho abandonado
Code Block |
---|
{
"subscriber_id": 1,
"subscriber_name": "Nome do aluno",
"subscriber_email": "aluno-exemplo@xgrow.com",
"subscriber_phone": "(99) 999999999",
"subscriber_document_type": "CPF",
"subscriber_document_number": "01234567890",
"subscriber_zipcode": "",
"subscriber_street": null,
"subscriber_number": null,
"subscriber_comp": null,
"subscriber_district": null,
"subscriber_city": null,
"subscriber_state": null,
"subscriber_country": "BRA",
"subscriber_plan_id": 1,
"plan": {
"id": 1,
"plan": "Plano 100 Reais",
"type": "-",
"price": "100.00",
"price_plus_fees": "0.00"
},
"product": {
"id": 1,
"product": "Produto 100",
"type": "P",
"description": "Incrivel Produto 100",
"support_email": "produto100@xgrow.com"
}
} |
Gerando boleto
Code Block |
---|
{ "client_type_person": "J", "client_cpf": null, "client_cnpj": "01.234.567/0001-89", "client_fantasy_name": "razao social", "client_company_name": "Nome da empresa aqui", "client_address": "endereço", "client_number": "123", "client_complement": "ap", "client_district": "endereço", "client_city": "cidade", "client_state": "estado", "client_zipcode": "cep", "client_holder_name": "Nome plataforma", "subscriber_id": "id do comprador", "subscriber_plan_id": "id do plano", "subscriber_email": "email do comprado", "subscriber_name": "nome do comprador", "subscriber_phone": "telefone do comprador", "subscriber_birthday": "nascimento do comprador", "subscriber_zipcode": "cep do compradro", "subscriber_street": "rua do comprador", "subscriber_number": "número da residencia do comprador", "subscriber_comp": "complemento do endereço do comprador", "subscriber_district": "bairro do comprador", "subscriber_city": "cidade do comprador", "subscriber_state": "estado do comprador", "subscriber_country": "pais do comprador", "subscriber_document_type": "tipo de documento do comprador", "subscriber_document_number": "número do documento do comprador", "payment_price": "preço", "payment_date": "data do pagamento", "payment_status": "status do pagamento", "payment_order_code": "codigo do pagamento", "payment_type": "pix", "payment_installment_number": 1, "payment_installments": 1, "payment_model": "P", "payment_customer_value": 1.76, "payment_plans_value": 4, "payment_plans": [ { "id": "id do plano", "plan": "nome do plano", "type": "product", "price": "preço do plano", "price_plus_fees": 4, "coproducers": [], "affiliate": [] } ], } |
...