POST/counterparty/{userId}/counterparties/{counterpartyId}/instrument

Create Payment Instrument (USD - International Wire)

Creates a USD international wire payment instrument for a counterparty.

Path variables

FieldTypeRequiredPossible valuesDescription
userIdstringRequired—

Unique ID of the user. The user must be active.

counterpartyIdstringRequired—

Unique counterparty ID.

Headers

FieldTypeRequiredPossible valuesDescription
session-tokenstringRequired—

SessionToken obtained from the Create GMA Session endpoint. All secured endpoints require this header.

Request body

FieldTypeRequiredPossible valuesDescription
CurrencystringRequiredUSD

Payment currency.

TransferTypestringRequiredINTERNATIONAL_WIRE

Transfer type for this instrument.

CustomValues.NicknamestringRequired—

Display name for the instrument.

CustomValues.AccountNumberstringRequired—

Beneficiary bank account number.

CustomValues.SwiftBicstringRequired—

SWIFT/BIC code of the beneficiary bank.

CustomValues.AccountTypestringRequiredSaving | Checking

Type of the beneficiary bank account.

CustomValues.BankNamestringRequired—

Name of the beneficiary bank.

CustomValues.BankAddressstringRequired—

Street address of the beneficiary bank.

CustomValues.BankCitystringRequired—

City of the beneficiary bank.

CustomValues.BankStatestringRequired—

State or region of the beneficiary bank.

CustomValues.BankPostalCodestringRequired—

Postal code of the beneficiary bank.

CustomValues.BankCountrystringRequirede.g. US | GB | DE

ISO 3166-1 alpha-2 country code of the beneficiary bank.

Example request

{
  "Currency": "USD",
  "TransferType": "INTERNATIONAL_WIRE",
  "CustomValues": {
    "Nickname": "International Transfer Account",
    "AccountNumber": "****6818",
    "SwiftBic": "CHASUS33",
    "AccountType": "Checking",
    "BankName": "Wells Fargo Bank",
    "BankAddress": "420 Montgomery Street",
    "BankCity": "San Francisco",
    "BankState": "CA",
    "BankPostalCode": "94104",
    "BankCountry": "MX"
  }
}

ℹ  Note

CustomValues for TransferType INTERNATIONAL_WIRE: Nickname, AccountNumber, SwiftBic, AccountType, BankName, BankAddress, BankCity, BankState, BankPostalCode, BankCountry. Retrieve the exact required fields from the Get Required Fields for Instruments endpoint.

Response

FieldTypePossible valuesDescription
ResponseCodeinteger200 | 201 | 204 | 301 | 400 | 401 | 403 | 404 | 410 | 422 | 500 | 503

API result code in the response envelope. Indicates success or the error category (e.g. 200 success, 400 bad request, 401 unauthorized).

ResponseMessagestringSuccess | Created | NoContent | BadRequest | Unauthorized | Forbidden | NotFound | Gone | UnprocessableContent | ServerError | ResourceMoved | ServiceUnAvailable | UnProcessableEntity

Human-readable label paired with ResponseCode (e.g. Success, BadRequest, Unauthorized). Use with ResponseCode to interpret the outcome.

ResponseDataobjectPlease refer to below example for response body

ID of the newly created payment instrument.

Example response

{
  "ResponseCode": 200,
  "ResponseMessage": "Success",
  "ResponseData": "3696220876965326813"
}

Requires `session-token: {SessionToken}` from Create GMA Session. Use the same client IP as authentication.

Search guide books, endpoints, paths, or parameters

↑↓navigate↵openEscclose