Authorization: Bearer ********************
{
"fromAccountId": "string",
"toAccountId": "string",
"transferredAt": "2019-08-24T14:15:22Z",
"amount": 0,
"currency": {
"name": "string",
"symbol": "string"
},
"reason": "string",
"destinationAmount": 0,
"destinationCurrency": {
"name": "string",
"symbol": "string"
}
}
curl --location --request POST 'https://api.upbooks.io/api/v1/account-transfer' \
--header 'ORGANIZATION-ID: 00000' \
--header 'Content-Type: application/json' \
--data-raw '{
"fromAccountId": "string",
"toAccountId": "string",
"transferredAt": "2019-08-24T14:15:22Z",
"amount": 0,
"currency": {
"name": "string",
"symbol": "string"
},
"reason": "string",
"destinationAmount": 0,
"destinationCurrency": {
"name": "string",
"symbol": "string"
}
}'
{
"data": {
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"__v": 0,
"_id": "string",
"organization": {
"id": "string",
"organizationId": "string",
"name": "string",
"state": "string"
},
"from": {
"id": "string",
"title": "string",
"type": "cash",
"subType": "gst-receivable",
"category": "asset",
"subCategory": "current-assets",
"bankAccount": {
"id": "string",
"bankAccountNumber": "string",
"title": "string"
},
"defaultCurrency": {
"name": "string",
"symbol": "string"
},
"naturalBalance": "credit"
},
"to": {
"id": "string",
"title": "string",
"type": "cash",
"subType": "gst-receivable",
"category": "asset",
"subCategory": "current-assets",
"bankAccount": {
"id": "string",
"bankAccountNumber": "string",
"title": "string"
},
"defaultCurrency": {
"name": "string",
"symbol": "string"
},
"naturalBalance": "credit"
},
"reason": "string",
"transferredAt": "2019-08-24T14:15:22Z",
"amount": 0,
"currency": {
"name": "string",
"symbol": "string"
},
"currencyConversionRate": {
"USD": 0,
"EUR": 0,
"GBP": 0,
"INR": 0,
"AUD": 0,
"SGD": 0,
"CAD": 0,
"JPY": 0,
"CNY": 0,
"SAR": 0,
"AED": 0
},
"destinationAmount": 0,
"destinationCurrency": {
"name": "string",
"symbol": "string"
},
"destinationCurrencyConversionRate": {
"USD": 0,
"EUR": 0,
"GBP": 0,
"INR": 0,
"AUD": 0,
"SGD": 0,
"CAD": 0,
"JPY": 0,
"CNY": 0,
"SAR": 0,
"AED": 0
}
},
"message": "string"
}