Obtaining lists of partner exchanges

Available API methods

Base URL:

https://your-domain.com

Each endpoint looks like this:

https://your-domain.com/api/v1/{endpoint}
  • All endpoints return time in Unix-time format.

  • Responses comply with the JSON:API.

List of available methods

  • Retrieving the list of partner exchanges (referral exchanges):

Method: “Get list of partner exchanges”

Description:

Returns a list of referral exchanges associated with your partner account.

HTTP method used:

GET /api/v1/partner/referral-exchanges

Headers

Name
Value

X-API-Key

<your_api_key>

Response

Field explanations:

  • is_completed: whether the exchange has completed (boolean)

  • completed_at: completion time (Unix timestamp)

  • created_at: creation time (Unix timestamp)

  • exchange_currency_in: currency the customer gives

  • exchange_currency_out: currency the customer receives

  • exchange_amount: exchange amount

  • referral_reward: referral reward

  • referral_reward_base_currency: referral reward base currency

  • transition_query_params: contains the query parameters passed when a user visits the website through your referral link. You can include your own custom parameters (for example, UTM tags) in the referral link - they will be stored in this field. This allows you to track the source, campaign, medium, and other marketing attributes of the referral traffic.

    • Example:

      • Base referral link:

      • With optional UTM tags:

Last updated