Integrations
Review outgoing donations owned by archived donors
Returns local payment groups whose outgoing work is waiting for a missing donor mapping and whose current owner is archived. Exposes actual candidate matching, identity/commitment/payment safety blockers, separate keep-local eligibility, current tokens and a potentially undoable prior resolution. Totals can span currencies while the top-level currency comes from the first group; review each group currency. No provider requests are sent. Requires the integration platform global/configured client feature gate (normally integration_platform_foundation). Requires permission: one of access_account_settings.
GET
/
integrations
/
hub
/
connections
/
{connection_id}
/
outbound-donation-owner-decisions
Review outgoing donations owned by archived donors
curl --request GET \
--url https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions', 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.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"connection_id": 42,
"decision_count": 2,
"safe_decision_count": 2,
"record_count": 2,
"total_amount": "125.00",
"currency": "Example",
"decisions": [
{
"current_owner": {
"id": 42,
"name": "Example",
"email": "Example",
"username": "Example",
"archived_at": "2023-11-07T05:31:56Z",
"profile": {
"display_name": "Example",
"email": "Example",
"username": "Example",
"organization_name": "Example"
}
},
"record_count": 2,
"total_amount": "125.00",
"currency": "Example",
"currencies": [
"<string>"
],
"date_from": "2023-11-07T05:31:56Z",
"date_to": "2023-11-07T05:31:56Z",
"donation_ids": [
42
],
"outbox_event_ids": [
42
],
"candidates": [
{
"id": 42,
"name": "Example",
"email": "Example",
"username": "Example",
"provider_object_id": "Example",
"mapping_id": 42,
"mapping_updated_at": "2023-11-07T05:31:56Z",
"profile": {
"display_name": "Example",
"email": "Example",
"username": "Example",
"organization_name": "Example"
},
"match_signals": [
"display_name"
],
"has_open_identity_conflict": true,
"safe_to_select": true
}
],
"safe_to_select": true,
"safe_to_keep_local": true,
"blockers": [
"<string>"
],
"keep_local_blockers": [
"<string>"
],
"review_token": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
],
"side_effects": {
"gifts_changed": 2,
"donors_created": 0,
"donations_created": 0,
"payments_changed": 0,
"messages_sent": 0,
"provider_requests_sent": 0,
"sync_cursors_changed": 0,
"refunds_held_for_review": 2
},
"recent_resolution": {
"run_id": 42,
"decision": "keep_local",
"record_count": 2,
"total_amount": "125.00",
"currency": "Example",
"created_at": "2023-11-07T05:31:56Z"
}
}
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}Authorizations
bearerAuthapiKeyAuth
Passport bearer token authentication for legacy admin sessions.
Path Parameters
Connection id in the current organization.
⌘I
Review outgoing donations owned by archived donors
curl --request GET \
--url https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions', 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.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/integrations/hub/connections/{connection_id}/outbound-donation-owner-decisions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {
"connection_id": 42,
"decision_count": 2,
"safe_decision_count": 2,
"record_count": 2,
"total_amount": "125.00",
"currency": "Example",
"decisions": [
{
"current_owner": {
"id": 42,
"name": "Example",
"email": "Example",
"username": "Example",
"archived_at": "2023-11-07T05:31:56Z",
"profile": {
"display_name": "Example",
"email": "Example",
"username": "Example",
"organization_name": "Example"
}
},
"record_count": 2,
"total_amount": "125.00",
"currency": "Example",
"currencies": [
"<string>"
],
"date_from": "2023-11-07T05:31:56Z",
"date_to": "2023-11-07T05:31:56Z",
"donation_ids": [
42
],
"outbox_event_ids": [
42
],
"candidates": [
{
"id": 42,
"name": "Example",
"email": "Example",
"username": "Example",
"provider_object_id": "Example",
"mapping_id": 42,
"mapping_updated_at": "2023-11-07T05:31:56Z",
"profile": {
"display_name": "Example",
"email": "Example",
"username": "Example",
"organization_name": "Example"
},
"match_signals": [
"display_name"
],
"has_open_identity_conflict": true,
"safe_to_select": true
}
],
"safe_to_select": true,
"safe_to_keep_local": true,
"blockers": [
"<string>"
],
"keep_local_blockers": [
"<string>"
],
"review_token": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
],
"side_effects": {
"gifts_changed": 2,
"donors_created": 0,
"donations_created": 0,
"payments_changed": 0,
"messages_sent": 0,
"provider_requests_sent": 0,
"sync_cursors_changed": 0,
"refunds_held_for_review": 2
},
"recent_resolution": {
"run_id": 42,
"decision": "keep_local",
"record_count": 2,
"total_amount": "125.00",
"currency": "Example",
"created_at": "2023-11-07T05:31:56Z"
}
}
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}