curl --request POST \
--url https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/common \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signup": {
"payment_options": [
{
"currencies": [
"NOK"
]
}
],
"store_type": [],
"package": "Checkout 195 NOK/month + 1.5%",
"revenue": {
"currency": "NOK",
"yearly_revenue": "100.000-250.000 NOK",
"highest_transaction_amount": "500-1000 NOK",
"average_amount": "250-500 NOK",
"accept_prepaid": true,
"subscriptions_or_memberships": true,
"gift_cards": true,
"estimated_percentage_per_payment_type": [
{
"percentage": 50
}
]
},
"bank_accounts": [
{
"account_number": "<string>",
"bank_name": "<string>",
"account_statement_url": "https://example.dintero.com/c/photos/account_statement.pdf"
}
],
"ownership": {
"owners": [
{
"name": "<string>",
"legal_name": "<string>",
"date_of_birth": "1990-09-20",
"social_security_number": "<string>",
"percentage": 25
}
]
},
"verifications": {
"terms_and_conditions": true,
"terms_and_conditions_url": "<string>",
"contact_information": true,
"payment_site": true,
"payment_site_url": "<string>",
"demo_site_url": "<string>",
"clear_pricing": true,
"payment_product_logos": true
},
"signature": {
"signatures": [
{
"name": "<string>",
"email": "<string>"
}
],
"politically_exposed_person": true,
"politically_exposed_associated": true
},
"applicant": {
"first_name": "John",
"last_name": "Doe",
"email": "customer@example.com",
"phone_number": "+4799999999",
"social_security_number": "<string>"
},
"company_information": {
"mcc": {
"mcc": "<string>",
"range": {
"start": "<string>",
"end": "<string>",
"description": "<string>",
"reserved": true
},
"iso_description": "<string>",
"usda_description": "<string>",
"stripe_description": "<string>",
"stripe_code": "<string>",
"visa_description": "<string>",
"visa_req_clearing_name": "<string>"
},
"company_description": "<string>"
},
"payment_method_specific": {
"payex": {
"signup_url": "<string>"
}
}
}
}
'import requests
url = "https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/common"
payload = { "signup": {
"payment_options": [{ "currencies": ["NOK"] }],
"store_type": [],
"package": "Checkout 195 NOK/month + 1.5%",
"revenue": {
"currency": "NOK",
"yearly_revenue": "100.000-250.000 NOK",
"highest_transaction_amount": "500-1000 NOK",
"average_amount": "250-500 NOK",
"accept_prepaid": True,
"subscriptions_or_memberships": True,
"gift_cards": True,
"estimated_percentage_per_payment_type": [{ "percentage": 50 }]
},
"bank_accounts": [
{
"account_number": "<string>",
"bank_name": "<string>",
"account_statement_url": "https://example.dintero.com/c/photos/account_statement.pdf"
}
],
"ownership": { "owners": [
{
"name": "<string>",
"legal_name": "<string>",
"date_of_birth": "1990-09-20",
"social_security_number": "<string>",
"percentage": 25
}
] },
"verifications": {
"terms_and_conditions": True,
"terms_and_conditions_url": "<string>",
"contact_information": True,
"payment_site": True,
"payment_site_url": "<string>",
"demo_site_url": "<string>",
"clear_pricing": True,
"payment_product_logos": True
},
"signature": {
"signatures": [
{
"name": "<string>",
"email": "<string>"
}
],
"politically_exposed_person": True,
"politically_exposed_associated": True
},
"applicant": {
"first_name": "John",
"last_name": "Doe",
"email": "customer@example.com",
"phone_number": "+4799999999",
"social_security_number": "<string>"
},
"company_information": {
"mcc": {
"mcc": "<string>",
"range": {
"start": "<string>",
"end": "<string>",
"description": "<string>",
"reserved": True
},
"iso_description": "<string>",
"usda_description": "<string>",
"stripe_description": "<string>",
"stripe_code": "<string>",
"visa_description": "<string>",
"visa_req_clearing_name": "<string>"
},
"company_description": "<string>"
},
"payment_method_specific": { "payex": { "signup_url": "<string>" } }
} }
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({
signup: {
payment_options: [{currencies: ['NOK']}],
store_type: [],
package: 'Checkout 195 NOK/month + 1.5%',
revenue: {
currency: 'NOK',
yearly_revenue: '100.000-250.000 NOK',
highest_transaction_amount: '500-1000 NOK',
average_amount: '250-500 NOK',
accept_prepaid: true,
subscriptions_or_memberships: true,
gift_cards: true,
estimated_percentage_per_payment_type: [{percentage: 50}]
},
bank_accounts: [
{
account_number: '<string>',
bank_name: '<string>',
account_statement_url: 'https://example.dintero.com/c/photos/account_statement.pdf'
}
],
ownership: {
owners: [
{
name: '<string>',
legal_name: '<string>',
date_of_birth: '1990-09-20',
social_security_number: '<string>',
percentage: 25
}
]
},
verifications: {
terms_and_conditions: true,
terms_and_conditions_url: '<string>',
contact_information: true,
payment_site: true,
payment_site_url: '<string>',
demo_site_url: '<string>',
clear_pricing: true,
payment_product_logos: true
},
signature: {
signatures: [{name: '<string>', email: '<string>'}],
politically_exposed_person: true,
politically_exposed_associated: true
},
applicant: {
first_name: 'John',
last_name: 'Doe',
email: 'customer@example.com',
phone_number: '+4799999999',
social_security_number: '<string>'
},
company_information: {
mcc: {
mcc: '<string>',
range: {start: '<string>', end: '<string>', description: '<string>', reserved: true},
iso_description: '<string>',
usda_description: '<string>',
stripe_description: '<string>',
stripe_code: '<string>',
visa_description: '<string>',
visa_req_clearing_name: '<string>'
},
company_description: '<string>'
},
payment_method_specific: {payex: {signup_url: '<string>'}}
}
})
};
fetch('https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/common', 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/{aid}/management/settings/connections/common"
payload := strings.NewReader("{\n \"signup\": {\n \"payment_options\": [\n {\n \"currencies\": [\n \"NOK\"\n ]\n }\n ],\n \"store_type\": [],\n \"package\": \"Checkout 195 NOK/month + 1.5%\",\n \"revenue\": {\n \"currency\": \"NOK\",\n \"yearly_revenue\": \"100.000-250.000 NOK\",\n \"highest_transaction_amount\": \"500-1000 NOK\",\n \"average_amount\": \"250-500 NOK\",\n \"accept_prepaid\": true,\n \"subscriptions_or_memberships\": true,\n \"gift_cards\": true,\n \"estimated_percentage_per_payment_type\": [\n {\n \"percentage\": 50\n }\n ]\n },\n \"bank_accounts\": [\n {\n \"account_number\": \"<string>\",\n \"bank_name\": \"<string>\",\n \"account_statement_url\": \"https://example.dintero.com/c/photos/account_statement.pdf\"\n }\n ],\n \"ownership\": {\n \"owners\": [\n {\n \"name\": \"<string>\",\n \"legal_name\": \"<string>\",\n \"date_of_birth\": \"1990-09-20\",\n \"social_security_number\": \"<string>\",\n \"percentage\": 25\n }\n ]\n },\n \"verifications\": {\n \"terms_and_conditions\": true,\n \"terms_and_conditions_url\": \"<string>\",\n \"contact_information\": true,\n \"payment_site\": true,\n \"payment_site_url\": \"<string>\",\n \"demo_site_url\": \"<string>\",\n \"clear_pricing\": true,\n \"payment_product_logos\": true\n },\n \"signature\": {\n \"signatures\": [\n {\n \"name\": \"<string>\",\n \"email\": \"<string>\"\n }\n ],\n \"politically_exposed_person\": true,\n \"politically_exposed_associated\": true\n },\n \"applicant\": {\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"email\": \"customer@example.com\",\n \"phone_number\": \"+4799999999\",\n \"social_security_number\": \"<string>\"\n },\n \"company_information\": {\n \"mcc\": {\n \"mcc\": \"<string>\",\n \"range\": {\n \"start\": \"<string>\",\n \"end\": \"<string>\",\n \"description\": \"<string>\",\n \"reserved\": true\n },\n \"iso_description\": \"<string>\",\n \"usda_description\": \"<string>\",\n \"stripe_description\": \"<string>\",\n \"stripe_code\": \"<string>\",\n \"visa_description\": \"<string>\",\n \"visa_req_clearing_name\": \"<string>\"\n },\n \"company_description\": \"<string>\"\n },\n \"payment_method_specific\": {\n \"payex\": {\n \"signup_url\": \"<string>\"\n }\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/{aid}/management/settings/connections/common")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"signup\": {\n \"payment_options\": [\n {\n \"currencies\": [\n \"NOK\"\n ]\n }\n ],\n \"store_type\": [],\n \"package\": \"Checkout 195 NOK/month + 1.5%\",\n \"revenue\": {\n \"currency\": \"NOK\",\n \"yearly_revenue\": \"100.000-250.000 NOK\",\n \"highest_transaction_amount\": \"500-1000 NOK\",\n \"average_amount\": \"250-500 NOK\",\n \"accept_prepaid\": true,\n \"subscriptions_or_memberships\": true,\n \"gift_cards\": true,\n \"estimated_percentage_per_payment_type\": [\n {\n \"percentage\": 50\n }\n ]\n },\n \"bank_accounts\": [\n {\n \"account_number\": \"<string>\",\n \"bank_name\": \"<string>\",\n \"account_statement_url\": \"https://example.dintero.com/c/photos/account_statement.pdf\"\n }\n ],\n \"ownership\": {\n \"owners\": [\n {\n \"name\": \"<string>\",\n \"legal_name\": \"<string>\",\n \"date_of_birth\": \"1990-09-20\",\n \"social_security_number\": \"<string>\",\n \"percentage\": 25\n }\n ]\n },\n \"verifications\": {\n \"terms_and_conditions\": true,\n \"terms_and_conditions_url\": \"<string>\",\n \"contact_information\": true,\n \"payment_site\": true,\n \"payment_site_url\": \"<string>\",\n \"demo_site_url\": \"<string>\",\n \"clear_pricing\": true,\n \"payment_product_logos\": true\n },\n \"signature\": {\n \"signatures\": [\n {\n \"name\": \"<string>\",\n \"email\": \"<string>\"\n }\n ],\n \"politically_exposed_person\": true,\n \"politically_exposed_associated\": true\n },\n \"applicant\": {\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"email\": \"customer@example.com\",\n \"phone_number\": \"+4799999999\",\n \"social_security_number\": \"<string>\"\n },\n \"company_information\": {\n \"mcc\": {\n \"mcc\": \"<string>\",\n \"range\": {\n \"start\": \"<string>\",\n \"end\": \"<string>\",\n \"description\": \"<string>\",\n \"reserved\": true\n },\n \"iso_description\": \"<string>\",\n \"usda_description\": \"<string>\",\n \"stripe_description\": \"<string>\",\n \"stripe_code\": \"<string>\",\n \"visa_description\": \"<string>\",\n \"visa_req_clearing_name\": \"<string>\"\n },\n \"company_description\": \"<string>\"\n },\n \"payment_method_specific\": {\n \"payex\": {\n \"signup_url\": \"<string>\"\n }\n }\n }\n}")
.asString();{
"signup": {
"payment_options": [
{
"currencies": [
"NOK"
]
}
],
"store_type": [],
"created_at": "2023-11-07T05:31:56Z",
"package": "Checkout 195 NOK/month + 1.5%",
"revenue": {
"currency": "NOK",
"yearly_revenue": "100.000-250.000 NOK",
"highest_transaction_amount": "500-1000 NOK",
"average_amount": "250-500 NOK",
"accept_prepaid": true,
"subscriptions_or_memberships": true,
"gift_cards": true,
"estimated_percentage_per_payment_type": [
{
"percentage": 50
}
]
},
"bank_accounts": [
{
"account_number": "<string>",
"bank_name": "<string>",
"account_statement_url": "https://example.dintero.com/c/photos/account_statement.pdf"
}
],
"ownership": {
"owners": [
{
"name": "<string>",
"legal_name": "<string>",
"date_of_birth": "1990-09-20",
"social_security_number": "<string>",
"percentage": 25,
"address": {
"address_line": "Sommerkroveien 34",
"postal_place": "Oslo",
"country": "NO",
"address_line_2": "PB 123",
"postal_code": "0349"
}
}
]
},
"verifications": {
"terms_and_conditions": true,
"terms_and_conditions_url": "<string>",
"contact_information": true,
"payment_site": true,
"payment_site_url": "<string>",
"demo_site_url": "<string>",
"clear_pricing": true,
"payment_product_logos": true
},
"signature": {
"signatures": [
{
"name": "<string>",
"email": "<string>"
}
],
"politically_exposed_person": true,
"politically_exposed_associated": true
},
"applicant": {
"first_name": "John",
"last_name": "Doe",
"email": "customer@example.com",
"phone_number": "+4799999999",
"social_security_number": "<string>"
},
"company_information": {
"mcc": {
"mcc": "<string>",
"range": {
"start": "<string>",
"end": "<string>",
"description": "<string>",
"reserved": true
},
"iso_description": "<string>",
"usda_description": "<string>",
"stripe_description": "<string>",
"stripe_code": "<string>",
"visa_description": "<string>",
"visa_req_clearing_name": "<string>"
},
"company_description": "<string>"
},
"payment_method_specific": {
"payex": {
"signup_url": "<string>"
},
"instabank": {
"total_number_of_transactions": "<string>",
"total_volume_of_transactions": "<string>",
"finance_number_of_transactions": "<string>",
"finance_volume_of_transactions": "<string>"
},
"vipps": {
"signup_url": "<string>"
}
}
},
"created_at": "2023-11-07T05:31:56Z",
"created_by": "1c92f7e1-2897-4d46-bdcc-c127a914fb4e",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {},
"events": [
{
"event": "signature_required",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"description": "Vipps awaiting signature",
"metadata": {
"signature_link": "https://sig.example.com/K34K244"
}
}
],
"schema": 123
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}Common signup
Initialize Common signup
Requires the account company to be configured with organization_number
PUT /management/settings
scopes:
- admin:accounts
- write:accounts
curl --request POST \
--url https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/common \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signup": {
"payment_options": [
{
"currencies": [
"NOK"
]
}
],
"store_type": [],
"package": "Checkout 195 NOK/month + 1.5%",
"revenue": {
"currency": "NOK",
"yearly_revenue": "100.000-250.000 NOK",
"highest_transaction_amount": "500-1000 NOK",
"average_amount": "250-500 NOK",
"accept_prepaid": true,
"subscriptions_or_memberships": true,
"gift_cards": true,
"estimated_percentage_per_payment_type": [
{
"percentage": 50
}
]
},
"bank_accounts": [
{
"account_number": "<string>",
"bank_name": "<string>",
"account_statement_url": "https://example.dintero.com/c/photos/account_statement.pdf"
}
],
"ownership": {
"owners": [
{
"name": "<string>",
"legal_name": "<string>",
"date_of_birth": "1990-09-20",
"social_security_number": "<string>",
"percentage": 25
}
]
},
"verifications": {
"terms_and_conditions": true,
"terms_and_conditions_url": "<string>",
"contact_information": true,
"payment_site": true,
"payment_site_url": "<string>",
"demo_site_url": "<string>",
"clear_pricing": true,
"payment_product_logos": true
},
"signature": {
"signatures": [
{
"name": "<string>",
"email": "<string>"
}
],
"politically_exposed_person": true,
"politically_exposed_associated": true
},
"applicant": {
"first_name": "John",
"last_name": "Doe",
"email": "customer@example.com",
"phone_number": "+4799999999",
"social_security_number": "<string>"
},
"company_information": {
"mcc": {
"mcc": "<string>",
"range": {
"start": "<string>",
"end": "<string>",
"description": "<string>",
"reserved": true
},
"iso_description": "<string>",
"usda_description": "<string>",
"stripe_description": "<string>",
"stripe_code": "<string>",
"visa_description": "<string>",
"visa_req_clearing_name": "<string>"
},
"company_description": "<string>"
},
"payment_method_specific": {
"payex": {
"signup_url": "<string>"
}
}
}
}
'import requests
url = "https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/common"
payload = { "signup": {
"payment_options": [{ "currencies": ["NOK"] }],
"store_type": [],
"package": "Checkout 195 NOK/month + 1.5%",
"revenue": {
"currency": "NOK",
"yearly_revenue": "100.000-250.000 NOK",
"highest_transaction_amount": "500-1000 NOK",
"average_amount": "250-500 NOK",
"accept_prepaid": True,
"subscriptions_or_memberships": True,
"gift_cards": True,
"estimated_percentage_per_payment_type": [{ "percentage": 50 }]
},
"bank_accounts": [
{
"account_number": "<string>",
"bank_name": "<string>",
"account_statement_url": "https://example.dintero.com/c/photos/account_statement.pdf"
}
],
"ownership": { "owners": [
{
"name": "<string>",
"legal_name": "<string>",
"date_of_birth": "1990-09-20",
"social_security_number": "<string>",
"percentage": 25
}
] },
"verifications": {
"terms_and_conditions": True,
"terms_and_conditions_url": "<string>",
"contact_information": True,
"payment_site": True,
"payment_site_url": "<string>",
"demo_site_url": "<string>",
"clear_pricing": True,
"payment_product_logos": True
},
"signature": {
"signatures": [
{
"name": "<string>",
"email": "<string>"
}
],
"politically_exposed_person": True,
"politically_exposed_associated": True
},
"applicant": {
"first_name": "John",
"last_name": "Doe",
"email": "customer@example.com",
"phone_number": "+4799999999",
"social_security_number": "<string>"
},
"company_information": {
"mcc": {
"mcc": "<string>",
"range": {
"start": "<string>",
"end": "<string>",
"description": "<string>",
"reserved": True
},
"iso_description": "<string>",
"usda_description": "<string>",
"stripe_description": "<string>",
"stripe_code": "<string>",
"visa_description": "<string>",
"visa_req_clearing_name": "<string>"
},
"company_description": "<string>"
},
"payment_method_specific": { "payex": { "signup_url": "<string>" } }
} }
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({
signup: {
payment_options: [{currencies: ['NOK']}],
store_type: [],
package: 'Checkout 195 NOK/month + 1.5%',
revenue: {
currency: 'NOK',
yearly_revenue: '100.000-250.000 NOK',
highest_transaction_amount: '500-1000 NOK',
average_amount: '250-500 NOK',
accept_prepaid: true,
subscriptions_or_memberships: true,
gift_cards: true,
estimated_percentage_per_payment_type: [{percentage: 50}]
},
bank_accounts: [
{
account_number: '<string>',
bank_name: '<string>',
account_statement_url: 'https://example.dintero.com/c/photos/account_statement.pdf'
}
],
ownership: {
owners: [
{
name: '<string>',
legal_name: '<string>',
date_of_birth: '1990-09-20',
social_security_number: '<string>',
percentage: 25
}
]
},
verifications: {
terms_and_conditions: true,
terms_and_conditions_url: '<string>',
contact_information: true,
payment_site: true,
payment_site_url: '<string>',
demo_site_url: '<string>',
clear_pricing: true,
payment_product_logos: true
},
signature: {
signatures: [{name: '<string>', email: '<string>'}],
politically_exposed_person: true,
politically_exposed_associated: true
},
applicant: {
first_name: 'John',
last_name: 'Doe',
email: 'customer@example.com',
phone_number: '+4799999999',
social_security_number: '<string>'
},
company_information: {
mcc: {
mcc: '<string>',
range: {start: '<string>', end: '<string>', description: '<string>', reserved: true},
iso_description: '<string>',
usda_description: '<string>',
stripe_description: '<string>',
stripe_code: '<string>',
visa_description: '<string>',
visa_req_clearing_name: '<string>'
},
company_description: '<string>'
},
payment_method_specific: {payex: {signup_url: '<string>'}}
}
})
};
fetch('https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/common', 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/{aid}/management/settings/connections/common"
payload := strings.NewReader("{\n \"signup\": {\n \"payment_options\": [\n {\n \"currencies\": [\n \"NOK\"\n ]\n }\n ],\n \"store_type\": [],\n \"package\": \"Checkout 195 NOK/month + 1.5%\",\n \"revenue\": {\n \"currency\": \"NOK\",\n \"yearly_revenue\": \"100.000-250.000 NOK\",\n \"highest_transaction_amount\": \"500-1000 NOK\",\n \"average_amount\": \"250-500 NOK\",\n \"accept_prepaid\": true,\n \"subscriptions_or_memberships\": true,\n \"gift_cards\": true,\n \"estimated_percentage_per_payment_type\": [\n {\n \"percentage\": 50\n }\n ]\n },\n \"bank_accounts\": [\n {\n \"account_number\": \"<string>\",\n \"bank_name\": \"<string>\",\n \"account_statement_url\": \"https://example.dintero.com/c/photos/account_statement.pdf\"\n }\n ],\n \"ownership\": {\n \"owners\": [\n {\n \"name\": \"<string>\",\n \"legal_name\": \"<string>\",\n \"date_of_birth\": \"1990-09-20\",\n \"social_security_number\": \"<string>\",\n \"percentage\": 25\n }\n ]\n },\n \"verifications\": {\n \"terms_and_conditions\": true,\n \"terms_and_conditions_url\": \"<string>\",\n \"contact_information\": true,\n \"payment_site\": true,\n \"payment_site_url\": \"<string>\",\n \"demo_site_url\": \"<string>\",\n \"clear_pricing\": true,\n \"payment_product_logos\": true\n },\n \"signature\": {\n \"signatures\": [\n {\n \"name\": \"<string>\",\n \"email\": \"<string>\"\n }\n ],\n \"politically_exposed_person\": true,\n \"politically_exposed_associated\": true\n },\n \"applicant\": {\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"email\": \"customer@example.com\",\n \"phone_number\": \"+4799999999\",\n \"social_security_number\": \"<string>\"\n },\n \"company_information\": {\n \"mcc\": {\n \"mcc\": \"<string>\",\n \"range\": {\n \"start\": \"<string>\",\n \"end\": \"<string>\",\n \"description\": \"<string>\",\n \"reserved\": true\n },\n \"iso_description\": \"<string>\",\n \"usda_description\": \"<string>\",\n \"stripe_description\": \"<string>\",\n \"stripe_code\": \"<string>\",\n \"visa_description\": \"<string>\",\n \"visa_req_clearing_name\": \"<string>\"\n },\n \"company_description\": \"<string>\"\n },\n \"payment_method_specific\": {\n \"payex\": {\n \"signup_url\": \"<string>\"\n }\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/{aid}/management/settings/connections/common")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"signup\": {\n \"payment_options\": [\n {\n \"currencies\": [\n \"NOK\"\n ]\n }\n ],\n \"store_type\": [],\n \"package\": \"Checkout 195 NOK/month + 1.5%\",\n \"revenue\": {\n \"currency\": \"NOK\",\n \"yearly_revenue\": \"100.000-250.000 NOK\",\n \"highest_transaction_amount\": \"500-1000 NOK\",\n \"average_amount\": \"250-500 NOK\",\n \"accept_prepaid\": true,\n \"subscriptions_or_memberships\": true,\n \"gift_cards\": true,\n \"estimated_percentage_per_payment_type\": [\n {\n \"percentage\": 50\n }\n ]\n },\n \"bank_accounts\": [\n {\n \"account_number\": \"<string>\",\n \"bank_name\": \"<string>\",\n \"account_statement_url\": \"https://example.dintero.com/c/photos/account_statement.pdf\"\n }\n ],\n \"ownership\": {\n \"owners\": [\n {\n \"name\": \"<string>\",\n \"legal_name\": \"<string>\",\n \"date_of_birth\": \"1990-09-20\",\n \"social_security_number\": \"<string>\",\n \"percentage\": 25\n }\n ]\n },\n \"verifications\": {\n \"terms_and_conditions\": true,\n \"terms_and_conditions_url\": \"<string>\",\n \"contact_information\": true,\n \"payment_site\": true,\n \"payment_site_url\": \"<string>\",\n \"demo_site_url\": \"<string>\",\n \"clear_pricing\": true,\n \"payment_product_logos\": true\n },\n \"signature\": {\n \"signatures\": [\n {\n \"name\": \"<string>\",\n \"email\": \"<string>\"\n }\n ],\n \"politically_exposed_person\": true,\n \"politically_exposed_associated\": true\n },\n \"applicant\": {\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"email\": \"customer@example.com\",\n \"phone_number\": \"+4799999999\",\n \"social_security_number\": \"<string>\"\n },\n \"company_information\": {\n \"mcc\": {\n \"mcc\": \"<string>\",\n \"range\": {\n \"start\": \"<string>\",\n \"end\": \"<string>\",\n \"description\": \"<string>\",\n \"reserved\": true\n },\n \"iso_description\": \"<string>\",\n \"usda_description\": \"<string>\",\n \"stripe_description\": \"<string>\",\n \"stripe_code\": \"<string>\",\n \"visa_description\": \"<string>\",\n \"visa_req_clearing_name\": \"<string>\"\n },\n \"company_description\": \"<string>\"\n },\n \"payment_method_specific\": {\n \"payex\": {\n \"signup_url\": \"<string>\"\n }\n }\n }\n}")
.asString();{
"signup": {
"payment_options": [
{
"currencies": [
"NOK"
]
}
],
"store_type": [],
"created_at": "2023-11-07T05:31:56Z",
"package": "Checkout 195 NOK/month + 1.5%",
"revenue": {
"currency": "NOK",
"yearly_revenue": "100.000-250.000 NOK",
"highest_transaction_amount": "500-1000 NOK",
"average_amount": "250-500 NOK",
"accept_prepaid": true,
"subscriptions_or_memberships": true,
"gift_cards": true,
"estimated_percentage_per_payment_type": [
{
"percentage": 50
}
]
},
"bank_accounts": [
{
"account_number": "<string>",
"bank_name": "<string>",
"account_statement_url": "https://example.dintero.com/c/photos/account_statement.pdf"
}
],
"ownership": {
"owners": [
{
"name": "<string>",
"legal_name": "<string>",
"date_of_birth": "1990-09-20",
"social_security_number": "<string>",
"percentage": 25,
"address": {
"address_line": "Sommerkroveien 34",
"postal_place": "Oslo",
"country": "NO",
"address_line_2": "PB 123",
"postal_code": "0349"
}
}
]
},
"verifications": {
"terms_and_conditions": true,
"terms_and_conditions_url": "<string>",
"contact_information": true,
"payment_site": true,
"payment_site_url": "<string>",
"demo_site_url": "<string>",
"clear_pricing": true,
"payment_product_logos": true
},
"signature": {
"signatures": [
{
"name": "<string>",
"email": "<string>"
}
],
"politically_exposed_person": true,
"politically_exposed_associated": true
},
"applicant": {
"first_name": "John",
"last_name": "Doe",
"email": "customer@example.com",
"phone_number": "+4799999999",
"social_security_number": "<string>"
},
"company_information": {
"mcc": {
"mcc": "<string>",
"range": {
"start": "<string>",
"end": "<string>",
"description": "<string>",
"reserved": true
},
"iso_description": "<string>",
"usda_description": "<string>",
"stripe_description": "<string>",
"stripe_code": "<string>",
"visa_description": "<string>",
"visa_req_clearing_name": "<string>"
},
"company_description": "<string>"
},
"payment_method_specific": {
"payex": {
"signup_url": "<string>"
},
"instabank": {
"total_number_of_transactions": "<string>",
"total_volume_of_transactions": "<string>",
"finance_number_of_transactions": "<string>",
"finance_volume_of_transactions": "<string>"
},
"vipps": {
"signup_url": "<string>"
}
}
},
"created_at": "2023-11-07T05:31:56Z",
"created_by": "1c92f7e1-2897-4d46-bdcc-c127a914fb4e",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {},
"events": [
{
"event": "signature_required",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"description": "Vipps awaiting signature",
"metadata": {
"signature_link": "https://sig.example.com/K34K244"
}
}
],
"schema": 123
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"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.
9Body
Show child attributes
Show child attributes
Response
Common connection
Show child attributes
Show child attributes
The date-time when the resource was created
The ID of the user/client created the resource
"1c92f7e1-2897-4d46-bdcc-c127a914fb4e"
The date-time when the resource was last updated
A set of key/value pairs that you can attach to a subscription object. It can be useful for storing additional information about the subscription in a structured format.
The status of the connection
pending, enabled, failed, declined List of events recorded, an event is created when the connection is updated with new status
Show child attributes
Show child attributes
The version of the schema used for the connection