Endpoint
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 creating a duplicate.
Request Body
string
required
The counterparty classification. Must be one of:
ORGANIZATION— a business or legal entityINDIVIDUAL— a natural person
string
required
UUID of the end user who owns this counterparty.
string
required
The bank partner to onboard this counterparty with initially. Must be one of:
PORTAGESLOVAK_SAVINGS_BANK
string
Full legal name of the counterparty. Required when
type is ORGANIZATION.string
First name of the counterparty. Required when
type is INDIVIDUAL.string
Last name of the counterparty. Required when
type is INDIVIDUAL.string
Middle name of the counterparty. Optional — applicable only when
type is INDIVIDUAL.object
required
Bank account and routing details used to execute wire transfers to this counterparty.
Response
Returns HTTP 201 Created with aCounterPartyOutput object on success.
string
UUID uniquely identifying this counterparty record.
string
The counterparty type:
ORGANIZATION or INDIVIDUAL.string
UUID of the end user this counterparty belongs to.
object
The wire transfer details provided at creation, including
bankName, accountNumber, routingNumberType, routingNumber, and address.array
List of bank partner onboarding records for this counterparty.
string
ISO 8601 timestamp of when the counterparty was created.
string
ISO 8601 timestamp of the most recent update to the counterparty record.