aid_account_settings_connections_seitatech_post
curl --request POST \
--url https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/seitatech \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signup": {
"case_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_options": [
{
"currencies": [
"NOK"
],
"type": "seitatech.in_person"
}
]
}
}
'import requests
url = "https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/seitatech"
payload = { "signup": {
"case_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_options": [
{
"currencies": ["NOK"],
"type": "seitatech.in_person"
}
]
} }
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: {
case_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
payment_options: [{currencies: ['NOK'], type: 'seitatech.in_person'}]
}
})
};
fetch('https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/seitatech', 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/seitatech"
payload := strings.NewReader("{\n \"signup\": {\n \"case_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"payment_options\": [\n {\n \"currencies\": [\n \"NOK\"\n ],\n \"type\": \"seitatech.in_person\"\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/seitatech")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"signup\": {\n \"case_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"payment_options\": [\n {\n \"currencies\": [\n \"NOK\"\n ],\n \"type\": \"seitatech.in_person\"\n }\n ]\n }\n}")
.asString();{
"signups": [
{
"case_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"payment_options": [
{
"currencies": [
"NOK"
],
"type": "seitatech.in_person"
}
]
}
],
"created_at": "2023-11-07T05:31:56Z",
"created_by": "1c92f7e1-2897-4d46-bdcc-c127a914fb4e",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {},
"status": "pending",
"events": [
{
"status": "pending",
"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,
"configuration": {
"payment_options": [
{
"currencies": [
"NOK"
],
"type": "<string>"
}
]
}
}{
"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": [
{}
]
}
}connections
Seitatech signup
Initialize Seitatech signup
scopes:
- admin:dintero
POST
https://api.dintero.com/v1
/
accounts
/
{aid}
/
management
/
settings
/
connections
/
seitatech
aid_account_settings_connections_seitatech_post
curl --request POST \
--url https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/seitatech \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signup": {
"case_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_options": [
{
"currencies": [
"NOK"
],
"type": "seitatech.in_person"
}
]
}
}
'import requests
url = "https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/seitatech"
payload = { "signup": {
"case_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payment_options": [
{
"currencies": ["NOK"],
"type": "seitatech.in_person"
}
]
} }
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: {
case_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
payment_options: [{currencies: ['NOK'], type: 'seitatech.in_person'}]
}
})
};
fetch('https://api.dintero.com/v1/accounts/{aid}/management/settings/connections/seitatech', 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/seitatech"
payload := strings.NewReader("{\n \"signup\": {\n \"case_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"payment_options\": [\n {\n \"currencies\": [\n \"NOK\"\n ],\n \"type\": \"seitatech.in_person\"\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/seitatech")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"signup\": {\n \"case_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"payment_options\": [\n {\n \"currencies\": [\n \"NOK\"\n ],\n \"type\": \"seitatech.in_person\"\n }\n ]\n }\n}")
.asString();{
"signups": [
{
"case_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"payment_options": [
{
"currencies": [
"NOK"
],
"type": "seitatech.in_person"
}
]
}
],
"created_at": "2023-11-07T05:31:56Z",
"created_by": "1c92f7e1-2897-4d46-bdcc-c127a914fb4e",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {},
"status": "pending",
"events": [
{
"status": "pending",
"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,
"configuration": {
"payment_options": [
{
"currencies": [
"NOK"
],
"type": "<string>"
}
]
}
}{
"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
Response
Seitatech Connection