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

Create Payment Instrument (USD - ACH)

Creates a USD ACH payment instrument for a counterparty.

Path variables

FieldTypeRequiredPossible valuesDescription
userIdstringRequired

Unique user ID.

counterpartyIdstringRequired

Unique counterparty ID returned from Create Counterparty.

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.

TransferTypestringRequiredACH

Transfer type for this instrument.

CustomValuesobjectOptional{ Nickname, AccountNumber, RoutingNumber, AccountType, BankName, BankAddress, BankCity, BankState, BankPostalCode, BankCountry }

ACH-specific fields: Nickname, AccountNumber, RoutingNumber, AccountType, BankName, BankAddress, BankCity, BankState, BankPostalCode, BankCountry.Retrieve the required fields for the corresponding transfer type from the Get Required Fields for Instruments endpoint.

Example request

{
  "Currency": "USD",
  "TransferType": "ACH",
  "CustomValues": {
    "Nickname": "Personal Checking Account",
    "AccountNumber": "****9012",
    "RoutingNumber": "021000021",
    "AccountType": "Checking",
    "BankName": "Chase Bank",
    "BankAddress": "270 Park Avenue",
    "BankCity": "New York",
    "BankState": "NY",
    "BankPostalCode": "10017",
    "BankCountry": "US"
  }
}

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": "3705228076220067805"
}

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

Search guide books, endpoints, paths, or parameters

↑↓navigateopenEscclose