API Reference
Counterparties and FX payments

Get customer–counterparty relation

GET/api/v1/customer/{customerId}/customerCounterparty/{counterpartyId}
Base URL: https://bloquo.mimicr.dev · provider: https://api.bloquo.io

Returns the compliance relation between a specific customer and counterparty. This includes the review status (PendingApproval, Approved, Rejected) and preferred payment settings.

Note: To get the full counterparty details (bank information, entity type, etc.) use GET /counterparty/{counterpartyId} instead.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

customerIdinteger<int64>required
counterpartyIdinteger<int64>required

Responses

200Compliance relation details for the customer–counterparty pair.
statusboolean
Example: true
statusCodeinteger
Example: 200
resultobject

Relation between a customer and a counterparty. Records the compliance approval status and preferred payment settings for a specific customer–counterparty pair.

Show child attributes
idinteger<int64>
Example: 1
customerIdinteger<int64>
Example: 42
counterpartyIdinteger<int64>
Example: 5
preferredBankInformationIdinteger<int64> | null

ID of the preferred payment method for this counterparty.

defaultCurrencystring | null

Default currency for payments to this counterparty.

Example: "BRL"
statusstring

Compliance review status for this customer–counterparty relationship.

PendingApprovalApprovedRejected
Example: "Approved"
complianceNotesstring | null

Notes added during the compliance review.

createdBystring
Example: "admin"
lastUpdatedBystring
Example: "admin"
createdAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
lastUpdatedAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
messagestring | null
400Relation not found or internal error.
statusboolean
resultany | null
messagestring