Create business user
curl --request POST \
--url https://sandbox-revo-api.raliopay.com/api/v1/account/business-user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"businessActivity": {
"businessNature": "Online retail of electronic products",
"industryType": "ECOMMERCE",
"revenueModel": "Direct sales to consumers",
"companySize": {
"branchesInCountry": 3,
"branchesOutsideCountry": 1,
"totalEmployees": 25
},
"existingProviders": {
"banks": [
"Santander",
"BBVA"
],
"psps": [
"Stripe",
"PayPal"
]
},
"expectedMonthlyVolume": "50K_TO_250K",
"fundsFlow": {
"inwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
],
"outwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
]
},
"industryTypeOther": "Digital Marketing",
"msbRelationship": {
"purposeOfTransactions": "Payment for goods and services",
"targetClients": "B2C consumers in Europe"
},
"productsAndServices": [
"Electronics",
"Accessories",
"Software"
],
"revenueBreakdown": [
{
"percentage": 60,
"productOrService": "Electronics"
}
]
},
"company": {
"addresses": {
"operational": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
},
"registered": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
}
},
"contact": {
"email": "contact@acmecorp.com",
"mobileCountryCode": "ES",
"mobileNumber": "+34612345678",
"phoneNumber": "+34912345678",
"phoneNumberCountry": "ES"
},
"incorporation": {
"constitutionType": "LLC",
"country": "ES",
"date": "2020-01-15",
"documentNumber": "B12345678",
"constitutionTypeOther": "Joint Venture"
},
"legalName": "Acme Corporation S.L.",
"website": "https://www.acmecorp.com",
"aliasName": "Acme Corp"
}
}
'import requests
url = "https://sandbox-revo-api.raliopay.com/api/v1/account/business-user"
payload = {
"businessActivity": {
"businessNature": "Online retail of electronic products",
"industryType": "ECOMMERCE",
"revenueModel": "Direct sales to consumers",
"companySize": {
"branchesInCountry": 3,
"branchesOutsideCountry": 1,
"totalEmployees": 25
},
"existingProviders": {
"banks": ["Santander", "BBVA"],
"psps": ["Stripe", "PayPal"]
},
"expectedMonthlyVolume": "50K_TO_250K",
"fundsFlow": {
"inwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
],
"outwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
]
},
"industryTypeOther": "Digital Marketing",
"msbRelationship": {
"purposeOfTransactions": "Payment for goods and services",
"targetClients": "B2C consumers in Europe"
},
"productsAndServices": ["Electronics", "Accessories", "Software"],
"revenueBreakdown": [
{
"percentage": 60,
"productOrService": "Electronics"
}
]
},
"company": {
"addresses": {
"operational": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
},
"registered": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
}
},
"contact": {
"email": "contact@acmecorp.com",
"mobileCountryCode": "ES",
"mobileNumber": "+34612345678",
"phoneNumber": "+34912345678",
"phoneNumberCountry": "ES"
},
"incorporation": {
"constitutionType": "LLC",
"country": "ES",
"date": "2020-01-15",
"documentNumber": "B12345678",
"constitutionTypeOther": "Joint Venture"
},
"legalName": "Acme Corporation S.L.",
"website": "https://www.acmecorp.com",
"aliasName": "Acme Corp"
}
}
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({
businessActivity: {
businessNature: 'Online retail of electronic products',
industryType: 'ECOMMERCE',
revenueModel: 'Direct sales to consumers',
companySize: {branchesInCountry: 3, branchesOutsideCountry: 1, totalEmployees: 25},
existingProviders: {banks: ['Santander', 'BBVA'], psps: ['Stripe', 'PayPal']},
expectedMonthlyVolume: '50K_TO_250K',
fundsFlow: {
inwardsPayments: [{country: 'ES', percentage: 70, productSector: 'Electronics'}],
outwardsPayments: [{country: 'ES', percentage: 70, productSector: 'Electronics'}]
},
industryTypeOther: 'Digital Marketing',
msbRelationship: {
purposeOfTransactions: 'Payment for goods and services',
targetClients: 'B2C consumers in Europe'
},
productsAndServices: ['Electronics', 'Accessories', 'Software'],
revenueBreakdown: [{percentage: 60, productOrService: 'Electronics'}]
},
company: {
addresses: {
operational: {
city: 'Madrid',
country: 'ES',
line1: 'Calle Gran Via 123',
postalCode: '28013',
province: 'Madrid'
},
registered: {
city: 'Madrid',
country: 'ES',
line1: 'Calle Gran Via 123',
postalCode: '28013',
province: 'Madrid'
}
},
contact: {
email: 'contact@acmecorp.com',
mobileCountryCode: 'ES',
mobileNumber: '+34612345678',
phoneNumber: '+34912345678',
phoneNumberCountry: 'ES'
},
incorporation: {
constitutionType: 'LLC',
country: 'ES',
date: '2020-01-15',
documentNumber: 'B12345678',
constitutionTypeOther: 'Joint Venture'
},
legalName: 'Acme Corporation S.L.',
website: 'https://www.acmecorp.com',
aliasName: 'Acme Corp'
}
})
};
fetch('https://sandbox-revo-api.raliopay.com/api/v1/account/business-user', 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://sandbox-revo-api.raliopay.com/api/v1/account/business-user",
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([
'businessActivity' => [
'businessNature' => 'Online retail of electronic products',
'industryType' => 'ECOMMERCE',
'revenueModel' => 'Direct sales to consumers',
'companySize' => [
'branchesInCountry' => 3,
'branchesOutsideCountry' => 1,
'totalEmployees' => 25
],
'existingProviders' => [
'banks' => [
'Santander',
'BBVA'
],
'psps' => [
'Stripe',
'PayPal'
]
],
'expectedMonthlyVolume' => '50K_TO_250K',
'fundsFlow' => [
'inwardsPayments' => [
[
'country' => 'ES',
'percentage' => 70,
'productSector' => 'Electronics'
]
],
'outwardsPayments' => [
[
'country' => 'ES',
'percentage' => 70,
'productSector' => 'Electronics'
]
]
],
'industryTypeOther' => 'Digital Marketing',
'msbRelationship' => [
'purposeOfTransactions' => 'Payment for goods and services',
'targetClients' => 'B2C consumers in Europe'
],
'productsAndServices' => [
'Electronics',
'Accessories',
'Software'
],
'revenueBreakdown' => [
[
'percentage' => 60,
'productOrService' => 'Electronics'
]
]
],
'company' => [
'addresses' => [
'operational' => [
'city' => 'Madrid',
'country' => 'ES',
'line1' => 'Calle Gran Via 123',
'postalCode' => '28013',
'province' => 'Madrid'
],
'registered' => [
'city' => 'Madrid',
'country' => 'ES',
'line1' => 'Calle Gran Via 123',
'postalCode' => '28013',
'province' => 'Madrid'
]
],
'contact' => [
'email' => 'contact@acmecorp.com',
'mobileCountryCode' => 'ES',
'mobileNumber' => '+34612345678',
'phoneNumber' => '+34912345678',
'phoneNumberCountry' => 'ES'
],
'incorporation' => [
'constitutionType' => 'LLC',
'country' => 'ES',
'date' => '2020-01-15',
'documentNumber' => 'B12345678',
'constitutionTypeOther' => 'Joint Venture'
],
'legalName' => 'Acme Corporation S.L.',
'website' => 'https://www.acmecorp.com',
'aliasName' => 'Acme Corp'
]
]),
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://sandbox-revo-api.raliopay.com/api/v1/account/business-user"
payload := strings.NewReader("{\n \"businessActivity\": {\n \"businessNature\": \"Online retail of electronic products\",\n \"industryType\": \"ECOMMERCE\",\n \"revenueModel\": \"Direct sales to consumers\",\n \"companySize\": {\n \"branchesInCountry\": 3,\n \"branchesOutsideCountry\": 1,\n \"totalEmployees\": 25\n },\n \"existingProviders\": {\n \"banks\": [\n \"Santander\",\n \"BBVA\"\n ],\n \"psps\": [\n \"Stripe\",\n \"PayPal\"\n ]\n },\n \"expectedMonthlyVolume\": \"50K_TO_250K\",\n \"fundsFlow\": {\n \"inwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ],\n \"outwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ]\n },\n \"industryTypeOther\": \"Digital Marketing\",\n \"msbRelationship\": {\n \"purposeOfTransactions\": \"Payment for goods and services\",\n \"targetClients\": \"B2C consumers in Europe\"\n },\n \"productsAndServices\": [\n \"Electronics\",\n \"Accessories\",\n \"Software\"\n ],\n \"revenueBreakdown\": [\n {\n \"percentage\": 60,\n \"productOrService\": \"Electronics\"\n }\n ]\n },\n \"company\": {\n \"addresses\": {\n \"operational\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n },\n \"registered\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n }\n },\n \"contact\": {\n \"email\": \"contact@acmecorp.com\",\n \"mobileCountryCode\": \"ES\",\n \"mobileNumber\": \"+34612345678\",\n \"phoneNumber\": \"+34912345678\",\n \"phoneNumberCountry\": \"ES\"\n },\n \"incorporation\": {\n \"constitutionType\": \"LLC\",\n \"country\": \"ES\",\n \"date\": \"2020-01-15\",\n \"documentNumber\": \"B12345678\",\n \"constitutionTypeOther\": \"Joint Venture\"\n },\n \"legalName\": \"Acme Corporation S.L.\",\n \"website\": \"https://www.acmecorp.com\",\n \"aliasName\": \"Acme Corp\"\n }\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://sandbox-revo-api.raliopay.com/api/v1/account/business-user")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"businessActivity\": {\n \"businessNature\": \"Online retail of electronic products\",\n \"industryType\": \"ECOMMERCE\",\n \"revenueModel\": \"Direct sales to consumers\",\n \"companySize\": {\n \"branchesInCountry\": 3,\n \"branchesOutsideCountry\": 1,\n \"totalEmployees\": 25\n },\n \"existingProviders\": {\n \"banks\": [\n \"Santander\",\n \"BBVA\"\n ],\n \"psps\": [\n \"Stripe\",\n \"PayPal\"\n ]\n },\n \"expectedMonthlyVolume\": \"50K_TO_250K\",\n \"fundsFlow\": {\n \"inwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ],\n \"outwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ]\n },\n \"industryTypeOther\": \"Digital Marketing\",\n \"msbRelationship\": {\n \"purposeOfTransactions\": \"Payment for goods and services\",\n \"targetClients\": \"B2C consumers in Europe\"\n },\n \"productsAndServices\": [\n \"Electronics\",\n \"Accessories\",\n \"Software\"\n ],\n \"revenueBreakdown\": [\n {\n \"percentage\": 60,\n \"productOrService\": \"Electronics\"\n }\n ]\n },\n \"company\": {\n \"addresses\": {\n \"operational\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n },\n \"registered\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n }\n },\n \"contact\": {\n \"email\": \"contact@acmecorp.com\",\n \"mobileCountryCode\": \"ES\",\n \"mobileNumber\": \"+34612345678\",\n \"phoneNumber\": \"+34912345678\",\n \"phoneNumberCountry\": \"ES\"\n },\n \"incorporation\": {\n \"constitutionType\": \"LLC\",\n \"country\": \"ES\",\n \"date\": \"2020-01-15\",\n \"documentNumber\": \"B12345678\",\n \"constitutionTypeOther\": \"Joint Venture\"\n },\n \"legalName\": \"Acme Corporation S.L.\",\n \"website\": \"https://www.acmecorp.com\",\n \"aliasName\": \"Acme Corp\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-revo-api.raliopay.com/api/v1/account/business-user")
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 \"businessActivity\": {\n \"businessNature\": \"Online retail of electronic products\",\n \"industryType\": \"ECOMMERCE\",\n \"revenueModel\": \"Direct sales to consumers\",\n \"companySize\": {\n \"branchesInCountry\": 3,\n \"branchesOutsideCountry\": 1,\n \"totalEmployees\": 25\n },\n \"existingProviders\": {\n \"banks\": [\n \"Santander\",\n \"BBVA\"\n ],\n \"psps\": [\n \"Stripe\",\n \"PayPal\"\n ]\n },\n \"expectedMonthlyVolume\": \"50K_TO_250K\",\n \"fundsFlow\": {\n \"inwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ],\n \"outwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ]\n },\n \"industryTypeOther\": \"Digital Marketing\",\n \"msbRelationship\": {\n \"purposeOfTransactions\": \"Payment for goods and services\",\n \"targetClients\": \"B2C consumers in Europe\"\n },\n \"productsAndServices\": [\n \"Electronics\",\n \"Accessories\",\n \"Software\"\n ],\n \"revenueBreakdown\": [\n {\n \"percentage\": 60,\n \"productOrService\": \"Electronics\"\n }\n ]\n },\n \"company\": {\n \"addresses\": {\n \"operational\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n },\n \"registered\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n }\n },\n \"contact\": {\n \"email\": \"contact@acmecorp.com\",\n \"mobileCountryCode\": \"ES\",\n \"mobileNumber\": \"+34612345678\",\n \"phoneNumber\": \"+34912345678\",\n \"phoneNumberCountry\": \"ES\"\n },\n \"incorporation\": {\n \"constitutionType\": \"LLC\",\n \"country\": \"ES\",\n \"date\": \"2020-01-15\",\n \"documentNumber\": \"B12345678\",\n \"constitutionTypeOther\": \"Joint Venture\"\n },\n \"legalName\": \"Acme Corporation S.L.\",\n \"website\": \"https://www.acmecorp.com\",\n \"aliasName\": \"Acme Corp\"\n }\n}"
response = http.request(request)
puts response.read_body{
"businessActivity": {
"businessNature": "Online retail of electronic products",
"companySize": {
"branchesInCountry": 3,
"branchesOutsideCountry": 1,
"totalEmployees": 25
},
"existingProviders": {
"banks": [
"Santander",
"BBVA"
],
"psps": [
"Stripe",
"PayPal"
]
},
"expectedMonthlyVolume": "50K_TO_250K",
"fundsFlow": {
"inwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
],
"outwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
]
},
"industryType": "ECOMMERCE",
"industryTypeOther": "Digital Marketing",
"msbRelationship": {
"purposeOfTransactions": "Payment for goods and services",
"targetClients": "B2C consumers in Europe"
},
"productsAndServices": [
"Electronics",
"Accessories",
"Software"
],
"revenueBreakdown": [
{
"percentage": 60,
"productOrService": "Electronics"
}
],
"revenueModel": "Direct sales to consumers"
},
"company": {
"addresses": {
"operational": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
},
"registered": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
}
},
"aliasName": "Acme Corp",
"contact": {
"email": "contact@acmecorp.com",
"mobileCountryCode": "ES",
"mobileNumber": "+34612345678",
"phoneNumber": "+34912345678",
"phoneNumberCountry": "ES"
},
"incorporation": {
"constitutionType": "LLC",
"constitutionTypeOther": "Joint Venture",
"country": "ES",
"date": "2020-01-15",
"documentNumber": "B12345678"
},
"legalName": "Acme Corporation S.L.",
"website": "https://www.acmecorp.com"
},
"id": "550e8400-e29b-41d4-a716-446655440000",
"kybLevel": "REGULAR"
}{
"error": {
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"message": "<string>"
}
}{
"error": {
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"message": "<string>"
}
}{
"error": {
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"message": "<string>"
}
}Business users
Create business user
Create a new business user account with extended company information
POST
/
api
/
v1
/
account
/
business-user
Create business user
curl --request POST \
--url https://sandbox-revo-api.raliopay.com/api/v1/account/business-user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"businessActivity": {
"businessNature": "Online retail of electronic products",
"industryType": "ECOMMERCE",
"revenueModel": "Direct sales to consumers",
"companySize": {
"branchesInCountry": 3,
"branchesOutsideCountry": 1,
"totalEmployees": 25
},
"existingProviders": {
"banks": [
"Santander",
"BBVA"
],
"psps": [
"Stripe",
"PayPal"
]
},
"expectedMonthlyVolume": "50K_TO_250K",
"fundsFlow": {
"inwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
],
"outwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
]
},
"industryTypeOther": "Digital Marketing",
"msbRelationship": {
"purposeOfTransactions": "Payment for goods and services",
"targetClients": "B2C consumers in Europe"
},
"productsAndServices": [
"Electronics",
"Accessories",
"Software"
],
"revenueBreakdown": [
{
"percentage": 60,
"productOrService": "Electronics"
}
]
},
"company": {
"addresses": {
"operational": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
},
"registered": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
}
},
"contact": {
"email": "contact@acmecorp.com",
"mobileCountryCode": "ES",
"mobileNumber": "+34612345678",
"phoneNumber": "+34912345678",
"phoneNumberCountry": "ES"
},
"incorporation": {
"constitutionType": "LLC",
"country": "ES",
"date": "2020-01-15",
"documentNumber": "B12345678",
"constitutionTypeOther": "Joint Venture"
},
"legalName": "Acme Corporation S.L.",
"website": "https://www.acmecorp.com",
"aliasName": "Acme Corp"
}
}
'import requests
url = "https://sandbox-revo-api.raliopay.com/api/v1/account/business-user"
payload = {
"businessActivity": {
"businessNature": "Online retail of electronic products",
"industryType": "ECOMMERCE",
"revenueModel": "Direct sales to consumers",
"companySize": {
"branchesInCountry": 3,
"branchesOutsideCountry": 1,
"totalEmployees": 25
},
"existingProviders": {
"banks": ["Santander", "BBVA"],
"psps": ["Stripe", "PayPal"]
},
"expectedMonthlyVolume": "50K_TO_250K",
"fundsFlow": {
"inwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
],
"outwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
]
},
"industryTypeOther": "Digital Marketing",
"msbRelationship": {
"purposeOfTransactions": "Payment for goods and services",
"targetClients": "B2C consumers in Europe"
},
"productsAndServices": ["Electronics", "Accessories", "Software"],
"revenueBreakdown": [
{
"percentage": 60,
"productOrService": "Electronics"
}
]
},
"company": {
"addresses": {
"operational": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
},
"registered": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
}
},
"contact": {
"email": "contact@acmecorp.com",
"mobileCountryCode": "ES",
"mobileNumber": "+34612345678",
"phoneNumber": "+34912345678",
"phoneNumberCountry": "ES"
},
"incorporation": {
"constitutionType": "LLC",
"country": "ES",
"date": "2020-01-15",
"documentNumber": "B12345678",
"constitutionTypeOther": "Joint Venture"
},
"legalName": "Acme Corporation S.L.",
"website": "https://www.acmecorp.com",
"aliasName": "Acme Corp"
}
}
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({
businessActivity: {
businessNature: 'Online retail of electronic products',
industryType: 'ECOMMERCE',
revenueModel: 'Direct sales to consumers',
companySize: {branchesInCountry: 3, branchesOutsideCountry: 1, totalEmployees: 25},
existingProviders: {banks: ['Santander', 'BBVA'], psps: ['Stripe', 'PayPal']},
expectedMonthlyVolume: '50K_TO_250K',
fundsFlow: {
inwardsPayments: [{country: 'ES', percentage: 70, productSector: 'Electronics'}],
outwardsPayments: [{country: 'ES', percentage: 70, productSector: 'Electronics'}]
},
industryTypeOther: 'Digital Marketing',
msbRelationship: {
purposeOfTransactions: 'Payment for goods and services',
targetClients: 'B2C consumers in Europe'
},
productsAndServices: ['Electronics', 'Accessories', 'Software'],
revenueBreakdown: [{percentage: 60, productOrService: 'Electronics'}]
},
company: {
addresses: {
operational: {
city: 'Madrid',
country: 'ES',
line1: 'Calle Gran Via 123',
postalCode: '28013',
province: 'Madrid'
},
registered: {
city: 'Madrid',
country: 'ES',
line1: 'Calle Gran Via 123',
postalCode: '28013',
province: 'Madrid'
}
},
contact: {
email: 'contact@acmecorp.com',
mobileCountryCode: 'ES',
mobileNumber: '+34612345678',
phoneNumber: '+34912345678',
phoneNumberCountry: 'ES'
},
incorporation: {
constitutionType: 'LLC',
country: 'ES',
date: '2020-01-15',
documentNumber: 'B12345678',
constitutionTypeOther: 'Joint Venture'
},
legalName: 'Acme Corporation S.L.',
website: 'https://www.acmecorp.com',
aliasName: 'Acme Corp'
}
})
};
fetch('https://sandbox-revo-api.raliopay.com/api/v1/account/business-user', 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://sandbox-revo-api.raliopay.com/api/v1/account/business-user",
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([
'businessActivity' => [
'businessNature' => 'Online retail of electronic products',
'industryType' => 'ECOMMERCE',
'revenueModel' => 'Direct sales to consumers',
'companySize' => [
'branchesInCountry' => 3,
'branchesOutsideCountry' => 1,
'totalEmployees' => 25
],
'existingProviders' => [
'banks' => [
'Santander',
'BBVA'
],
'psps' => [
'Stripe',
'PayPal'
]
],
'expectedMonthlyVolume' => '50K_TO_250K',
'fundsFlow' => [
'inwardsPayments' => [
[
'country' => 'ES',
'percentage' => 70,
'productSector' => 'Electronics'
]
],
'outwardsPayments' => [
[
'country' => 'ES',
'percentage' => 70,
'productSector' => 'Electronics'
]
]
],
'industryTypeOther' => 'Digital Marketing',
'msbRelationship' => [
'purposeOfTransactions' => 'Payment for goods and services',
'targetClients' => 'B2C consumers in Europe'
],
'productsAndServices' => [
'Electronics',
'Accessories',
'Software'
],
'revenueBreakdown' => [
[
'percentage' => 60,
'productOrService' => 'Electronics'
]
]
],
'company' => [
'addresses' => [
'operational' => [
'city' => 'Madrid',
'country' => 'ES',
'line1' => 'Calle Gran Via 123',
'postalCode' => '28013',
'province' => 'Madrid'
],
'registered' => [
'city' => 'Madrid',
'country' => 'ES',
'line1' => 'Calle Gran Via 123',
'postalCode' => '28013',
'province' => 'Madrid'
]
],
'contact' => [
'email' => 'contact@acmecorp.com',
'mobileCountryCode' => 'ES',
'mobileNumber' => '+34612345678',
'phoneNumber' => '+34912345678',
'phoneNumberCountry' => 'ES'
],
'incorporation' => [
'constitutionType' => 'LLC',
'country' => 'ES',
'date' => '2020-01-15',
'documentNumber' => 'B12345678',
'constitutionTypeOther' => 'Joint Venture'
],
'legalName' => 'Acme Corporation S.L.',
'website' => 'https://www.acmecorp.com',
'aliasName' => 'Acme Corp'
]
]),
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://sandbox-revo-api.raliopay.com/api/v1/account/business-user"
payload := strings.NewReader("{\n \"businessActivity\": {\n \"businessNature\": \"Online retail of electronic products\",\n \"industryType\": \"ECOMMERCE\",\n \"revenueModel\": \"Direct sales to consumers\",\n \"companySize\": {\n \"branchesInCountry\": 3,\n \"branchesOutsideCountry\": 1,\n \"totalEmployees\": 25\n },\n \"existingProviders\": {\n \"banks\": [\n \"Santander\",\n \"BBVA\"\n ],\n \"psps\": [\n \"Stripe\",\n \"PayPal\"\n ]\n },\n \"expectedMonthlyVolume\": \"50K_TO_250K\",\n \"fundsFlow\": {\n \"inwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ],\n \"outwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ]\n },\n \"industryTypeOther\": \"Digital Marketing\",\n \"msbRelationship\": {\n \"purposeOfTransactions\": \"Payment for goods and services\",\n \"targetClients\": \"B2C consumers in Europe\"\n },\n \"productsAndServices\": [\n \"Electronics\",\n \"Accessories\",\n \"Software\"\n ],\n \"revenueBreakdown\": [\n {\n \"percentage\": 60,\n \"productOrService\": \"Electronics\"\n }\n ]\n },\n \"company\": {\n \"addresses\": {\n \"operational\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n },\n \"registered\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n }\n },\n \"contact\": {\n \"email\": \"contact@acmecorp.com\",\n \"mobileCountryCode\": \"ES\",\n \"mobileNumber\": \"+34612345678\",\n \"phoneNumber\": \"+34912345678\",\n \"phoneNumberCountry\": \"ES\"\n },\n \"incorporation\": {\n \"constitutionType\": \"LLC\",\n \"country\": \"ES\",\n \"date\": \"2020-01-15\",\n \"documentNumber\": \"B12345678\",\n \"constitutionTypeOther\": \"Joint Venture\"\n },\n \"legalName\": \"Acme Corporation S.L.\",\n \"website\": \"https://www.acmecorp.com\",\n \"aliasName\": \"Acme Corp\"\n }\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://sandbox-revo-api.raliopay.com/api/v1/account/business-user")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"businessActivity\": {\n \"businessNature\": \"Online retail of electronic products\",\n \"industryType\": \"ECOMMERCE\",\n \"revenueModel\": \"Direct sales to consumers\",\n \"companySize\": {\n \"branchesInCountry\": 3,\n \"branchesOutsideCountry\": 1,\n \"totalEmployees\": 25\n },\n \"existingProviders\": {\n \"banks\": [\n \"Santander\",\n \"BBVA\"\n ],\n \"psps\": [\n \"Stripe\",\n \"PayPal\"\n ]\n },\n \"expectedMonthlyVolume\": \"50K_TO_250K\",\n \"fundsFlow\": {\n \"inwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ],\n \"outwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ]\n },\n \"industryTypeOther\": \"Digital Marketing\",\n \"msbRelationship\": {\n \"purposeOfTransactions\": \"Payment for goods and services\",\n \"targetClients\": \"B2C consumers in Europe\"\n },\n \"productsAndServices\": [\n \"Electronics\",\n \"Accessories\",\n \"Software\"\n ],\n \"revenueBreakdown\": [\n {\n \"percentage\": 60,\n \"productOrService\": \"Electronics\"\n }\n ]\n },\n \"company\": {\n \"addresses\": {\n \"operational\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n },\n \"registered\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n }\n },\n \"contact\": {\n \"email\": \"contact@acmecorp.com\",\n \"mobileCountryCode\": \"ES\",\n \"mobileNumber\": \"+34612345678\",\n \"phoneNumber\": \"+34912345678\",\n \"phoneNumberCountry\": \"ES\"\n },\n \"incorporation\": {\n \"constitutionType\": \"LLC\",\n \"country\": \"ES\",\n \"date\": \"2020-01-15\",\n \"documentNumber\": \"B12345678\",\n \"constitutionTypeOther\": \"Joint Venture\"\n },\n \"legalName\": \"Acme Corporation S.L.\",\n \"website\": \"https://www.acmecorp.com\",\n \"aliasName\": \"Acme Corp\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox-revo-api.raliopay.com/api/v1/account/business-user")
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 \"businessActivity\": {\n \"businessNature\": \"Online retail of electronic products\",\n \"industryType\": \"ECOMMERCE\",\n \"revenueModel\": \"Direct sales to consumers\",\n \"companySize\": {\n \"branchesInCountry\": 3,\n \"branchesOutsideCountry\": 1,\n \"totalEmployees\": 25\n },\n \"existingProviders\": {\n \"banks\": [\n \"Santander\",\n \"BBVA\"\n ],\n \"psps\": [\n \"Stripe\",\n \"PayPal\"\n ]\n },\n \"expectedMonthlyVolume\": \"50K_TO_250K\",\n \"fundsFlow\": {\n \"inwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ],\n \"outwardsPayments\": [\n {\n \"country\": \"ES\",\n \"percentage\": 70,\n \"productSector\": \"Electronics\"\n }\n ]\n },\n \"industryTypeOther\": \"Digital Marketing\",\n \"msbRelationship\": {\n \"purposeOfTransactions\": \"Payment for goods and services\",\n \"targetClients\": \"B2C consumers in Europe\"\n },\n \"productsAndServices\": [\n \"Electronics\",\n \"Accessories\",\n \"Software\"\n ],\n \"revenueBreakdown\": [\n {\n \"percentage\": 60,\n \"productOrService\": \"Electronics\"\n }\n ]\n },\n \"company\": {\n \"addresses\": {\n \"operational\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n },\n \"registered\": {\n \"city\": \"Madrid\",\n \"country\": \"ES\",\n \"line1\": \"Calle Gran Via 123\",\n \"postalCode\": \"28013\",\n \"province\": \"Madrid\"\n }\n },\n \"contact\": {\n \"email\": \"contact@acmecorp.com\",\n \"mobileCountryCode\": \"ES\",\n \"mobileNumber\": \"+34612345678\",\n \"phoneNumber\": \"+34912345678\",\n \"phoneNumberCountry\": \"ES\"\n },\n \"incorporation\": {\n \"constitutionType\": \"LLC\",\n \"country\": \"ES\",\n \"date\": \"2020-01-15\",\n \"documentNumber\": \"B12345678\",\n \"constitutionTypeOther\": \"Joint Venture\"\n },\n \"legalName\": \"Acme Corporation S.L.\",\n \"website\": \"https://www.acmecorp.com\",\n \"aliasName\": \"Acme Corp\"\n }\n}"
response = http.request(request)
puts response.read_body{
"businessActivity": {
"businessNature": "Online retail of electronic products",
"companySize": {
"branchesInCountry": 3,
"branchesOutsideCountry": 1,
"totalEmployees": 25
},
"existingProviders": {
"banks": [
"Santander",
"BBVA"
],
"psps": [
"Stripe",
"PayPal"
]
},
"expectedMonthlyVolume": "50K_TO_250K",
"fundsFlow": {
"inwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
],
"outwardsPayments": [
{
"country": "ES",
"percentage": 70,
"productSector": "Electronics"
}
]
},
"industryType": "ECOMMERCE",
"industryTypeOther": "Digital Marketing",
"msbRelationship": {
"purposeOfTransactions": "Payment for goods and services",
"targetClients": "B2C consumers in Europe"
},
"productsAndServices": [
"Electronics",
"Accessories",
"Software"
],
"revenueBreakdown": [
{
"percentage": 60,
"productOrService": "Electronics"
}
],
"revenueModel": "Direct sales to consumers"
},
"company": {
"addresses": {
"operational": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
},
"registered": {
"city": "Madrid",
"country": "ES",
"line1": "Calle Gran Via 123",
"postalCode": "28013",
"province": "Madrid"
}
},
"aliasName": "Acme Corp",
"contact": {
"email": "contact@acmecorp.com",
"mobileCountryCode": "ES",
"mobileNumber": "+34612345678",
"phoneNumber": "+34912345678",
"phoneNumberCountry": "ES"
},
"incorporation": {
"constitutionType": "LLC",
"constitutionTypeOther": "Joint Venture",
"country": "ES",
"date": "2020-01-15",
"documentNumber": "B12345678"
},
"legalName": "Acme Corporation S.L.",
"website": "https://www.acmecorp.com"
},
"id": "550e8400-e29b-41d4-a716-446655440000",
"kybLevel": "REGULAR"
}{
"error": {
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"message": "<string>"
}
}{
"error": {
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"message": "<string>"
}
}{
"error": {
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"message": "<string>"
}
}Authorizations
API Key for accessing management endpoints
Body
application/json
Business user details
⌘I