Get current partner settings
curl --request GET \
--url https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings', 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://api.sandbox.raas-widgets.leapfinancial.com/partner/settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"sessionExpiredRedirectUrl": "https://app.example.com/transfer",
"supportEmail": "support@example.com",
"supportWhatsappNumber": "+14155550123",
"logoUrl": "https://api.example.com/api/v1/partners/partner_abc123/logo",
"requestMoney": {
"landingBaseUrl": "https://app.example.com/pay",
"whatsappBaseUrl": "https://wa.me/502123456789",
"whatsappMessageTemplate": "Pay {{referenceId}} here: {{landingLink}}",
"defaultAllowAmountEdit": false,
"defaultAllowPayoutEdit": false,
"defaultAllowDestinationCurrencyEdit": false
},
"flowDomains": [
{
"slug": "smart",
"displayName": "Smart",
"platformUrl": "https://smart.widget.example.com",
"effectiveUrl": "https://enviar.cliente.com",
"override": {
"baseUrl": "https://enviar.cliente.com",
"verificationStatus": "verified",
"verificationDetail": {},
"verifiedAt": {}
}
}
]
}Partner - Settings
Get current partner settings
GET
/
partner
/
settings
Get current partner settings
curl --request GET \
--url https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings', 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://api.sandbox.raas-widgets.leapfinancial.com/partner/settings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"sessionExpiredRedirectUrl": "https://app.example.com/transfer",
"supportEmail": "support@example.com",
"supportWhatsappNumber": "+14155550123",
"logoUrl": "https://api.example.com/api/v1/partners/partner_abc123/logo",
"requestMoney": {
"landingBaseUrl": "https://app.example.com/pay",
"whatsappBaseUrl": "https://wa.me/502123456789",
"whatsappMessageTemplate": "Pay {{referenceId}} here: {{landingLink}}",
"defaultAllowAmountEdit": false,
"defaultAllowPayoutEdit": false,
"defaultAllowDestinationCurrencyEdit": false
},
"flowDomains": [
{
"slug": "smart",
"displayName": "Smart",
"platformUrl": "https://smart.widget.example.com",
"effectiveUrl": "https://enviar.cliente.com",
"override": {
"baseUrl": "https://enviar.cliente.com",
"verificationStatus": "verified",
"verificationDetail": {},
"verifiedAt": {}
}
}
]
}Authorizations
Your partner API key. Use raas_sandbox_* keys for the sandbox environment and raas_live_* keys for production.
Response
Partner settings retrieved
URL to redirect users when their session expires
Example:
"https://app.example.com/transfer"
Support contact email shown in the widget
Example:
"support@example.com"
Support WhatsApp number in E.164 format
Example:
"+14155550123"
Public URL for the partner logo shown in widgets
Example:
"https://api.example.com/api/v1/partners/partner_abc123/logo"
Request Money API link configuration
Show child attributes
Show child attributes
Per-flow custom domains with verification status and effective URLs
Show child attributes
Show child attributes