Get terms and privacy policy links

​

Returns Terms of Use and Privacy Policy links to display before the payment flow. The set of links depends on whether the user is in the US.

Query Parameters

  • User country code in ISO 3166-1 alpha-2 format used for context resolution (fallback when ip_address is absent)

  • User public IP address used for context resolution (primary signal)

Responses

  • application/json
  • application/json
  • application/json
Request Example for get/widget/terms
curl 'https://sandbox-api.mrcr.io/v1.6/widget/terms?country=US&ip_address=203.0.113.10'
{
  "status": 200,
  "data": {
    "terms": [
      {
        "terms_type": "mercuryo_common",
        "url": "https://mercuryo.io/legal/terms-global/"
      }
    ],
    "privacy": [
      {
        "privacy_type": "mercuryo_common",
        "url": "https://mercuryo.io/legal/privacy/"
      }
    ]
  }
}