curl --location --request POST 'https://your-api-server.com' \
--header 'Content-Type: application/json' \
--data-raw '{
"application": {
"offerId": "string",
"id": "string",
"publicId": "string",
"dealId": 0,
"purchaseId": 0,
"financier": "string",
"interest": 0,
"thm": 0,
"installments": 0,
"status": "CREATED",
"statusResult": "SUCCESS",
"lastStatusChange": "2019-08-24T14:15:22Z"
},
"deal": {
"id": "string",
"applicationId": 0,
"financier": "string",
"purchaseId": 0,
"downPayment": 0,
"downPaymentValue": 0,
"serviceFee": 0,
"latenessThreshold": 0,
"commission": 0,
"status": "PREPARED",
"lastStatusChange": "2019-08-24T14:15:22Z",
"transactions": [
{
"seq": 0,
"dueDate": "2019-08-24T14:15:22Z",
"sum": 1,
"fee": 0,
"latenessFee": 0,
"commission": 0,
"isLate": false,
"status": "DUE",
"transactionUuid": "f5a0721f-e854-4a76-906e-a7c208fb2ac8",
"attempts": [
{
"sum": 1,
"timestamp": "2019-08-24T14:15:22Z",
"result": "SUCCESS",
"finishedAt": "2019-08-24T14:15:22Z",
"statusUpdatedAt": "2019-08-24T14:15:22Z",
"resultReason": "string"
}
]
}
],
"billingAddress": {
"country": "st",
"city": "string",
"region": "st",
"zip": "string",
"street": "string",
"street2": "string",
"street3": "string"
},
"shippingAddress": {
"country": "st",
"city": "string",
"region": "st",
"zip": "string",
"street": "string",
"street2": "string",
"street3": "string",
"fullName": "string"
}
},
"purchase": {
"id": "string",
"dealId": 0,
"applicationId": 0,
"orderId": "string",
"checkoutId": "string",
"totalAmount": 1,
"prepaymentInvoiceId": "string",
"finalInvoiceId": "string",
"invoiceId": "string",
"items": [
{
"identifier": "string",
"externalId": "string",
"name": "string",
"price": 1,
"quantity": 1,
"thumbnail": "http://example.com"
}
]
}
}'