Skip to main content
POST
https://api.dintero.com/v1
/
examples
/
account_payout_destination_update
example_account_payout_destination_update_event
curl --request POST \
  --url https://api.dintero.com/v1/examples/account_payout_destination_update \
  --header 'content-type: <content-type>' \
  --header 'event: <event>' \
  --header 'event-delivery: <event-delivery>' \
  --data '
{
  "account_id": "P12345678",
  "event": "account_payout_destination_update",
  "event_delivery": "9ebb6d41-dca5-484e-8330-9c9fa96b60ba",
  "payout_destination": {
    "id": "<string>",
    "created_at": "<string>",
    "created_by": "<string>",
    "updated_at": "<string>",
    "updated_by": "<string>",
    "account_id": "<string>",
    "payout_destination_id": "PD032",
    "merchant_category_code": "2741",
    "individual": {
      "name": "<string>",
      "birth_date": "2023-12-25",
      "phone_number": "<string>",
      "email": "jsmith@example.com",
      "address_line": "Sommerkroveien 34",
      "address_line_2": "PB 123",
      "address_postal_code": "0349",
      "address_city": "Oslo",
      "address_country": "NO"
    },
    "bank_accounts": [
      {
        "bank_account_currency": "NOK",
        "bank_name": "<string>",
        "bank_account_number": "<string>",
        "bank_account_country_code": "NO",
        "bank_identification_code": "DNBANOKKXXX"
      }
    ],
    "payout_reference": "<string>",
    "email": "jsmith@example.com",
    "website": "<string>",
    "phone_number": "<string>",
    "payout_destination_name": "<string>",
    "payout_destination_description": "<string>",
    "links": [
      {
        "href": "<string>"
      }
    ]
  }
}
'
import requests

url = "https://api.dintero.com/v1/examples/account_payout_destination_update"

payload = {
"account_id": "P12345678",
"event": "account_payout_destination_update",
"event_delivery": "9ebb6d41-dca5-484e-8330-9c9fa96b60ba",
"payout_destination": {
"id": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"updated_at": "<string>",
"updated_by": "<string>",
"account_id": "<string>",
"payout_destination_id": "PD032",
"merchant_category_code": "2741",
"individual": {
"name": "<string>",
"birth_date": "2023-12-25",
"phone_number": "<string>",
"email": "jsmith@example.com",
"address_line": "Sommerkroveien 34",
"address_line_2": "PB 123",
"address_postal_code": "0349",
"address_city": "Oslo",
"address_country": "NO"
},
"bank_accounts": [
{
"bank_account_currency": "NOK",
"bank_name": "<string>",
"bank_account_number": "<string>",
"bank_account_country_code": "NO",
"bank_identification_code": "DNBANOKKXXX"
}
],
"payout_reference": "<string>",
"email": "jsmith@example.com",
"website": "<string>",
"phone_number": "<string>",
"payout_destination_name": "<string>",
"payout_destination_description": "<string>",
"links": [{ "href": "<string>" }]
}
}
headers = {
"event": "<event>",
"event-delivery": "<event-delivery>",
"content-type": "<content-type>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {
event: '<event>',
'event-delivery': '<event-delivery>',
'content-type': '<content-type>'
},
body: JSON.stringify({
account_id: 'P12345678',
event: 'account_payout_destination_update',
event_delivery: '9ebb6d41-dca5-484e-8330-9c9fa96b60ba',
payout_destination: {
id: '<string>',
created_at: '<string>',
created_by: '<string>',
updated_at: '<string>',
updated_by: '<string>',
account_id: '<string>',
payout_destination_id: 'PD032',
merchant_category_code: '2741',
individual: {
name: '<string>',
birth_date: '2023-12-25',
phone_number: '<string>',
email: 'jsmith@example.com',
address_line: 'Sommerkroveien 34',
address_line_2: 'PB 123',
address_postal_code: '0349',
address_city: 'Oslo',
address_country: 'NO'
},
bank_accounts: [
{
bank_account_currency: 'NOK',
bank_name: '<string>',
bank_account_number: '<string>',
bank_account_country_code: 'NO',
bank_identification_code: 'DNBANOKKXXX'
}
],
payout_reference: '<string>',
email: 'jsmith@example.com',
website: '<string>',
phone_number: '<string>',
payout_destination_name: '<string>',
payout_destination_description: '<string>',
links: [{href: '<string>'}]
}
})
};

