Created
February 18, 2020 18:03
-
-
Save Igor-Lopes/90659152525f676e28a34352ffb1aa4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id":"758e3556-af59-48ef-ae2f-31978ea7d966", | |
"event":"INVOICE.PAID", | |
"resource":{ | |
"id":"70c86b88-ddde-45c6-ba47-1bd7e63a3ba3", | |
"reference":null, | |
"dueDate":"2020-02-29", | |
"amount":1000, | |
"paidAmount":1000, | |
"paidAt":"2020-02-18T18:02:05.000Z", | |
"currency":"BRL", | |
"items":[ | |
{ | |
"id":"30da73e2-6d0c-429e-af1d-3998708fda25", | |
"description":"TESTE", | |
"quantity":1, | |
"price":1000, | |
"createdAt":"2020-02-18T17:58:31.000Z", | |
"updatedAt":"2020-02-18T17:58:31.000Z", | |
"invoiceId":"70c86b88-ddde-45c6-ba47-1bd7e63a3ba3" | |
} | |
], | |
"lastMessageEvent":null, | |
"lastDateMessageEvent":null, | |
"invoiceMessageEvent":[ | |
], | |
"customer":{ | |
"name":"TESTE", | |
"email":"teste@email.com", | |
"phoneNumber":"5585996791915", | |
"doc":{ | |
"type":"cpf", | |
"number":"73048819339" | |
}, | |
"address":{ | |
"cep":"60135222", | |
"uf":"CE", | |
"city":"FORTALEZA", | |
"area":"Dionisio Torres", | |
"addressLine1":"Rua Marcondes Pereira", | |
"streetNumber":"1381" | |
} | |
}, | |
"notifications":{ | |
"sendOnCreate":true, | |
"reminders":{ | |
"cc":{ | |
"emails":[ | |
] | |
}, | |
"before":{ | |
"send":true, | |
"days":3, | |
"time":"06:00:00" | |
}, | |
"after":{ | |
"send":true, | |
"days":"3", | |
"time":"06:00:00" | |
}, | |
"expiration":{ | |
"send":true, | |
"time":"06:00:00" | |
} | |
}, | |
"types":{ | |
"email":true, | |
"sms":false, | |
"whatsapp":false | |
} | |
}, | |
"boleto":{ | |
"digitableLine":"00190.00009 02625.444282 37011.032176 8 81800000001000", | |
"barCodeNumber":"00198818000000010000000002625444283701103217" | |
}, | |
"invoiceUrl":"https://sandbox.easypagamentos.com.br/invoices/70c86b88-ddde-45c6-ba47-1bd7e63a3ba3/view/boleto", | |
"payment":{ | |
"status":"2", | |
"description":"Pago" | |
}, | |
"events":[ | |
{ | |
"id":"2dca3857-d7d4-46ff-a3e6-be1a1e7b1b9a", | |
"type":"INVOICE.PAID", | |
"createdAt":"2020-02-18T18:02:05.000Z", | |
"updatedAt":"2020-02-18T18:02:05.000Z", | |
"invoiceId":"70c86b88-ddde-45c6-ba47-1bd7e63a3ba3" | |
}, | |
{ | |
"id":"f1f77f84-66c9-4d78-ab3f-4087ef00cc95", | |
"type":"INVOICE.CREATED", | |
"createdAt":"2020-02-18T17:58:31.000Z", | |
"updatedAt":"2020-02-18T17:58:31.000Z", | |
"invoiceId":"70c86b88-ddde-45c6-ba47-1bd7e63a3ba3" | |
} | |
], | |
"createdAt":"2020-02-18T17:58:31.000Z", | |
"updatedAt":"2020-02-18T18:02:05.000Z" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment