Register creditor
curl --request POST \
--url https://api.creditor.younegotiate.com/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"name": "Jane Admin",
"email": "jane.admin@example.com",
"password": "Password123!",
"password_confirmation": "Password123!",
"recaptcha": "recaptcha-token",
"terms_and_conditions": true,
"device_name": "Creditor Portal",
"code": "PARTNER-CODE",
"creditor_profile_code": "313233"
}
'import requests
url = "https://api.creditor.younegotiate.com/auth/register"
payload = {
"name": "Jane Admin",
"email": "jane.admin@example.com",
"password": "Password123!",
"password_confirmation": "Password123!",
"recaptcha": "recaptcha-token",
"terms_and_conditions": True,
"device_name": "Creditor Portal",
"code": "PARTNER-CODE",
"creditor_profile_code": "313233"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Jane Admin',
email: 'jane.admin@example.com',
password: 'Password123!',
password_confirmation: 'Password123!',
recaptcha: 'recaptcha-token',
terms_and_conditions: true,
device_name: 'Creditor Portal',
code: 'PARTNER-CODE',
creditor_profile_code: '313233'
})
};
fetch('https://api.creditor.younegotiate.com/auth/register', 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.creditor.younegotiate.com/auth/register",
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([
'name' => 'Jane Admin',
'email' => 'jane.admin@example.com',
'password' => 'Password123!',
'password_confirmation' => 'Password123!',
'recaptcha' => 'recaptcha-token',
'terms_and_conditions' => true,
'device_name' => 'Creditor Portal',
'code' => 'PARTNER-CODE',
'creditor_profile_code' => '313233'
]),
CURLOPT_HTTPHEADER => [
"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://api.creditor.younegotiate.com/auth/register"
payload := strings.NewReader("{\n \"name\": \"Jane Admin\",\n \"email\": \"jane.admin@example.com\",\n \"password\": \"Password123!\",\n \"password_confirmation\": \"Password123!\",\n \"recaptcha\": \"recaptcha-token\",\n \"terms_and_conditions\": true,\n \"device_name\": \"Creditor Portal\",\n \"code\": \"PARTNER-CODE\",\n \"creditor_profile_code\": \"313233\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://api.creditor.younegotiate.com/auth/register")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Jane Admin\",\n \"email\": \"jane.admin@example.com\",\n \"password\": \"Password123!\",\n \"password_confirmation\": \"Password123!\",\n \"recaptcha\": \"recaptcha-token\",\n \"terms_and_conditions\": true,\n \"device_name\": \"Creditor Portal\",\n \"code\": \"PARTNER-CODE\",\n \"creditor_profile_code\": \"313233\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.creditor.younegotiate.com/auth/register")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Jane Admin\",\n \"email\": \"jane.admin@example.com\",\n \"password\": \"Password123!\",\n \"password_confirmation\": \"Password123!\",\n \"recaptcha\": \"recaptcha-token\",\n \"terms_and_conditions\": true,\n \"device_name\": \"Creditor Portal\",\n \"code\": \"PARTNER-CODE\",\n \"creditor_profile_code\": \"313233\"\n}"
response = http.request(request)
puts response.read_body{
"message": "<string>",
"data": {
"id": 123,
"name": "<string>",
"email": "jsmith@example.com"
},
"meta": {
"access_token": "<string>",
"refresh_token": "<string>",
"token_type": "Bearer",
"access_token_expires_at": "2023-11-07T05:31:56Z",
"refresh_token_expires_at": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"errors": {}
}Register creditor
Register a new creditor account and return a bearer token for the created user.
POST
/
auth
/
register
Register creditor
curl --request POST \
--url https://api.creditor.younegotiate.com/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"name": "Jane Admin",
"email": "jane.admin@example.com",
"password": "Password123!",
"password_confirmation": "Password123!",
"recaptcha": "recaptcha-token",
"terms_and_conditions": true,
"device_name": "Creditor Portal",
"code": "PARTNER-CODE",
"creditor_profile_code": "313233"
}
'import requests
url = "https://api.creditor.younegotiate.com/auth/register"
payload = {
"name": "Jane Admin",
"email": "jane.admin@example.com",
"password": "Password123!",
"password_confirmation": "Password123!",
"recaptcha": "recaptcha-token",
"terms_and_conditions": True,
"device_name": "Creditor Portal",
"code": "PARTNER-CODE",
"creditor_profile_code": "313233"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Jane Admin',
email: 'jane.admin@example.com',
password: 'Password123!',
password_confirmation: 'Password123!',
recaptcha: 'recaptcha-token',
terms_and_conditions: true,
device_name: 'Creditor Portal',
code: 'PARTNER-CODE',
creditor_profile_code: '313233'
})
};
fetch('https://api.creditor.younegotiate.com/auth/register', 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.creditor.younegotiate.com/auth/register",
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([
'name' => 'Jane Admin',
'email' => 'jane.admin@example.com',
'password' => 'Password123!',
'password_confirmation' => 'Password123!',
'recaptcha' => 'recaptcha-token',
'terms_and_conditions' => true,
'device_name' => 'Creditor Portal',
'code' => 'PARTNER-CODE',
'creditor_profile_code' => '313233'
]),
CURLOPT_HTTPHEADER => [
"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://api.creditor.younegotiate.com/auth/register"
payload := strings.NewReader("{\n \"name\": \"Jane Admin\",\n \"email\": \"jane.admin@example.com\",\n \"password\": \"Password123!\",\n \"password_confirmation\": \"Password123!\",\n \"recaptcha\": \"recaptcha-token\",\n \"terms_and_conditions\": true,\n \"device_name\": \"Creditor Portal\",\n \"code\": \"PARTNER-CODE\",\n \"creditor_profile_code\": \"313233\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://api.creditor.younegotiate.com/auth/register")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Jane Admin\",\n \"email\": \"jane.admin@example.com\",\n \"password\": \"Password123!\",\n \"password_confirmation\": \"Password123!\",\n \"recaptcha\": \"recaptcha-token\",\n \"terms_and_conditions\": true,\n \"device_name\": \"Creditor Portal\",\n \"code\": \"PARTNER-CODE\",\n \"creditor_profile_code\": \"313233\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.creditor.younegotiate.com/auth/register")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Jane Admin\",\n \"email\": \"jane.admin@example.com\",\n \"password\": \"Password123!\",\n \"password_confirmation\": \"Password123!\",\n \"recaptcha\": \"recaptcha-token\",\n \"terms_and_conditions\": true,\n \"device_name\": \"Creditor Portal\",\n \"code\": \"PARTNER-CODE\",\n \"creditor_profile_code\": \"313233\"\n}"
response = http.request(request)
puts response.read_body{
"message": "<string>",
"data": {
"id": 123,
"name": "<string>",
"email": "jsmith@example.com"
},
"meta": {
"access_token": "<string>",
"refresh_token": "<string>",
"token_type": "Bearer",
"access_token_expires_at": "2023-11-07T05:31:56Z",
"refresh_token_expires_at": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"errors": {}
}Body
application/json
Required string length:
3 - 255Maximum string length:
255Maximum string length:
255Optional partner code from the reseller partner registration link.
Maximum string length:
255Backward-compatible partner registration code alias. Prefer code.
Maximum string length:
255Optional encoded creditor profile code.
Maximum string length:
255Last modified on July 20, 2026
Was this page helpful?
⌘I

