Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "data": {
- "ordered_user_id": 22,
- "payment_type": "recurrency",
- "payment_method": "credit_card",
- "installments": null,
- "school_id": null,
- "user_id": 22,
- "current_status": "created",
- "value_paid": "337.45",
- "updated_at": "2018-01-24 16:01:01",
- "created_at": "2018-01-24 16:00:35",
- "id": 14,
- "invoices": [
- {
- "id": 8,
- "order_id": 14,
- "external_id": "in_jMk21yKU33HX5DN7",
- "external_data": {
- "transaction": {
- "id": "tran_n3z0z64cbnIA30Db",
- "transaction_type": "credit_card",
- "gateway_id": "62416ae0-eda3-4b5b-accb-d40ed67c9e94",
- "amount": 33745,
- "status": "captured",
- "success": true,
- "installments": 1,
- "statement_descriptor": "Ingles200h",
- "acquirer_name": "simulator",
- "acquirer_affiliation_code": "",
- "acquirer_tid": "862830",
- "acquirer_nsu": "36105",
- "acquirer_auth_code": "945609",
- "acquirer_message": "Simulator|Transa\u00e7\u00e3o de simula\u00e7\u00e3o autorizada com sucesso",
- "acquirer_return_code": "0",
- "operation_type": "auth_and_capture",
- "card": {
- "id": "card_O9PNZdrhoF6GxdjB",
- "first_six_digits": "4235 6",
- "last_four_digits": "5682",
- "brand": "Visa",
- "holder_name": "teste",
- "exp_month": 12,
- "exp_year": 2018,
- "status": "active",
- "created_at": "2018-01-24T16:56:02",
- "updated_at": "2018-01-24T17:05:14",
- "type": "credit"
- },
- "created_at": "2018-01-24T18:00:24",
- "updated_at": "2018-01-24T18:00:24",
- "gateway_response": {
- "code": "201"
- }
- }
- },
- "status": "pending",
- "created_at": "2018-01-24 16:01:00",
- "updated_at": "2018-01-24 16:01:00",
- "payments": [
- {
- "id": 8,
- "invoice_id": 8,
- "installment": 1,
- "external_id": "ch_5pWMv9U9qt1qkrRb",
- "status": "created",
- "created_at": "2018-01-24 16:01:01",
- "updated_at": "2018-01-24 16:01:01"
- }
- ]
- }
- ],
- "user": {
- "id": 22,
- "attributes_set_id": 6,
- "user_id": null,
- "association_id": null,
- "mundipagg_customer_id": "cus_RyVYVwJCmvhVeOvG",
- "employee": "no",
- "expires_in": "2018-02-24 15:05:59",
- "created_at": "2018-01-24 14:53:44",
- "updated_at": "2018-01-24 15:05:59",
- "name": "Paulo coliver 24",
- "username": "paulocoliver24jan-l1uhp",
- "email": "paulocoliver24jan@gmail.com",
- "telefone": "(12) 1222-3444",
- "cpf_cnpj": null,
- "sexo": "Masculino",
- "celular": "(43) 44444-4343",
- "birthdate": "1987-05-04",
- "cep": 17521576,
- "rua": "Rua Jos\u00e9 Augusto Orlando",
- "numero": 111,
- "complemento": null,
- "pais": "brasil",
- "estado": "SP",
- "cidade": "Mar\u00edlia",
- "bairro": "Jardim Damasco II",
- "image": null,
- "tags": [
- "Pre-Cadastro",
- "Workshop-1",
- "Workshop-2",
- "Workshop-3",
- "Ativado"
- ],
- "children": null
- },
- "user_email": "paulocoliver24jan@gmail.com",
- "order_items": [
- {
- "id": 14,
- "order_id": 14,
- "products_version_id": 238,
- "qty": 1,
- "value_total": "337.45",
- "value_per_installment": "337.45",
- "qty_installment": null,
- "coupon_id": null,
- "coupon_code": null,
- "product": {
- "id": 238,
- "attributes_set_id": 7,
- "product_id": 28,
- "producer_id": 7,
- "external_id": 9,
- "created_at": "2018-01-23 16:45:27",
- "updated_at": "2018-01-23 16:45:27",
- "deleted_at": null,
- "type_product": "online",
- "name": "Online",
- "description": "<html>\n<head>\n\t<title><\/title>\n<\/head>\n<body>\n<p><meta charset=\"utf-8\" \/><\/p>\n\n<p dir=\"ltr\"><span style=\"font-size:14px\"><span style=\"font-family:Arial,Helvetica,sans-serif\"><strong>DESCRIÇÃO:<\/strong> Curso por Plataforma acessada pela Internet 24 horas por dia, com suporte integral de profissionais técnicos e pedagógicos para auxílio em qualquer questão pertinente ao curso;<\/span><\/span><\/p>\n\n<p dir=\"ltr\"><span style=\"font-size:14px\"><span style=\"font-family:Arial,Helvetica,sans-serif\"><strong>PARA QUEM:<\/strong> É destinado a pessoas que já fizeram inglês e ainda não conseguiram obter fluência ou ainda para quem está começando do zero;<\/span><\/span><\/p>\n\n<p dir=\"ltr\"><span style=\"font-size:14px\"><span style=\"font-family:Arial,Helvetica,sans-serif\"><strong>COMO FUNCIONA:<\/strong> Acesso a plataforma pelo site da Inglês 200 horas usando login e senha, disponível 24 horas por dia, sete dias por semana;<\/span><\/span><\/p>\n\n<p dir=\"ltr\"><span style=\"font-size:14px\"><span style=\"font-family:Arial,Helvetica,sans-serif\"><strong>DURAÇÃO:<\/strong> 30 meses aproximadamente (acesso a plataforma e as aulas de conversação);<\/span><\/span><\/p>\n\n<p dir=\"ltr\"><span style=\"font-size:14px\"><span style=\"font-family:Arial,Helvetica,sans-serif\"><strong>MATERIAL DIDÁTICO:<\/strong> <\/span><\/span><meta charset=\"utf-8\" \/>2 Livros desenvolvidos exclusivamente para esta modalidade<span style=\"font-size:14px\"><span style=\"font-family:Arial,Helvetica,sans-serif\"> e também disponibilizado na própria plataforma;<\/span><\/span><\/p>\n\n<p><span style=\"font-size:14px\"><span style=\"font-family:Arial,Helvetica,sans-serif\"><strong>BÔNUS:<\/strong> Aulas online para aperfeiçoamento de 3 habilidades: pronúncia, conversação e interpretação de texto.<\/span><\/span><\/p>\n<\/body>\n<\/html>",
- "duration": 26,
- "unit_approvation": null,
- "total_value": 482.07,
- "installment": null,
- "discount": 30,
- "discount_percent": 30,
- "max_discount": 30,
- "lifelong": 1,
- "bonus_description": "Afiliados",
- "points_enable": 1,
- "percentual_material": 30,
- "percentual_servico": 70,
- "percentual_ganho_eventos": 0.02,
- "percentual_ganho_midia": 0.02,
- "percentual_ganho_premio": 0.02,
- "image": [],
- "amount_shipment": null,
- "amount_lead": null,
- "amount_lead_shipment": null
- }
- }
- ],
- "external_id": "sub_7Qa1y3phrYHQxDEn",
- "user_cpf": "",
- "user_info": "",
- "deleted_at": null,
- "notifications": [
- {
- "id": 82,
- "order_id": 14,
- "status": "",
- "message": null,
- "post": "{\"id\":\"hook_7mr6ZPvH1DcnJBA8\",\"account\":{\"id\":\"acc_baK8QPEtLF94y1kW\",\"name\":\"200 horas - Teste\"},\"type\":\"invoice.created\",\"created_at\":\"2018-01-24T18:00:24\",\"data\":{\"id\":\"in_jMk21yKU33HX5DN7\",\"code\":\"PX4JBZ9HG9\",\"url\":\"\\\/invoices\\\/in_jMk21yKU33HX5DN7\",\"amount\":33745,\"status\":\"paid\",\"payment_method\":\"credit_card\",\"due_at\":\"2018-01-24T00:00:00\",\"created_at\":\"2018-01-24T18:00:24\",\"items\":[{\"amount\":33745,\"quantity\":1,\"description\":\"Online\"}],\"customer\":{\"id\":\"cus_RyVYVwJCmvhVeOvG\",\"name\":\"Paulo coliver 24\",\"email\":\"paulocoliver24jan@gmail.com\",\"code\":\"user_22\",\"type\":\"individual\",\"delinquent\":false,\"created_at\":\"2018-01-24T16:56:01\",\"updated_at\":\"2018-01-24T16:56:01\",\"phones\":[]},\"subscription\":{\"id\":\"sub_7Qa1y3phrYHQxDEn\",\"code\":\"14\",\"start_at\":\"2018-01-24T00:00:00\",\"interval\":\"month\",\"interval_count\":1,\"billing_type\":\"prepaid\",\"next_billing_at\":\"2018-02-24T00:00:00\",\"payment_method\":\"credit_card\",\"currency\":\"BRL\",\"statement_descriptor\":\"Ingles200h\",\"installments\":1,\"status\":\"active\",\"created_at\":\"2018-01-24T18:00:24\",\"updated_at\":\"2018-01-24T18:00:24\"},\"cycle\":{\"id\":\"cycle_YrX2q7U9xcGyDzEB\",\"start_at\":\"2018-01-24T00:00:00\",\"end_at\":\"2018-02-23T23:59:59\",\"billing_at\":\"2018-01-24T00:00:00\"},\"billing_address\":{\"street\":\"Rua Jos\\u00e9 Augusto Orlando\",\"number\":\"111\",\"zip_code\":\"17521576\",\"neighborhood\":\"-\",\"city\":\"Mar\\u00edlia\",\"state\":\"SP\",\"country\":\"BR\",\"line_1\":\"111, Rua Jos\\u00e9 Augusto Orlando, -\"},\"charge\":{\"id\":\"ch_5pWMv9U9qt1qkrRb\",\"code\":\"14-01\",\"gateway_id\":\"f7bde9e8-0c0c-4964-878c-0a635c251998\",\"amount\":33745,\"paid_amount\":33745,\"status\":\"paid\",\"currency\":\"BRL\",\"payment_method\":\"credit_card\",\"due_at\":\"2018-01-24T00:00:00\",\"paid_at\":\"2018-01-24T18:00:25\",\"created_at\":\"2018-01-24T18:00:24\",\"updated_at\":\"2018-01-24T18:00:24\",\"last_transaction\":{\"id\":\"tran_n3z0z64cbnIA30Db\",\"transaction_type\":\"credit_card\",\"gateway_id\":\"62416ae0-eda3-4b5b-accb-d40ed67c9e94\",\"amount\":33745,\"status\":\"captured\",\"success\":true,\"installments\":1,\"statement_descriptor\":\"Ingles200h\",\"acquirer_name\":\"simulator\",\"acquirer_affiliation_code\":\"\",\"acquirer_tid\":\"862830\",\"acquirer_nsu\":\"36105\",\"acquirer_auth_code\":\"945609\",\"acquirer_message\":\"Simulator|Transa\\u00e7\\u00e3o de simula\\u00e7\\u00e3o autorizada com sucesso\",\"acquirer_return_code\":\"0\",\"operation_type\":\"auth_and_capture\",\"card\":{\"id\":\"card_O9PNZdrhoF6GxdjB\",\"first_six_digits\":\"4235 6\",\"last_four_digits\":\"5682\",\"brand\":\"Visa\",\"holder_name\":\"teste\",\"exp_month\":12,\"exp_year\":2018,\"status\":\"active\",\"created_at\":\"2018-01-24T16:56:02\",\"updated_at\":\"2018-01-24T17:05:14\",\"type\":\"credit\"},\"created_at\":\"2018-01-24T18:00:24\",\"updated_at\":\"2018-01-24T18:00:24\",\"gateway_response\":{\"code\":\"201\"}}},\"metadata\":[]}}",
- "created_at": "2018-01-24 16:01:00",
- "updated_at": "2018-01-24 16:01:00"
- }
- ]
- }
- }
Add Comment
Please, Sign In to add comment