curl --request PUT \
--url https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"sessionExpiredRedirectUrl": "https://app.example.com/transfer",
"supportEmail": "support@example.com",
"supportWhatsappNumber": "+14155550123",
"requestMoney": {
"landingBaseUrl": "https://app.example.com/pay",
"whatsappBaseUrl": "https://wa.me/502123456789",
"whatsappMessageTemplate": "Pay {{referenceId}} here: {{landingLink}}",
"defaultAllowAmountEdit": false,
"defaultAllowPayoutEdit": false,
"defaultAllowDestinationCurrencyEdit": false
},
"flowDomains": {
"smart": "https://enviar.cliente.com"
}
}
'import requests
url = "https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings"
payload = {
"sessionExpiredRedirectUrl": "https://app.example.com/transfer",
"supportEmail": "support@example.com",
"supportWhatsappNumber": "+14155550123",
"requestMoney": {
"landingBaseUrl": "https://app.example.com/pay",
"whatsappBaseUrl": "https://wa.me/502123456789",
"whatsappMessageTemplate": "Pay {{referenceId}} here: {{landingLink}}",
"defaultAllowAmountEdit": False,
"defaultAllowPayoutEdit": False,
"defaultAllowDestinationCurrencyEdit": False
},
"flowDomains": { "smart": "https://enviar.cliente.com" }
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sessionExpiredRedirectUrl: 'https://app.example.com/transfer',
supportEmail: 'support@example.com',
supportWhatsappNumber: '+14155550123',
requestMoney: {
landingBaseUrl: 'https://app.example.com/pay',
whatsappBaseUrl: 'https://wa.me/502123456789',
whatsappMessageTemplate: 'Pay {{referenceId}} here: {{landingLink}}',
defaultAllowAmountEdit: false,
defaultAllowPayoutEdit: false,
defaultAllowDestinationCurrencyEdit: false
},
flowDomains: {smart: 'https://enviar.cliente.com'}
})
};
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 => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'sessionExpiredRedirectUrl' => 'https://app.example.com/transfer',
'supportEmail' => 'support@example.com',
'supportWhatsappNumber' => '+14155550123',
'requestMoney' => [
'landingBaseUrl' => 'https://app.example.com/pay',
'whatsappBaseUrl' => 'https://wa.me/502123456789',
'whatsappMessageTemplate' => 'Pay {{referenceId}} here: {{landingLink}}',
'defaultAllowAmountEdit' => false,
'defaultAllowPayoutEdit' => false,
'defaultAllowDestinationCurrencyEdit' => false
],
'flowDomains' => [
'smart' => 'https://enviar.cliente.com'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings"
payload := strings.NewReader("{\n \"sessionExpiredRedirectUrl\": \"https://app.example.com/transfer\",\n \"supportEmail\": \"support@example.com\",\n \"supportWhatsappNumber\": \"+14155550123\",\n \"requestMoney\": {\n \"landingBaseUrl\": \"https://app.example.com/pay\",\n \"whatsappBaseUrl\": \"https://wa.me/502123456789\",\n \"whatsappMessageTemplate\": \"Pay {{referenceId}} here: {{landingLink}}\",\n \"defaultAllowAmountEdit\": false,\n \"defaultAllowPayoutEdit\": false,\n \"defaultAllowDestinationCurrencyEdit\": false\n },\n \"flowDomains\": {\n \"smart\": \"https://enviar.cliente.com\"\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.put("https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"sessionExpiredRedirectUrl\": \"https://app.example.com/transfer\",\n \"supportEmail\": \"support@example.com\",\n \"supportWhatsappNumber\": \"+14155550123\",\n \"requestMoney\": {\n \"landingBaseUrl\": \"https://app.example.com/pay\",\n \"whatsappBaseUrl\": \"https://wa.me/502123456789\",\n \"whatsappMessageTemplate\": \"Pay {{referenceId}} here: {{landingLink}}\",\n \"defaultAllowAmountEdit\": false,\n \"defaultAllowPayoutEdit\": false,\n \"defaultAllowDestinationCurrencyEdit\": false\n },\n \"flowDomains\": {\n \"smart\": \"https://enviar.cliente.com\"\n }\n}")
.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::Put.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sessionExpiredRedirectUrl\": \"https://app.example.com/transfer\",\n \"supportEmail\": \"support@example.com\",\n \"supportWhatsappNumber\": \"+14155550123\",\n \"requestMoney\": {\n \"landingBaseUrl\": \"https://app.example.com/pay\",\n \"whatsappBaseUrl\": \"https://wa.me/502123456789\",\n \"whatsappMessageTemplate\": \"Pay {{referenceId}} here: {{landingLink}}\",\n \"defaultAllowAmountEdit\": false,\n \"defaultAllowPayoutEdit\": false,\n \"defaultAllowDestinationCurrencyEdit\": false\n },\n \"flowDomains\": {\n \"smart\": \"https://enviar.cliente.com\"\n }\n}"
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": {}
}
}
]
}Update partner settings
curl --request PUT \
--url https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"sessionExpiredRedirectUrl": "https://app.example.com/transfer",
"supportEmail": "support@example.com",
"supportWhatsappNumber": "+14155550123",
"requestMoney": {
"landingBaseUrl": "https://app.example.com/pay",
"whatsappBaseUrl": "https://wa.me/502123456789",
"whatsappMessageTemplate": "Pay {{referenceId}} here: {{landingLink}}",
"defaultAllowAmountEdit": false,
"defaultAllowPayoutEdit": false,
"defaultAllowDestinationCurrencyEdit": false
},
"flowDomains": {
"smart": "https://enviar.cliente.com"
}
}
'import requests
url = "https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings"
payload = {
"sessionExpiredRedirectUrl": "https://app.example.com/transfer",
"supportEmail": "support@example.com",
"supportWhatsappNumber": "+14155550123",
"requestMoney": {
"landingBaseUrl": "https://app.example.com/pay",
"whatsappBaseUrl": "https://wa.me/502123456789",
"whatsappMessageTemplate": "Pay {{referenceId}} here: {{landingLink}}",
"defaultAllowAmountEdit": False,
"defaultAllowPayoutEdit": False,
"defaultAllowDestinationCurrencyEdit": False
},
"flowDomains": { "smart": "https://enviar.cliente.com" }
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sessionExpiredRedirectUrl: 'https://app.example.com/transfer',
supportEmail: 'support@example.com',
supportWhatsappNumber: '+14155550123',
requestMoney: {
landingBaseUrl: 'https://app.example.com/pay',
whatsappBaseUrl: 'https://wa.me/502123456789',
whatsappMessageTemplate: 'Pay {{referenceId}} here: {{landingLink}}',
defaultAllowAmountEdit: false,
defaultAllowPayoutEdit: false,
defaultAllowDestinationCurrencyEdit: false
},
flowDomains: {smart: 'https://enviar.cliente.com'}
})
};
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 => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'sessionExpiredRedirectUrl' => 'https://app.example.com/transfer',
'supportEmail' => 'support@example.com',
'supportWhatsappNumber' => '+14155550123',
'requestMoney' => [
'landingBaseUrl' => 'https://app.example.com/pay',
'whatsappBaseUrl' => 'https://wa.me/502123456789',
'whatsappMessageTemplate' => 'Pay {{referenceId}} here: {{landingLink}}',
'defaultAllowAmountEdit' => false,
'defaultAllowPayoutEdit' => false,
'defaultAllowDestinationCurrencyEdit' => false
],
'flowDomains' => [
'smart' => 'https://enviar.cliente.com'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings"
payload := strings.NewReader("{\n \"sessionExpiredRedirectUrl\": \"https://app.example.com/transfer\",\n \"supportEmail\": \"support@example.com\",\n \"supportWhatsappNumber\": \"+14155550123\",\n \"requestMoney\": {\n \"landingBaseUrl\": \"https://app.example.com/pay\",\n \"whatsappBaseUrl\": \"https://wa.me/502123456789\",\n \"whatsappMessageTemplate\": \"Pay {{referenceId}} here: {{landingLink}}\",\n \"defaultAllowAmountEdit\": false,\n \"defaultAllowPayoutEdit\": false,\n \"defaultAllowDestinationCurrencyEdit\": false\n },\n \"flowDomains\": {\n \"smart\": \"https://enviar.cliente.com\"\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.put("https://api.sandbox.raas-widgets.leapfinancial.com/partner/settings")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"sessionExpiredRedirectUrl\": \"https://app.example.com/transfer\",\n \"supportEmail\": \"support@example.com\",\n \"supportWhatsappNumber\": \"+14155550123\",\n \"requestMoney\": {\n \"landingBaseUrl\": \"https://app.example.com/pay\",\n \"whatsappBaseUrl\": \"https://wa.me/502123456789\",\n \"whatsappMessageTemplate\": \"Pay {{referenceId}} here: {{landingLink}}\",\n \"defaultAllowAmountEdit\": false,\n \"defaultAllowPayoutEdit\": false,\n \"defaultAllowDestinationCurrencyEdit\": false\n },\n \"flowDomains\": {\n \"smart\": \"https://enviar.cliente.com\"\n }\n}")
.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::Put.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sessionExpiredRedirectUrl\": \"https://app.example.com/transfer\",\n \"supportEmail\": \"support@example.com\",\n \"supportWhatsappNumber\": \"+14155550123\",\n \"requestMoney\": {\n \"landingBaseUrl\": \"https://app.example.com/pay\",\n \"whatsappBaseUrl\": \"https://wa.me/502123456789\",\n \"whatsappMessageTemplate\": \"Pay {{referenceId}} here: {{landingLink}}\",\n \"defaultAllowAmountEdit\": false,\n \"defaultAllowPayoutEdit\": false,\n \"defaultAllowDestinationCurrencyEdit\": false\n },\n \"flowDomains\": {\n \"smart\": \"https://enviar.cliente.com\"\n }\n}"
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.
Body
URL to redirect users when their session expires. Set to null to clear.
"https://app.example.com/transfer"
Support contact email shown in the widget. Set to null to clear.
"support@example.com"
Support WhatsApp number in E.164 format. Set to null to clear.
"+14155550123"
Request Money API link configuration (landingLink and waLink).
Show child attributes
Show child attributes
Complete map of canonical flow slug → custom widget base URL. Null or empty string clears that slug. Omitted keys are removed.
Show child attributes
Show child attributes
{ "smart": "https://enviar.cliente.com" }
Response
Partner settings updated
URL to redirect users when their session expires
"https://app.example.com/transfer"
Support contact email shown in the widget
"support@example.com"
Support WhatsApp number in E.164 format
"+14155550123"
Public URL for the partner logo shown in widgets
"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