curl --request POST \
--url https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"termsId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ipAddress": "192.168.1.100",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
}
'import requests
url = "https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/"
payload = {
"termsId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ipAddress": "192.168.1.100",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
termsId: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
ipAddress: '192.168.1.100',
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'
})
};
fetch('https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'termsId' => '3fa85f64-5717-4562-b3fc-2c963f66afa6',
'ipAddress' => '192.168.1.100',
'userAgent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/"
payload := strings.NewReader("{\n \"termsId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"ipAddress\": \"192.168.1.100\",\n \"userAgent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"termsId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"ipAddress\": \"192.168.1.100\",\n \"userAgent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"termsId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"ipAddress\": \"192.168.1.100\",\n \"userAgent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\"\n}"
response = http.request(request)
puts response.read_body{
"termsId": "94b302e4-77d4-4627-af36-8265121bef29",
"ipAddress": "1.1.1.1",
"userAgent": null,
"acceptedAt": "2026-02-25T20:29:11.243033Z"
}Accept Terms and Conditions
Records the customer’s acceptance of the active Terms and Conditions for the account’s country. This endpoint is required when the Partner integrates Ramps via API. The customer must accept the T&C before performing on-ramp or off-ramp operations.
Only the active version can be accepted, and an acceptance covers that version alone: when a new version becomes active for the country the customer is blocked again until they accept it, so a termsId cannot be stored and reused. See Terms and Conditions.
curl --request POST \
--url https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"termsId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ipAddress": "192.168.1.100",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
}
'import requests
url = "https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/"
payload = {
"termsId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ipAddress": "192.168.1.100",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
termsId: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
ipAddress: '192.168.1.100',
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'
})
};
fetch('https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'termsId' => '3fa85f64-5717-4562-b3fc-2c963f66afa6',
'ipAddress' => '192.168.1.100',
'userAgent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/"
payload := strings.NewReader("{\n \"termsId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"ipAddress\": \"192.168.1.100\",\n \"userAgent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"termsId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"ipAddress\": \"192.168.1.100\",\n \"userAgent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://skala-sandbox.ripio.com/api/v1/customers/{customerId}/acceptTerms/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"termsId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"ipAddress\": \"192.168.1.100\",\n \"userAgent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\"\n}"
response = http.request(request)
puts response.read_body{
"termsId": "94b302e4-77d4-4627-af36-8265121bef29",
"ipAddress": "1.1.1.1",
"userAgent": null,
"acceptedAt": "2026-02-25T20:29:11.243033Z"
}Authorizations
Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.
Headers
Optional. The public IP address of the end user's device (IPv4 or IPv6), captured on your frontend and forwarded by your backend — never your server's own address. Used for traceability and fraud prevention. An address that is not a valid IPv4 or IPv6 discards the end-user context of the request, without failing it. See Forwarding end-user context.
45Optional. The User-Agent of the end user's browser or app, not your backend's HTTP client. Longer values are truncated to 500 characters. See Forwarding end-user context.
500Optional. A stable identifier of the end user's device, as your app or frontend defines it. Longer values are truncated to 200 characters. See Forwarding end-user context.
200Body
Terms and Conditions acceptance payload.
Response
Terms and Conditions accepted successfully.
Was this page helpful?