Skip to main content
POST
The x-api-key header value to be used on this API is your partner API key, which can be generated through the dashboard.
This endpoint allows you to link a partner user with a merchant user in the Benji platform. This is essential for enabling reward transactions between the partner and merchant systems.

Request Body

object
required
Partner user information
object
required
Merchant user information

Return values

string
Status code indicating the result of the operation
string
Human-readable message describing the result
object
Response data containing the link information
Anonymous Users: When merchant.user_external_id is not provided, Benji treats this as an anonymous user. This is useful for scenarios where you want to track partner user activity without requiring merchant user identification.
This endpoint establishes the connection required for reward transactions to flow between partner and merchant systems. Make sure both the partner and merchant are properly configured in your Benji account before calling this endpoint.