curl --location '/internal-transfers' \
--header 'x-idempotency-key;' \
--header 'Content-Type: application/json' \
--data '{
"creditorAccount": {
"document": "12345678901",
"name": "João Silva",
"issuer": "0001",
"number": "123456",
"accountType": "CACC"
},
"payment": {
"currency": "BRL",
"amount": 100.5
},
"paymentFlow": "INSTANT",
"remittanceInformation": "Transferência para pagamento"
}'{
"data": {
"id": 0,
"endToEndId": "string",
"status": "PROCESSING",
"transactionType": "INTERNAL",
"createdAt": "2019-08-24T14:15:22.123Z",
"eventDate": "2019-08-24T14:15:22.123Z",
"idempotencyKey": "string",
"payment": {
"currency": "BRL",
"amount": 0
},
"creditorAccount": {
"document": "string",
"name": "string",
"issuer": "string",
"number": "string",
"accountType": "SLRY",
"ispb": "string"
},
"debtorAccount": {
"document": "string",
"name": "string",
"issuer": "string",
"number": "string",
"accountType": "SLRY",
"ispb": "string"
},
"remittanceInformation": "string",
"refunds": [
{
"id": 0,
"amount": 0,
"reason": "string",
"status": "string",
"createdAt": "2019-08-24T14:15:22.123Z"
}
]
}
}