fetch('https://api.dintero.com/v1/examples/account_payout_destination_update', 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/examples/account_payout_destination_update"

payload := strings.NewReader("{\n \"account_id\": \"P12345678\",\n \"event\": \"account_payout_destination_update\",\n \"event_delivery\": \"9ebb6d41-dca5-484e-8330-9c9fa96b60ba\",\n \"payout_destination\": {\n \"id\": \"<string>\",\n \"created_at\": \"<string>\",\n \"created_by\": \"<string>\",\n \"updated_at\": \"<string>\",\n \"updated_by\": \"<string>\",\n \"account_id\": \"<string>\",\n \"payout_destination_id\": \"PD032\",\n \"merchant_category_code\": \"2741\",\n \"individual\": {\n \"name\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"phone_number\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"address_line\": \"Sommerkroveien 34\",\n \"address_line_2\": \"PB 123\",\n \"address_postal_code\": \"0349\",\n \"address_city\": \"Oslo\",\n \"address_country\": \"NO\"\n },\n \"bank_accounts\": [\n {\n \"bank_account_currency\": \"NOK\",\n \"bank_name\": \"<string>\",\n \"bank_account_number\": \"<string>\",\n \"bank_account_country_code\": \"NO\",\n \"bank_identification_code\": \"DNBANOKKXXX\"\n }\n ],\n \"payout_reference\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"website\": \"<string>\",\n \"phone_number\": \"<string>\",\n \"payout_destination_name\": \"<string>\",\n \"payout_destination_description\": \"<string>\",\n \"links\": [\n {\n \"href\": \"<string>\"\n }\n ]\n }\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("event", "<event>")
req.Header.Add("event-delivery", "<event-delivery>")
req.Header.Add("content-type", "<content-type>")

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/examples/account_payout_destination_update")
.header("event", "<event>")
.header("event-delivery", "<event-delivery>")
.header("content-type", "<content-type>")
.body("{\n \"account_id\": \"P12345678\",\n \"event\": \"account_payout_destination_update\",\n \"event_delivery\": \"9ebb6d41-dca5-484e-8330-9c9fa96b60ba\",\n \"payout_destination\": {\n \"id\": \"<string>\",\n \"created_at\": \"<string>\",\n \"created_by\": \"<string>\",\n \"updated_at\": \"<string>\",\n \"updated_by\": \"<string>\",\n \"account_id\": \"<string>\",\n \"payout_destination_id\": \"PD032\",\n \"merchant_category_code\": \"2741\",\n \"individual\": {\n \"name\": \"<string>\",\n \"birth_date\": \"2023-12-25\",\n \"phone_number\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"address_line\": \"Sommerkroveien 34\",\n \"address_line_2\": \"PB 123\",\n \"address_postal_code\": \"0349\",\n \"address_city\": \"Oslo\",\n \"address_country\": \"NO\"\n },\n \"bank_accounts\": [\n {\n \"bank_account_currency\": \"NOK\",\n \"bank_name\": \"<string>\",\n \"bank_account_number\": \"<string>\",\n \"bank_account_country_code\": \"NO\",\n \"bank_identification_code\": \"DNBANOKKXXX\"\n }\n ],\n \"payout_reference\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"website\": \"<string>\",\n \"phone_number\": \"<string>\",\n \"payout_destination_name\": \"<string>\",\n \"payout_destination_description\": \"<string>\",\n \"links\": [\n {\n \"href\": \"<string>\"\n }\n ]\n }\n}")
.asString();

Headers

event
string
required
event-delivery
string
required
event-signature
string
content-type
string
required

Body

application/json
account_id
string
required
Example:

"P12345678"

event
enum<string>
required
Available options:
account_payout_destination_update
Example:

"account_payout_destination_update"

event_delivery
string<uuid>
required
Example:

"9ebb6d41-dca5-484e-8330-9c9fa96b60ba"

payout_destination
object
required

Response

event handled

Last modified on July 7, 2026