POST
/
wire
curl --request POST \
  --url https://api.treasuryprime.com/wire \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account_id": "acct_1234567890",
  "amount": "10300.00",
  "counterparty_id": "cp_0987654321"
}'
{
  "account_id": "acct_1234567890",
  "amount": "10300.00",
  "counterparty_id": "cp_0987654321",
  "created_at": "2017-11-02T11:55:14Z",
  "error": null,
  "id": "wire_1029384756",
  "imad": {
    "parsed": {
      "cycle_date": "20220719",
      "input_sequence_number": "999999",
      "input_source": "ABCDEFG"
    },
    "unparsed": "20220719ABCDEFG999999"
  },
  "instructions": null,
  "intermediary": null,
  "omad": {
    "parsed": {
      "cycle_date": "20220719",
      "frb_application_id": "FT01",
      "output_date": "0102",
      "output_destination": "MMQFMPTQ",
      "output_sequence_number": "000106",
      "output_time": "1030"
    },
    "unparsed": "20170102MMQFMPTQ00010601021030FT01"
  },
  "status": "pending",
  "updated_at": "2017-11-02T11:55:14Z",
  "userdata": null
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
The wire to create

The body is of type object.

Response

200 - application/json
The wire created

The response is of type object.