Skip to main content
POST
Simulate Incoming Return Request

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

wire_id
string
required

ID of the outgoing wire you want to simulate an incoming return request against.

Pattern: ^wire_\w+$

Body

application/json
reason
enum<string>
required

Reason for the return request.

  • creditor_account_number_invalid — ISO AC03. Wire was sent to the wrong account number.
  • wrong_amount — ISO AM09. Wire amount is not the agreed amount or expected.
  • customer_requested — ISO CUST. The partner's end customer requested the return.
  • duplication — ISO DUPL. Duplicate wire sent.
  • fraud_suspected — ISO FRAD. Fraud suspected.
  • narrative — ISO NARR. Catch-all when no structured reason fits; details field carries the explanation.
  • technical_problem — ISO TECH. A technical issue caused the wire to be sent.
  • undue_payment — ISO UPAY. Payment was not due or for services not performed.
  • per_agent_request — ISO AGNT. Incoming only — Lead is the agent for outgoing payments.
  • other — Incoming only. Catch-all for unmapped ISO codes received from the counterparty.
Available options:
creditor_account_number_invalid,
wrong_amount,
customer_requested,
duplication,
fraud_suspected,
narrative,
technical_problem,
undue_payment,
per_agent_request,
other
additional_information
string

Free-text explanation included with the simulated request.

Maximum string length: 105

Response

The updated wire object, now containing the new return request entry.

id
string

Unique identifier of the wire object.

Pattern: ^wire_\w+$
Example:

"wire_xyz123"

account_id
string

The ID of the Account object.

Pattern: ^account_\w+$
Example:

"account_xyz123"

account_number_id
string

The ID of the Lead Bank Account Number object.

Pattern: ^account_number_\w+$
Example:

"account_number_xyz123"

created_at
string<date-time>

ISO 8601 format timestamp representing when the wire object was created.

Example:

"2024-06-27T11:22:33Z"

updated_at
string<date-time>

ISO 8601 format timestamp representing when the wire object was last updated.

Example:

"2024-06-27T11:22:33Z"

settlement_date
string<date>

The ISO-8601 Datestamp indicating the wire settlement date based on the Fedwire's business day definition.

Example:

"2024-06-27"

direction
enum<string>

Who is initiating the transaction.

outgoing: You are sending a wire transaction to a counterparty. incoming: You are receiving an wire transaction from a counterparty.

Available options:
outgoing,
incoming
Example:

"incoming"

type
enum<string>

Indicates the type of wire message that the object represents.

Available options:
transfer,
return
Example:

"transfer"

status
enum<string>

The current status of the wire object.

Available options:
created,
scheduled,
processing,
posted,
under_review,
rejected,
canceled,
cancel_pending
Example:

"created"

amounts
object
debtor
object

Details of the debtor sending funds.

debtor_agent
object

Details of the financial institution where the debtor (payer) holds their account. This object may be absent if the instructing agent does not provide this information.

instructing_agent
object

The financial institution that transmitted the payment through Fedwire. In some cases, this may differ from the bank where the account is held. This object will always be populated.

instructed_agent
object

The financial institution that received the payment through Fedwire. This may not always be the bank where the recipient's account is held. This object will always be populated.

creditor_agent
object

Details of the financial institution where the creditor (payee) holds their account. This object may be absent if the instructing agent does not provide this information.

creditor
object

Details of the creditor receiving funds.

ultimate_debtor
object

The ultimate party on whose behalf the payment is made, if different from the debtor.

ultimate_creditor
object

The ultimate party to which the payment is intended, if different from the creditor.

other_agents
object

Details of any other agents involved in the wire transfer.

payment_identifiers
object

Wire payment identifiers.

remittance_details
object

Wire remittance details.

charges
object

Information about any charges assessed during wire transfer processing.

Related wire objects.

return
object
rejection
object
return_requests
object[]

Return requests associated with this wire.

metadata
object

A set of key-value pairs that can be used to store additional information related to this object.