For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create counterparty account

Creates a new bank or cryptocurrency account for an existing counterparty. This allows counterparties to have multiple accounts in different currencies and payment methods.

Endpoint

POST/v2/counterparty/{counterpartyId}/account

Link

Request

Path Parameters

Parameter

Type

Description

Required

Example

counterpartyId

string

Counterparty ID to add account to.

Yes

"cp_12345"

Headers

Key

Value

Required

Authorization

123

Yes

Content-Type

application/json

Yes

Accept

application/json

Yes

Request Body

Required field: item.currencyCode

json


Request Fields

1. Main Account Fields

Field

Type

Required

Description

Example

currencyCode

string

Yes

Currency code (ISO 4217).

"USD"

status

string

No

Initial account status.

"NEW"

2. Bank Object (Traditional Banking)

Field

Type

Required

Description

Example

bank.name

string

Yes

Bank name.

"Chase Bank"

bank.number

string

Yes

Account number.

"123456789"

bank.routingNumber

string

Yes

Routing number (US).

"021000021"

Bank Address Object

Field

Type

Required

Description

Example

bank.address.addressLine1

string

Yes

Primary address, 30 symbols max, no special characters, 30 symbols max, no special characters

"456 Bank Street"

bank.address.addressLine2

string

Yes

Suite/floor, 30 symbols max, no special characters

"Floor 15"

bank.address.city

string

Yes

City, no special characters

"New York"

bank.address.stateIso

string

Yes

State code.

"NY"

bank.address.countryIso

string

Yes

Country code.

"US"

bank.address.postalCode

string

Yes

Postal code.

"10002"

3. Crypto Object (Cryptocurrency)

Field

Type

Required

Description

Example

crypto.address

string

Yes

Crypto wallet address.

"0x742d35Cc6634C0532925a3b8D6B3985f8e091be1"

Crypto Additional Information

Field

Type

Required

Description

Allowed Values

Example

crypto.additionalInformation.walletType

string

Yes

Type of wallet.

CPW_INSTITUTION, CPW_OTHER, CPW_UNKNOWN

"CPW_INSTITUTION"

crypto.additionalInformation.type

string

Yes

Account type.

TYPE_CRYPTO

"TYPE_CRYPTO"

crypto.additionalInformation.supportedRails

array

Yes

Supported payment methods.

CRYPTO, NFT

["CRYPTO"]

4. Fiat Object (Detailed Banking)

Field

Type

Required

Description

Example

fiat.number

string

Yes

Account number.

"123456789"

fiat.swift

string

No

SWIFT/BIC code.

"CHASUS33"

fiat.sortCode

string

No

Sort code (UK).

"40-30-20"

fiat.name

string

No

Account name.

"Business Account"

fiat.transitNumber

string

No

Transit number (Canada).

"12345"

fiat.routingNumber

string

No

Routing number (US).

"021000021"

Fiat Additional Information

Field

Type

Required

Description

Allowed Values

Example

fiat.additionalInformation.type

string

Yes

Regional account type.

TYPE_FIAT_US, TYPE_FIAT_GB, etc.

"TYPE_FIAT_US"

fiat.additionalInformation.supportedRails

array

Yes

Supported payment rails.

ACH, FEDWIRE, SWIFT, etc.

["ACH", "FEDWIRE"]

fiat.additionalInformation.accountType

string

Yes

Account type.

CHECKING, SAVING

"CHECKING"

Intermediary Bank (for International Transfers)

Field

Type

Required

Description

Example

fiat.additionalInformation.intermediary.bank.name

string

No

Intermediary bank name.

"Citibank N.A."

fiat.additionalInformation.intermediary.bank.number

string

No

Intermediary account.

"876543210"

fiat.additionalInformation.intermediary.bank.routingNumber

string

No

Intermediary routing.

"021000089"


Response (200 OK)

Returns the created account with system-generated ID and complete details including counterparty and customer information.

Example Response:

json


Response Fields

Field

Type

Description

Example

item.accountId

string

System-generated account ID.

"acc_12345"

item.name

string

Account name/description.

"Business Checking Account"

item.number

string

Account number.

"123456789"

item.type

string

Account type.

"CHECKING"

item.createdAt

string

Creation timestamp.

"2024-05-21T14:30:00Z"

item.updatedAt

string

Last update timestamp.

"2024-05-21T14:30:00Z"

item.counterparty

object

Counterparty details.

-

item.customer

object

Customer details.

-


Field Details

Account Status Values

Status

Description

NEW

Account newly created, pending verification

AWAIT

Awaiting additional information/documentation

MODERATION

Under review by compliance team

ACCEPT

Approved and active for transactions

REJECT

Rejected during verification

BANNED

Permanently blocked from transactions

VERIFICATION

In verification process

Supported Fiat Types

Type

Region

Description

TYPE_FIAT_US

United States

US banking system

TYPE_FIAT_GB

United Kingdom

UK banking system

TYPE_FIAT_EU

European Union

SEPA region

TYPE_FIAT_IN

India

Indian banking system

TYPE_FIAT_CA

Canada

Canadian banking

TYPE_FIAT_SG

Singapore

Singapore banking

Supported Payment Rails

Rail

Description

Region

ACH

Automated Clearing House

US

FEDWIRE

Federal Wire Transfer

US

SWIFT

International wire transfers

Global

SEPA_CT

SEPA Credit Transfer

EU


Notes

  • Currency Requirement: currencyCode is mandatory for all account types

  • Verification Process: New accounts start with NEW status and require verification

  • Multi-Currency Support: Counterparties can have multiple accounts in different currencies

  • Payment Rails: Specify supported payment methods based on account type and region, one account can only support one type of payment rails

  • Compliance: All accounts undergo KYC/AML verification based on regional regulations

Common Use Cases:

  • Adding additional payment methods for existing counterparties

  • Supporting multi-currency transactions

  • Expanding payment options (traditional + crypto)

Examples

Real request sample

Real response sample

Last updated