Skip to main content
POST
Simulate Incoming Wire V2

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string
required

Idempotency key

Maximum string length: 255

Body

application/json

Request body to simulate an incoming wire in sandbox. The corridor is inferred from the shape of debtor_agent rather than an explicit field, matching how Lead derives the corridor from the ISO 20022 payload on real incoming wires: a business_identifier_code with a non-US country code produces an international wire, while providing only local_routing_identifier produces a domestic wire.

amount
integer<int64>
required

Wire amount in USD cents.

Required range: 1 <= x <= 990000000000
Example:

5000

creditor_account_number_id
string
required

The ID of the account number that will receive the simulated wire.

Pattern: ^account_number_\w+$
Example:

"account_number_xyz123"

debtor
object
required

The party sending the wire.

debtor_agent
object
required

The debtor's financial institution.

instructing_agent
object

The financial institution that transmitted the payment to Lead.

remittance_details
object

Details of the remittance information for the wire.

payment_identifiers
object

Payment identifiers for the wire.

metadata
object

Additional metadata to associate with the wire.

Response

Incoming wire object created. The response body is empty.

The response is of type object.