curl --request POST \
--url https://api.dintero.com/v1/accounts/{oid}/signup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"applicant": {
"email": "customer@example.com",
"agreement": {
"name": "<string>",
"version": "<string>",
"personal_guarantee_accepted": true,
"attachments": [
{
"name": "Cookie Policy",
"version": "<string>"
}
]
},
"first_name": "John",
"last_name": "Doe",
"phone_number": "+4799999999",
"recaptcha_sitekey": "6LdE_pIUAAAAAHbiL0uHjHg2Mgn2IILTvZdA_Ux-",
"recaptcha_response": "03AOLTBLSbzmXKXuAz9N--DsZ1xWmhfx6okCheBPesOsNmRSdkfcO4E5CkeBQQFJkC_emfE_KF0P8C3T57Nr9eOon_PVTEIq1NUpRS5oGkGMhr1vxVe1F7txMYUc4ClxUDLxWiW5WgnDvWHC7gOnlJZKvxVE4gn7qAJijE6SFMXkvFOwoWcx_kONmBHGnXHGgxIe2M8G-FkIKr0WZbQIDYmDaiQxb6mL1L70UGOyO280v2Pp65JB1mSohdeJLdQhHeye6v6__H9_M0GxDGd8s-LoLUY5Vq9hKbAs8MCsh2OFwtpbTYGfqmDbTwsc2v8SqOOZ86uKXwl7gyk3RHXT27m8Rv8iZAs2Ym5w",
"promo_code": "<string>",
"signup_reference": "<string>",
"utm": {
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "spring_sale",
"utm_term": "running+shoes",
"utm_content": "textlink"
}
}
}
'import requests
url = "https://api.dintero.com/v1/accounts/{oid}/signup"
payload = { "applicant": {
"email": "customer@example.com",
"agreement": {
"name": "<string>",
"version": "<string>",
"personal_guarantee_accepted": True,
"attachments": [
{
"name": "Cookie Policy",
"version": "<string>"
}
]
},
"first_name": "John",
"last_name": "Doe",
"phone_number": "+4799999999",
"recaptcha_sitekey": "6LdE_pIUAAAAAHbiL0uHjHg2Mgn2IILTvZdA_Ux-",
"recaptcha_response": "03AOLTBLSbzmXKXuAz9N--DsZ1xWmhfx6okCheBPesOsNmRSdkfcO4E5CkeBQQFJkC_emfE_KF0P8C3T57Nr9eOon_PVTEIq1NUpRS5oGkGMhr1vxVe1F7txMYUc4ClxUDLxWiW5WgnDvWHC7gOnlJZKvxVE4gn7qAJijE6SFMXkvFOwoWcx_kONmBHGnXHGgxIe2M8G-FkIKr0WZbQIDYmDaiQxb6mL1L70UGOyO280v2Pp65JB1mSohdeJLdQhHeye6v6__H9_M0GxDGd8s-LoLUY5Vq9hKbAs8MCsh2OFwtpbTYGfqmDbTwsc2v8SqOOZ86uKXwl7gyk3RHXT27m8Rv8iZAs2Ym5w",
"promo_code": "<string>",
"signup_reference": "<string>",
"utm": {
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "spring_sale",
"utm_term": "running+shoes",
"utm_content": "textlink"
}
} }
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({
applicant: {
email: 'customer@example.com',
agreement: {
name: '<string>',
version: '<string>',
personal_guarantee_accepted: true,
attachments: [{name: 'Cookie Policy', version: '<string>'}]
},
first_name: 'John',
last_name: 'Doe',
phone_number: '+4799999999',
recaptcha_sitekey: '6LdE_pIUAAAAAHbiL0uHjHg2Mgn2IILTvZdA_Ux-',
recaptcha_response: '03AOLTBLSbzmXKXuAz9N--DsZ1xWmhfx6okCheBPesOsNmRSdkfcO4E5CkeBQQFJkC_emfE_KF0P8C3T57Nr9eOon_PVTEIq1NUpRS5oGkGMhr1vxVe1F7txMYUc4ClxUDLxWiW5WgnDvWHC7gOnlJZKvxVE4gn7qAJijE6SFMXkvFOwoWcx_kONmBHGnXHGgxIe2M8G-FkIKr0WZbQIDYmDaiQxb6mL1L70UGOyO280v2Pp65JB1mSohdeJLdQhHeye6v6__H9_M0GxDGd8s-LoLUY5Vq9hKbAs8MCsh2OFwtpbTYGfqmDbTwsc2v8SqOOZ86uKXwl7gyk3RHXT27m8Rv8iZAs2Ym5w',
promo_code: '<string>',
signup_reference: '<string>',
utm: {
utm_source: 'google',
utm_medium: 'cpc',
utm_campaign: 'spring_sale',
utm_term: 'running+shoes',
utm_content: 'textlink'
}
}
})
};
fetch('https://api.dintero.com/v1/accounts/{oid}/signup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.dintero.com/v1/accounts/{oid}/signup"
payload := strings.NewReader("{\n \"applicant\": {\n \"email\": \"customer@example.com\",\n \"agreement\": {\n \"name\": \"<string>\",\n \"version\": \"<string>\",\n \"personal_guarantee_accepted\": true,\n \"attachments\": [\n {\n \"name\": \"Cookie Policy\",\n \"version\": \"<string>\"\n }\n ]\n },\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"phone_number\": \"+4799999999\",\n \"recaptcha_sitekey\": \"6LdE_pIUAAAAAHbiL0uHjHg2Mgn2IILTvZdA_Ux-\",\n \"recaptcha_response\": \"03AOLTBLSbzmXKXuAz9N--DsZ1xWmhfx6okCheBPesOsNmRSdkfcO4E5CkeBQQFJkC_emfE_KF0P8C3T57Nr9eOon_PVTEIq1NUpRS5oGkGMhr1vxVe1F7txMYUc4ClxUDLxWiW5WgnDvWHC7gOnlJZKvxVE4gn7qAJijE6SFMXkvFOwoWcx_kONmBHGnXHGgxIe2M8G-FkIKr0WZbQIDYmDaiQxb6mL1L70UGOyO280v2Pp65JB1mSohdeJLdQhHeye6v6__H9_M0GxDGd8s-LoLUY5Vq9hKbAs8MCsh2OFwtpbTYGfqmDbTwsc2v8SqOOZ86uKXwl7gyk3RHXT27m8Rv8iZAs2Ym5w\",\n \"promo_code\": \"<string>\",\n \"signup_reference\": \"<string>\",\n \"utm\": {\n \"utm_source\": \"google\",\n \"utm_medium\": \"cpc\",\n \"utm_campaign\": \"spring_sale\",\n \"utm_term\": \"running+shoes\",\n \"utm_content\": \"textlink\"\n }\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://api.dintero.com/v1/accounts/{oid}/signup")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"applicant\": {\n \"email\": \"customer@example.com\",\n \"agreement\": {\n \"name\": \"<string>\",\n \"version\": \"<string>\",\n \"personal_guarantee_accepted\": true,\n \"attachments\": [\n {\n \"name\": \"Cookie Policy\",\n \"version\": \"<string>\"\n }\n ]\n },\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"phone_number\": \"+4799999999\",\n \"recaptcha_sitekey\": \"6LdE_pIUAAAAAHbiL0uHjHg2Mgn2IILTvZdA_Ux-\",\n \"recaptcha_response\": \"03AOLTBLSbzmXKXuAz9N--DsZ1xWmhfx6okCheBPesOsNmRSdkfcO4E5CkeBQQFJkC_emfE_KF0P8C3T57Nr9eOon_PVTEIq1NUpRS5oGkGMhr1vxVe1F7txMYUc4ClxUDLxWiW5WgnDvWHC7gOnlJZKvxVE4gn7qAJijE6SFMXkvFOwoWcx_kONmBHGnXHGgxIe2M8G-FkIKr0WZbQIDYmDaiQxb6mL1L70UGOyO280v2Pp65JB1mSohdeJLdQhHeye6v6__H9_M0GxDGd8s-LoLUY5Vq9hKbAs8MCsh2OFwtpbTYGfqmDbTwsc2v8SqOOZ86uKXwl7gyk3RHXT27m8Rv8iZAs2Ym5w\",\n \"promo_code\": \"<string>\",\n \"signup_reference\": \"<string>\",\n \"utm\": {\n \"utm_source\": \"google\",\n \"utm_medium\": \"cpc\",\n \"utm_campaign\": \"spring_sale\",\n \"utm_term\": \"running+shoes\",\n \"utm_content\": \"textlink\"\n }\n }\n}")
.asString();{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}Signup to Dintero Account
Initiate a signup for Dintero Account
-
An email verification request will be sent to the applicant, that contains a code that must be sent to POST /account//signup/verify
-
A welcome email will be sent after verification of the applicant email is completed. The email contains links to Backoffice
scopes:
- create:account
curl --request POST \
--url https://api.dintero.com/v1/accounts/{oid}/signup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"applicant": {
"email": "customer@example.com",
"agreement": {
"name": "<string>",
"version": "<string>",
"personal_guarantee_accepted": true,
"attachments": [
{
"name": "Cookie Policy",
"version": "<string>"
}
]
},
"first_name": "John",
"last_name": "Doe",
"phone_number": "+4799999999",
"recaptcha_sitekey": "6LdE_pIUAAAAAHbiL0uHjHg2Mgn2IILTvZdA_Ux-",
"recaptcha_response": "03AOLTBLSbzmXKXuAz9N--DsZ1xWmhfx6okCheBPesOsNmRSdkfcO4E5CkeBQQFJkC_emfE_KF0P8C3T57Nr9eOon_PVTEIq1NUpRS5oGkGMhr1vxVe1F7txMYUc4ClxUDLxWiW5WgnDvWHC7gOnlJZKvxVE4gn7qAJijE6SFMXkvFOwoWcx_kONmBHGnXHGgxIe2M8G-FkIKr0WZbQIDYmDaiQxb6mL1L70UGOyO280v2Pp65JB1mSohdeJLdQhHeye6v6__H9_M0GxDGd8s-LoLUY5Vq9hKbAs8MCsh2OFwtpbTYGfqmDbTwsc2v8SqOOZ86uKXwl7gyk3RHXT27m8Rv8iZAs2Ym5w",
"promo_code": "<string>",
"signup_reference": "<string>",
"utm": {
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "spring_sale",
"utm_term": "running+shoes",
"utm_content": "textlink"
}
}
}
'import requests
url = "https://api.dintero.com/v1/accounts/{oid}/signup"
payload = { "applicant": {
"email": "customer@example.com",
"agreement": {
"name": "<string>",
"version": "<string>",
"personal_guarantee_accepted": True,
"attachments": [
{
"name": "Cookie Policy",
"version": "<string>"
}
]
},
"first_name": "John",
"last_name": "Doe",
"phone_number": "+4799999999",
"recaptcha_sitekey": "6LdE_pIUAAAAAHbiL0uHjHg2Mgn2IILTvZdA_Ux-",
"recaptcha_response": "03AOLTBLSbzmXKXuAz9N--DsZ1xWmhfx6okCheBPesOsNmRSdkfcO4E5CkeBQQFJkC_emfE_KF0P8C3T57Nr9eOon_PVTEIq1NUpRS5oGkGMhr1vxVe1F7txMYUc4ClxUDLxWiW5WgnDvWHC7gOnlJZKvxVE4gn7qAJijE6SFMXkvFOwoWcx_kONmBHGnXHGgxIe2M8G-FkIKr0WZbQIDYmDaiQxb6mL1L70UGOyO280v2Pp65JB1mSohdeJLdQhHeye6v6__H9_M0GxDGd8s-LoLUY5Vq9hKbAs8MCsh2OFwtpbTYGfqmDbTwsc2v8SqOOZ86uKXwl7gyk3RHXT27m8Rv8iZAs2Ym5w",
"promo_code": "<string>",
"signup_reference": "<string>",
"utm": {
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "spring_sale",
"utm_term": "running+shoes",
"utm_content": "textlink"
}
} }
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({
applicant: {
email: 'customer@example.com',
agreement: {
name: '<string>',
version: '<string>',
personal_guarantee_accepted: true,
attachments: [{name: 'Cookie Policy', version: '<string>'}]
},
first_name: 'John',
last_name: 'Doe',
phone_number: '+4799999999',
recaptcha_sitekey: '6LdE_pIUAAAAAHbiL0uHjHg2Mgn2IILTvZdA_Ux-',
recaptcha_response: '03AOLTBLSbzmXKXuAz9N--DsZ1xWmhfx6okCheBPesOsNmRSdkfcO4E5CkeBQQFJkC_emfE_KF0P8C3T57Nr9eOon_PVTEIq1NUpRS5oGkGMhr1vxVe1F7txMYUc4ClxUDLxWiW5WgnDvWHC7gOnlJZKvxVE4gn7qAJijE6SFMXkvFOwoWcx_kONmBHGnXHGgxIe2M8G-FkIKr0WZbQIDYmDaiQxb6mL1L70UGOyO280v2Pp65JB1mSohdeJLdQhHeye6v6__H9_M0GxDGd8s-LoLUY5Vq9hKbAs8MCsh2OFwtpbTYGfqmDbTwsc2v8SqOOZ86uKXwl7gyk3RHXT27m8Rv8iZAs2Ym5w',
promo_code: '<string>',
signup_reference: '<string>',
utm: {
utm_source: 'google',
utm_medium: 'cpc',
utm_campaign: 'spring_sale',
utm_term: 'running+shoes',
utm_content: 'textlink'
}
}
})
};
fetch('https://api.dintero.com/v1/accounts/{oid}/signup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.dintero.com/v1/accounts/{oid}/signup"
payload := strings.NewReader("{\n \"applicant\": {\n \"email\": \"customer@example.com\",\n \"agreement\": {\n \"name\": \"<string>\",\n \"version\": \"<string>\",\n \"personal_guarantee_accepted\": true,\n \"attachments\": [\n {\n \"name\": \"Cookie Policy\",\n \"version\": \"<string>\"\n }\n ]\n },\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"phone_number\": \"+4799999999\",\n \"recaptcha_sitekey\": \"6LdE_pIUAAAAAHbiL0uHjHg2Mgn2IILTvZdA_Ux-\",\n \"recaptcha_response\": \"03AOLTBLSbzmXKXuAz9N--DsZ1xWmhfx6okCheBPesOsNmRSdkfcO4E5CkeBQQFJkC_emfE_KF0P8C3T57Nr9eOon_PVTEIq1NUpRS5oGkGMhr1vxVe1F7txMYUc4ClxUDLxWiW5WgnDvWHC7gOnlJZKvxVE4gn7qAJijE6SFMXkvFOwoWcx_kONmBHGnXHGgxIe2M8G-FkIKr0WZbQIDYmDaiQxb6mL1L70UGOyO280v2Pp65JB1mSohdeJLdQhHeye6v6__H9_M0GxDGd8s-LoLUY5Vq9hKbAs8MCsh2OFwtpbTYGfqmDbTwsc2v8SqOOZ86uKXwl7gyk3RHXT27m8Rv8iZAs2Ym5w\",\n \"promo_code\": \"<string>\",\n \"signup_reference\": \"<string>\",\n \"utm\": {\n \"utm_source\": \"google\",\n \"utm_medium\": \"cpc\",\n \"utm_campaign\": \"spring_sale\",\n \"utm_term\": \"running+shoes\",\n \"utm_content\": \"textlink\"\n }\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://api.dintero.com/v1/accounts/{oid}/signup")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"applicant\": {\n \"email\": \"customer@example.com\",\n \"agreement\": {\n \"name\": \"<string>\",\n \"version\": \"<string>\",\n \"personal_guarantee_accepted\": true,\n \"attachments\": [\n {\n \"name\": \"Cookie Policy\",\n \"version\": \"<string>\"\n }\n ]\n },\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"phone_number\": \"+4799999999\",\n \"recaptcha_sitekey\": \"6LdE_pIUAAAAAHbiL0uHjHg2Mgn2IILTvZdA_Ux-\",\n \"recaptcha_response\": \"03AOLTBLSbzmXKXuAz9N--DsZ1xWmhfx6okCheBPesOsNmRSdkfcO4E5CkeBQQFJkC_emfE_KF0P8C3T57Nr9eOon_PVTEIq1NUpRS5oGkGMhr1vxVe1F7txMYUc4ClxUDLxWiW5WgnDvWHC7gOnlJZKvxVE4gn7qAJijE6SFMXkvFOwoWcx_kONmBHGnXHGgxIe2M8G-FkIKr0WZbQIDYmDaiQxb6mL1L70UGOyO280v2Pp65JB1mSohdeJLdQhHeye6v6__H9_M0GxDGd8s-LoLUY5Vq9hKbAs8MCsh2OFwtpbTYGfqmDbTwsc2v8SqOOZ86uKXwl7gyk3RHXT27m8Rv8iZAs2Ym5w\",\n \"promo_code\": \"<string>\",\n \"signup_reference\": \"<string>\",\n \"utm\": {\n \"utm_source\": \"google\",\n \"utm_medium\": \"cpc\",\n \"utm_campaign\": \"spring_sale\",\n \"utm_term\": \"running+shoes\",\n \"utm_content\": \"textlink\"\n }\n }\n}")
.asString();{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}Authorizations
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
Authorization: Bearer {access_token}
where the access_token is JSON Web Tokens (JWT).
Path Parameters
An id that uniquely identifies the account or owner (partner)
Body
Show child attributes
Show child attributes
The details of an account company
Show child attributes
Show child attributes
The details of the billing for the account
Show child attributes
Show child attributes
Account manager responsible for the account.
value is not visible for the merchant
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
Accepted