Get counterparty
Retrieves detailed information about a specific counterparty, including complete profile information, customer relationship details, and all associated accounts with comprehensive banking and crypto information.
Endpoint
GET/v2/counterparty/{counterpartyId}
Link
Request
Path Parameters
Parameter
Type
Description
Required
Example
counterpartyId
string
Counterparty ID to retrieve details for.
Yes
"cp_12345"
Headers
Key
Value
Required
Authorization
123
Yes
Accept
application/json
Yes
Response (200 OK)
Returns a complete counterparty object with profile information, customer details, and all associated accounts.
Response Fields
1. Main Counterparty Information
Field
Type
Description
Example
counterpartyId
string
Unique counterparty identifier.
"cp_12345"
description
string
Counterparty description.
"Primary electronics supplier"
createdAt
string
Creation timestamp.
"2024-01-15T10:30:00Z"
updatedAt
string
Last update timestamp.
"2024-05-20T14:45:00Z"
2. Profile Object
Field
Type
Required
Description
Example
name
string
Yes
Legal name.
"Tech Supplies Corp"
phoneNumber
string
No
Contact phone.
"+19876543210"
taxNumber
string
No
Tax ID number.
"TAX-US-12345"
dateOfBirth
string
No
Date of birth/incorporation.
"1985-05-15T00:00:00Z"
website
string
No
Company website.
"https://techsupplies.com"
lastname
string
No
Last name (individuals).
"Smith"
3. Address Object
Field
Type
Required
Description
Example
addressLine1
string
Yes
Primary address.
"123 Main Street"
addressLine2
string
No
Suite/floor.
"Suite 500"
addressLine3
string
No
Additional info.
"Building B"
city
string
No
City.
"New York"
stateIso
string
No
State code.
"NY"
countryIso
string
No
Country code.
"US"
postalCode
string
No
Postal code.
"10001"
unitNumber
string
No
Unit number.
"5A"
4. AdditionalInfo Object
Field
Type
Description
Allowed Values
Example
type
string
Legal structure.
INDIVIDUAL, CORPORATION
"CORPORATION"
businessLine
string
Industry type.
PLB_AUTOMOTIVE, PLB_RETAIL, etc.
"PLB_HIGH_TECH_SOFTWARE_TELECOMS"
relationship
string
Business relationship.
PRC_SUPPLIER, PRC_CUSTOMER, etc.
"PRC_SUPPLIER"
5. Customer Object
Field
Type
Description
Example
id
string
Customer ID.
"cust_12345"
name
string
Customer name.
"John Doe"
phone
string
Customer phone.
"+1234567890"
status
string
Customer status.
"ACCEPT"
6. Accounts Array
Array of all accounts associated with this counterparty.
Field
Type
Description
Example
accountId
string
Unique account identifier.
"acc_12345"
currencyCode
string
Currency code (ISO 4217).
"USD"
status
string
Account status.
"ACCEPT"
name
string
Account name/description.
"Business Checking Account"
number
string
Account number.
"123456789"
type
string
Account type.
"CHECKING"
createdAt
string
Account creation timestamp.
"2024-01-15T10:30:00Z"
updatedAt
string
Account last update timestamp.
"2024-05-20T14:45:00Z"
Bank Account Details
Field
Type
Description
Example
bank.name
string
Bank name.
"Chase Bank"
bank.number
string
Account number.
"123456789"
bank.routingNumber
string
Routing number.
"021000021"
Crypto Account Details
Field
Type
Description
Example
crypto.address
string
Crypto wallet address.
"0x742d35Cc6634C0532925a3b8D6B3985f8e091be1"
crypto.additionalInformation.walletType
string
Wallet type.
"CPW_INSTITUTION"
crypto.additionalInformation.type
string
Account type.
"TYPE_CRYPTO"
crypto.additionalInformation.supportedRails
array
Supported payment methods.
["CRYPTO"]
Fiat Account Details
Field
Type
Description
Example
fiat.number
string
Account number.
"987654321"
fiat.swift
string
SWIFT/BIC code.
"CHASUS33"
fiat.routingNumber
string
Routing number.
"021000021"
fiat.additionalInformation.accountType
string
Account type.
"CHECKING"
Example Response:
json
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
Customer Status Values
Status
Description
NEW
Customer newly created
READY_FOR_MODERATION
Ready for compliance review
MODERATED
Under moderation
VERIFY
In verification process
ACCEPT
Approved and active
REJECT
Rejected
BANNED
Permanently blocked
Business Line Examples
Business Line
Description
PLB_HIGH_TECH_SOFTWARE_TELECOMS
Technology and telecommunications
PLB_FINANCIAL_AND_CORPORATE_SERVICES
Financial services
PLB_MANUFACTURING
Manufacturing industry
PLB_RETAIL
Retail businesses
PLB_CONSULTING_PROFESSIONAL_SERVICES
Professional services
Relationship Types
Relationship
Description
PRC_SUPPLIER
Vendor/supplier relationship
PRC_CUSTOMER
Client/customer relationship
PRC_BUSINESS_PARTNER
Strategic business partner
PRC_EMPLOYEE
Employee relationship
PRC_NOT_RELATED
No specific relationship
Examples
Request
bash
Individual Counterparty Example
Response:
json
Counterparty with Multiple Accounts Example
Response:
json
Error Responses
Counterparty Not Found:
json
Unauthorized:
json
Notes
Complete Profile: Returns all counterparty details including profile, addresses, and relationships
Account Relationships: Includes all accounts associated with the counterparty
Multi-Currency Support: Counterparties can have accounts in multiple currencies
Status Tracking: Both counterparty and account statuses are included for compliance tracking
Audit Trail: Creation and update timestamps provide complete audit history
Common Use Cases:
Due diligence and KYC verification
Payment processing setup
Relationship management
Compliance reporting
Multi-account management
Real reply
Real response
Last updated

