curl --request POST \
--url https://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken} \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"number": "002320275621938815",
"currency": "MXN",
"country": "MX"
}
'import requests
url = "https://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}"
payload = {
"number": "002320275621938815",
"currency": "MXN",
"country": "MX"
}
headers = {
"api_key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {api_key: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({number: '002320275621938815', currency: 'MXN', country: 'MX'})
};
fetch('https://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}', 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://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}",
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([
'number' => '002320275621938815',
'currency' => 'MXN',
'country' => 'MX'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}"
payload := strings.NewReader("{\n \"number\": \"002320275621938815\",\n \"currency\": \"MXN\",\n \"country\": \"MX\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("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.post("https://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}")
.header("api_key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"number\": \"002320275621938815\",\n \"currency\": \"MXN\",\n \"country\": \"MX\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api_key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"number\": \"002320275621938815\",\n \"currency\": \"MXN\",\n \"country\": \"MX\"\n}"
response = http.request(request)
puts response.read_body{
"id": "6d41ada5-4ecd-4bc4-a561-9a0577a39da7",
"status": "Created",
"name": "UBN-7890",
"isPrimary": false,
"createdAt": "2026-04-13T17:47:35.667Z"
}{
"reason": "UBN validation failed or duplicate account."
}{
"reason": "Missing or invalid API key"
}{
"code": "<string>",
"reason": "<string>",
"detail": "<string>"
}{
"reason": "An unhandled error has occurred"
}Add UBN account
Adds a UBN account as a new receiving method.
curl --request POST \
--url https://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken} \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"number": "002320275621938815",
"currency": "MXN",
"country": "MX"
}
'import requests
url = "https://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}"
payload = {
"number": "002320275621938815",
"currency": "MXN",
"country": "MX"
}
headers = {
"api_key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {api_key: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({number: '002320275621938815', currency: 'MXN', country: 'MX'})
};
fetch('https://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}', 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://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}",
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([
'number' => '002320275621938815',
'currency' => 'MXN',
'country' => 'MX'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}"
payload := strings.NewReader("{\n \"number\": \"002320275621938815\",\n \"currency\": \"MXN\",\n \"country\": \"MX\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("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.post("https://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}")
.header("api_key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"number\": \"002320275621938815\",\n \"currency\": \"MXN\",\n \"country\": \"MX\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://raas-partner-cv.nomas.cash/v1/user/funding/source/ubn-account/add/{userToken}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api_key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"number\": \"002320275621938815\",\n \"currency\": \"MXN\",\n \"country\": \"MX\"\n}"
response = http.request(request)
puts response.read_body{
"id": "6d41ada5-4ecd-4bc4-a561-9a0577a39da7",
"status": "Created",
"name": "UBN-7890",
"isPrimary": false,
"createdAt": "2026-04-13T17:47:35.667Z"
}{
"reason": "UBN validation failed or duplicate account."
}{
"reason": "Missing or invalid API key"
}{
"code": "<string>",
"reason": "<string>",
"detail": "<string>"
}{
"reason": "An unhandled error has occurred"
}Authorizations
Path Parameters
User token.
Body
Validated payload with required parameters.
Response
200 — OK. UBN added.
Scenarios for this response:
| Scenario | How to reproduce | Typical code / body |
|---|---|---|
| Valid UBN | Valid user + subscriber + accepted UBN. | AddPaymentMethodResponse |
See also Full scenario matrix.
Payment method ID
Example: pm_1234567890.
Payment method status
Created, Validated, Blocked, Validating, Removed, Disconnected, ValidationNotApproved, ValidatedPull, ValidatedPush, ValidatedPullAndPush Payment method name
Example: VISA-1234.
Payment method type
Example: DebitCard, CreditCard.
Is primary payment method?
Example: true for primary payment method, false for secondary payment method.
Created at
Example: 2021-01-01T00:00:00Z.
Updated at
Example: 2021-01-01T00:00:00Z.
Country code
ISO 3166-1 alpha-2 format.
Example: US for United States, MX for Mexico.
Currency code
ISO 4217 format.
Example: USD for United States Dollar, MXN for Mexican Peso.
Address latitude
Example: 37.774929.
Address longitude
Example: -122.419416.
Card type
Example: DebitCard, CreditCard.
Card holder name
Example: John Doe.
Card expiration date
Example: 0631.
Card expiration year
Example: 31.
Card expiration month
Example: 06.
Tokenized Card CVV/CVC code by VGS.
Example: tok_sandbox_brucMoj9eTJR3xhqdmM4AQ.
Card network
Example: Visa, MasterCard, American Express, Discover, Diners Club, JCB, UnionPay, Maestro, Mir, Verve, Troy, UATP.
If Credit/Debit Card allows pull cross border.
If Credit/Debit Card allows pull domestic.
If Credit/Debit Card allows push cross border.
If Credit/Debit Card allows push domestic.
If Credit/Debit Card allows review address.
Account ID associated with the payment method.
Bank entity number
External ID associated with the payment method.