Manage contacts
Contacts v3 is in beta and may change as we continue to improve it. Please review the documentation and endpoints carefully, test everything in the sandbox, and reach out to the Solutions team if you need help.
Contacts store the originator and beneficiary details required for Travel Rule compliance. Create a contact once, then reference it by contactId in later payment requests instead of passing inline partyDetails each time.
Use contacts when you:
- Repeatedly send or receive payments involving the same counterparty.
- Want to avoid duplicating party details across payment links, channels, and payouts.
- Need a central registry of known originators and beneficiaries for compliance purposes.
- Need to hold a separate set of contacts for each of your customers.
Contacts are validated when you create a payment, not when you create a contact. This means a contact can be created with minimal details but later fail validation if the payment requires additional Travel Rule fields, for example, for crypto payments above a certain threshold.
Create a contact
Create a contact by sending a POST /platform/v3/contacts request. A contact can represent either an individual (natural person) or a company (legal entity).
The response includes the generated id that you use as contactId in payment requests:
Create a contact for a customer
By default, a contact is linked to your account. If you use the Embedded model and manage payments for your customers, include the customer's unique customerId in the request to associate the contact with that customer. In this case, each customer can have their own contact for the same entity. Updates to one customer's contact do not affect another's, including Travel Rule details.
The customerId always refers to a customer you created through the Embedded model. If you use the Direct model, omit it.
BVNK checks for duplicates per customer. When you pass customerId, the new contact is compared only with that customer's other contacts. When omitted, the contact is compared with other contacts linked to your account.
{
"description": "Primary payment partner",
"customerId": "0000771c-8bff-4660-9706-497b0f8bf0e3",
"entity": {
"type": "INDIVIDUAL",
"relationshipType": "THIRD_PARTY",
"firstName": "Jane",
"lastName": "Doe",
"dateOfBirth": "1990-06-15",
"address": {
"addressLine1": "10 Downing Street",
"city": "London",
"region": "Greater London",
"postalCode": "SW1A 2AA",
"country": "GB"
}
}
}
Creating a contact that matches an existing contact for that customer, or for your account if you omit customerId, returns a 409 error. Individuals match on first name, middle name, last name, and date of birth. Companies match on legal name and registration number.
Add your reference
To store your internal ID for a contact, such as an employee or vendor ID from your system, include a reference in the request. BVNK continues to identify the contact by its id, so use id as contactId in payment requests.
You can set the reference only when you create the contact. To change it, delete the contact and create it again with the new reference. The new contact has a new id, so use that id as contactId in later payment requests.
A reference also lets you keep separate contacts for people who would otherwise look like duplicates. For individuals, the reference is part of the duplicate check. For example, two employees who are both named Jane Doe and were born on 1990-06-15 can each have a contact if their references differ, such as EMP-000123 and EMP-000456.
{
"description": "Primary payment partner",
"customerId": "0000771c-8bff-4660-9706-497b0f8bf0e3",
"reference": "EMP-000123",
"entity": {
"type": "INDIVIDUAL",
"relationshipType": "THIRD_PARTY",
"firstName": "Jane",
"lastName": "Doe",
"dateOfBirth": "1990-06-15",
"address": {
"addressLine1": "10 Downing Street",
"city": "London",
"region": "Greater London",
"postalCode": "SW1A 2AA",
"country": "GB"
}
}
}
You can use the same reference for different customers, but only once for each customer. The same applies to contacts on your account with no customerId. For example, reference EMP-000123 can be used on one contact for each of your customers and on one contact on your account. Using it again for the same customer, or again on your account, returns a 409 error with code 4016.
If you repeat a create request with identical data, the API returns the stored contact with a 201 status instead of an error. This allows you to safely retry the request.
The response includes the reference if you provided one. If not, it is omitted.
List contacts
Retrieve a paginated list of your contacts by sending a GET /platform/v3/contacts request.
Use the q parameter to narrow down results. For example, to find all individual third-party contacts whose name contains "Jane":
/platform/v3/contacts?pageSize=10&pageNumber=0&q=searchTerm:Jane type:INDIVIDUAL relationshipType:THIRD_PARTY
By default, the list includes all contacts under your account, including those that belong to your customers. To list only the contacts of a single customer, add the customer to the filter, for example customerId:0000771c-8bff-4660-9706-497b0f8bf0e3.
To find a contact by your own ID, filter by reference, for example q=reference:EMP-000123. The match is exact and case-sensitive. Without customerId, the search covers your account and all your customers, so it can return more than one contact.
In the response, you receive the list of available contacts.
Get a contact
Retrieve a single contact by sending a GET /platform/v3/contacts/{contactId} request.
Update a contact
Replace all fields of an existing contact by sending a PUT /platform/v3/contacts/{contactId} request. You must supply the full payload including the entity object. The request body matches the create contact request, except that it has no customerId or reference: both are set when you create the contact and cannot be changed.
Delete a contact
Remove a contact that is no longer needed by sending a DELETE /platform/v3/contacts/{contactId} request. Returns 204 No Content on success.
A contact that is currently referenced by an active payment cannot be deleted.
Use contacts in payments
Once created, reference the contact id as contactId in payment creation requests. This replaces inline partyDetails and simplifies your integration.
For example, when creating a payment channel, you can pass a contactId instead of the full partyDetails object:
{
"walletId": "a:00012348494070:A3i5XY0:1",
"payCurrency": "ETH",
"displayCurrency": "EUR",
"reference": "0000211d-ccc2-4ee5-91d9-8814d8e12842",
"customerId": "0000771c-8bff-4660-9706-497b0f8bf0e3",
"complianceDetails": {
"requesterIpAddress": "172.16.254.1",
"contactId": "0000afcf-17a5-46a4-ac54-80a7d2181011"
}
}
You cannot pass both partyDetails and contactId in the same request; doing so will return an error.
The platform resolves the contact and validates its details against the Travel Rule requirements when the payment is created. If the request includes a customerId, the contact must also belong to that customer.
For details on the specific validation requirements for each payment type, see:
- Provide additional party information for crypto and stablecoin payment requirements under the Travel Rule.
- Send payments via virtual accounts for beneficiary bank account and address requirements when sending fiat payments.