{
"id": "string",
"event": "string",
"payment": {
"object": "string",
"id": "string",
"dateCreated": "string",
"customer": "string",
"installment": "string",
"paymentLink": null,
"value": 0,
"netValue": 0,
"originalValue": null,
"interestValue": null,
"description": "string",
"billingType": "string",
"canBePaidAfterDueDate": true,
"confirmedDate": "string",
"pixTransaction": null,
"status": "string",
"dueDate": "string",
"originalDueDate": "string",
"paymentDate": "string",
"clientPaymentDate": "string",
"installmentNumber": 0,
"invoiceUrl": "string",
"invoiceNumber": "string",
"externalReference": null,
"deleted": true,
"anticipated": true,
"anticipable": true,
"creditDate": "string",
"estimatedCreditDate": "string",
"transactionReceiptUrl": "string",
"nossoNumero": "string",
"bankSlipUrl": "string",
"lastInvoiceViewedDate": null,
"lastBankSlipViewedDate": null,
"discount": {
"value": 0,
"limitDate": null,
"dueDateLimitDays": 0,
"type": "string"
},
"fine": {
"value": 0,
"type": "string"
},
"interest": {
"value": 0,
"type": "string"
},
"postalService": true,
"custody": null,
"refunds": null
}
}curl --location --request POST 'https://sandbox.enterpay.com.br/api/webhooks/asaas/update-status' \
--header 'User-Agent: insomnia/9.2.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"event": "string",
"payment": {
"object": "string",
"id": "string",
"dateCreated": "string",
"customer": "string",
"installment": "string",
"paymentLink": null,
"value": 0,
"netValue": 0,
"originalValue": null,
"interestValue": null,
"description": "string",
"billingType": "string",
"canBePaidAfterDueDate": true,
"confirmedDate": "string",
"pixTransaction": null,
"status": "string",
"dueDate": "string",
"originalDueDate": "string",
"paymentDate": "string",
"clientPaymentDate": "string",
"installmentNumber": 0,
"invoiceUrl": "string",
"invoiceNumber": "string",
"externalReference": null,
"deleted": true,
"anticipated": true,
"anticipable": true,
"creditDate": "string",
"estimatedCreditDate": "string",
"transactionReceiptUrl": "string",
"nossoNumero": "string",
"bankSlipUrl": "string",
"lastInvoiceViewedDate": null,
"lastBankSlipViewedDate": null,
"discount": {
"value": 0,
"limitDate": null,
"dueDateLimitDays": 0,
"type": "string"
},
"fine": {
"value": 0,
"type": "string"
},
"interest": {
"value": 0,
"type": "string"
},
"postalService": true,
"custody": null,
"refunds": null
}
}'{}