curl --location '/ted' \
--header 'x-idempotency-key;' \
--header 'Content-Type: application/json' \
--data '{
"creditorAccount": {
"ispb": "string",
"issuer": "string",
"number": "string",
"accountType": "SLRY",
"document": "string",
"name": "string"
},
"paymentFlow": "INSTANT",
"payment": {
"currency": "BRL",
"amount": 0.01
},
"remittanceInformation": "string"
}'{
"data": {
"numCtrlIf": "string",
"numCtrlStr": "string",
"eventDate": "2019-08-24T14:15:22.123Z",
"status": "CANCELED",
"id": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"idempotencyKey": "string",
"refunds": [
{
"id": 0,
"amount": 0,
"reason": "string",
"status": "string",
"createdAt": "2019-08-24T14:15:22.123Z"
}
],
"remittanceInformation": "string",
"transactionType": "TED",
"payment": {
"currency": "BRL",
"amount": 0
},
"creditorAccount": {
"ispb": "string",
"issuer": "string",
"number": "string",
"accountType": "SLRY",
"document": "string",
"name": "string"
}
}
}