Skip to main content
After a counterparty is created, you can register them with additional bank partners using this endpoint. This is necessary when a wire transfer must be routed through a bank partner the counterparty has not yet been onboarded to. Once onboarding completes successfully, the new bank partner will appear in the counterparty’s bankPartners array with an ACTIVE status.

Endpoint

Required scope: com.diameterpay.api/counter-parties.write

Request Headers

string
required
Bearer token obtained from your OAuth2 token endpoint. Format: Bearer {access_token}
string
required
A UUID v4 string that uniquely identifies this request. Replaying the same key within the idempotency window returns the original response without triggering a duplicate onboarding attempt.

Path Parameters

string
required
The UUID of the counterparty to onboard with an additional bank partner.

Request Body

string
required
The bank partner to onboard this counterparty with. Must be one of:
  • PORTAGE
  • SLOVAK_SAVINGS_BANK
The specified bank partner must not already be present in the counterparty’s bankPartners array.

Response

Returns HTTP 200 OK with the updated CounterPartyOutput object, reflecting the newly added bank partner entry in bankPartners.
string
UUID uniquely identifying the counterparty record.
string
The counterparty type: ORGANIZATION or INDIVIDUAL.
string
UUID of the end user this counterparty belongs to.
object
The wire transfer details for this counterparty.
array
Updated list of bank partner onboarding records, now including the newly registered bank partner.
string
ISO 8601 timestamp of when the counterparty was created.
string
ISO 8601 timestamp of the most recent update, reflecting the new onboarding.

Example

Response