curl --location '/api/v1/external_accounts' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"portfolio_id": "5555717d-15c7-408a-aad2-f3155d61ff77",
"external_account": {
"name": "John Doe",
"account_number": "1234567890",
"bank_name": "Bank Central Asia",
"notes": "string"
}
}'{
"success": true,
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "John Doe",
"account_number": "1234567890",
"bank_name": "Bank Central Asia",
"notes": "string",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
}