POST api/NYMCARDService/TransferFundBetweenAccounts
Request Information
URI Parameters
None.
Body Parameters
TransferInputName | Description | Type | Additional information |
---|---|---|---|
sender_account_id | string |
None. |
|
recipient_account_id | string |
None. |
|
amount | decimal number |
None. |
|
currency | string |
None. |
|
notes | string |
None. |
|
dry_run | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "sender_account_id": "sample string 1", "recipient_account_id": "sample string 2", "amount": 3.1, "currency": "sample string 4", "notes": "sample string 5", "dry_run": true }
application/xml, text/xml
Sample:
<TransferInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.NYMCARD.Service.Models"> <amount>3.1</amount> <currency>sample string 4</currency> <dry_run>true</dry_run> <notes>sample string 5</notes> <recipient_account_id>sample string 2</recipient_account_id> <sender_account_id>sample string 1</sender_account_id> </TransferInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResponseOfTransferName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
Data | Transfer |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccess": true, "Data": { "transaction_id": "sample string 1", "sender_account_id": "sample string 2", "recipient_account_id": "sample string 3", "amount": 4.1, "currency": "sample string 5", "fee_amount": 6.1, "notes": "sample string 7", "created": "2024-09-19T04:18:42.9018229+00:00", "modified": "2024-09-19T04:18:42.9018229+00:00" }, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<BaseResponseOfTransferzwF0ve9J xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.NYMCARD.Service.Models"> <Data> <amount>4.1</amount> <created>2024-09-19T04:18:42.9018229+00:00</created> <currency>sample string 5</currency> <fee_amount>6.1</fee_amount> <modified>2024-09-19T04:18:42.9018229+00:00</modified> <notes>sample string 7</notes> <recipient_account_id>sample string 3</recipient_account_id> <sender_account_id>sample string 2</sender_account_id> <transaction_id>sample string 1</transaction_id> </Data> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccess>true</IsSuccess> </BaseResponseOfTransferzwF0ve9J>