POST api/Account?userId={userId}&cardId={cardId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

globally unique identifier

Required

cardId

globally unique identifier

Required

Body Parameters

Transfer
NameDescriptionTypeAdditional information
transaction_id

string

None.

sender_account_id

string

None.

recipient_account_id

string

None.

amount

decimal number

None.

currency

string

None.

fee_amount

decimal number

None.

notes

string

None.

created

date

None.

modified

date

None.

Request Formats

application/json, text/json

Sample:
{
  "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-10-02T22:42:51.4003756+00:00",
  "modified": "2024-10-02T22:42:51.4003756+00:00"
}

application/xml, text/xml

Sample:
<Transfer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.Integrations.NYMCARD">
  <amount>4.1</amount>
  <created>2024-10-02T22:42:51.4003756+00:00</created>
  <currency>sample string 5</currency>
  <fee_amount>6.1</fee_amount>
  <modified>2024-10-02T22:42:51.4003756+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>
</Transfer>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Transfer'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>