Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
  "event_type": "onCreatePix",
  "client_type_person": "J" | "F",
  "client_cpf": null | "123.456.789-01",
  "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": "canceled" | "failed" | "pending" | "paid",
  "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_expires_at": "data da expiração pix",
  "payment_pix_qrcode": "codigo do pix",
  "payment_plans": [
    {
      "id": "id do plano",
      "plan": "nome do plano",
      "type": "product",
      "price": "preço do plano",
      "price_plus_fees": 4,
      "coproducers": [],
      "affiliate": []
    }
  ],
}

...