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>.
Path Parameters
Unique identifier for the customer.
Body
Terms and Conditions acceptance payload.
UUID of the Terms and Conditions the customer is accepting.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
IP address of the customer at the time of acceptance.
"192.168.1.100"
User agent string from the customer's browser or app (optional).
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
Response
Terms and Conditions accepted successfully.
UUID of the accepted Terms and Conditions.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
IP address recorded at the time of acceptance.
"192.168.1.100"
Timestamp when the customer accepted the Terms and Conditions.
"2024-06-01T12:00:00Z"
User agent recorded at the time of acceptance. Returns null if not provided in the request.
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
Was this page helpful?