POST api/NYMCARDService/LoadAccountFunds/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

LoadFundsInput
NameDescriptionTypeAdditional information
currency

string

None.

amount

decimal number

None.

note

string

None.

dry_run

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "currency": "sample string 1",
  "amount": 2.1,
  "note": "sample string 3",
  "dry_run": true
}

application/xml, text/xml

Sample:
<LoadFundsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.NYMCARD.Service.Models">
  <amount>2.1</amount>
  <currency>sample string 1</currency>
  <dry_run>true</dry_run>
  <note>sample string 3</note>
</LoadFundsInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResponseOfLoadUnloadFundsResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Data

LoadUnloadFundsResponse

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Data": {
    "transaction_id": "sample string 1",
    "account_id": "sample string 2",
    "request": {
      "currency": "sample string 1",
      "amount": 2.1,
      "note": "sample string 3",
      "dry_run": true
    },
    "created": "2024-09-19T04:11:59.0599073+00:00",
    "modified": "2024-09-19T04:11:59.0599073+00:00",
    "result": {
      "fee_amount": 1.1,
      "status": "sample string 2",
      "status_reason": "sample string 3",
      "status_description": "sample string 4"
    }
  },
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<BaseResponseOfLoadUnloadFundsResponsezwF0ve9J xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.NYMCARD.Service.Models">
  <Data>
    <account_id>sample string 2</account_id>
    <created>2024-09-19T04:11:59.0599073+00:00</created>
    <modified>2024-09-19T04:11:59.0599073+00:00</modified>
    <request>
      <amount>2.1</amount>
      <currency>sample string 1</currency>
      <dry_run>true</dry_run>
      <note>sample string 3</note>
    </request>
    <result>
      <fee_amount>1.1</fee_amount>
      <status>sample string 2</status>
      <status_description>sample string 4</status_description>
      <status_reason>sample string 3</status_reason>
    </result>
    <transaction_id>sample string 1</transaction_id>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccess>true</IsSuccess>
</BaseResponseOfLoadUnloadFundsResponsezwF0ve9J>