Get Contribution
curl --request GET \
--url https://server.stage.overflow.co/api/v3/contributions/{contributionId} \
--header 'x-api-key: <api-key>' \
--header 'x-client-id: <api-key>'import requests
url = "https://server.stage.overflow.co/api/v3/contributions/{contributionId}"
headers = {
"x-client-id": "<api-key>",
"x-api-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-client-id': '<api-key>', 'x-api-key': '<api-key>'}};
fetch('https://server.stage.overflow.co/api/v3/contributions/{contributionId}', 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://server.stage.overflow.co/api/v3/contributions/{contributionId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>",
"x-client-id: <api-key>"
],
]);
$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://server.stage.overflow.co/api/v3/contributions/{contributionId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-client-id", "<api-key>")
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://server.stage.overflow.co/api/v3/contributions/{contributionId}")
.header("x-client-id", "<api-key>")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.stage.overflow.co/api/v3/contributions/{contributionId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-client-id"] = '<api-key>'
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "6710f34fd5061afeec3eab57",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"amount": 5000,
"donorCoveredFees": false,
"contributionDate": "2025-01-01T00:00:00.000Z",
"contributionReceivedAt": "2025-01-01T00:00:00.000Z",
"depositId": "8810f34fd5061afeec3eab67",
"campaign": {
"id": "7710f34fd5061afeec3eab78",
"name": "Mission 2025"
},
"subcampaign": null,
"dedication": null,
"donorNotes": null,
"anonymous": false,
"locationId": "6710f34fd5061afeec3eab58",
"donor": {
"id": "6710f34fd5061afeec3eab50",
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@example.com"
},
"givingLinkId": null,
"pledgeId": null,
"metadata": null,
"type": "CASH",
"status": "PAID_OUT",
"frequency": "ONE_TIME",
"liquidationInitiatedAt": null,
"receivedTokensAt": null,
"stocks": null,
"crypto": null,
"paymentMethod": {
"type": "card",
"last4": "4242",
"logoUrl": null
}
}
}Get Contribution
Returns a single contribution by its id for the authenticated nonprofit. Supports all contribution types.
GET
/
api
/
v3
/
contributions
/
{contributionId}
Get Contribution
curl --request GET \
--url https://server.stage.overflow.co/api/v3/contributions/{contributionId} \
--header 'x-api-key: <api-key>' \
--header 'x-client-id: <api-key>'import requests
url = "https://server.stage.overflow.co/api/v3/contributions/{contributionId}"
headers = {
"x-client-id": "<api-key>",
"x-api-key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-client-id': '<api-key>', 'x-api-key': '<api-key>'}};
fetch('https://server.stage.overflow.co/api/v3/contributions/{contributionId}', 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://server.stage.overflow.co/api/v3/contributions/{contributionId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>",
"x-client-id: <api-key>"
],
]);
$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://server.stage.overflow.co/api/v3/contributions/{contributionId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-client-id", "<api-key>")
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://server.stage.overflow.co/api/v3/contributions/{contributionId}")
.header("x-client-id", "<api-key>")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.stage.overflow.co/api/v3/contributions/{contributionId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-client-id"] = '<api-key>'
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "6710f34fd5061afeec3eab57",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z",
"amount": 5000,
"donorCoveredFees": false,
"contributionDate": "2025-01-01T00:00:00.000Z",
"contributionReceivedAt": "2025-01-01T00:00:00.000Z",
"depositId": "8810f34fd5061afeec3eab67",
"campaign": {
"id": "7710f34fd5061afeec3eab78",
"name": "Mission 2025"
},
"subcampaign": null,
"dedication": null,
"donorNotes": null,
"anonymous": false,
"locationId": "6710f34fd5061afeec3eab58",
"donor": {
"id": "6710f34fd5061afeec3eab50",
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@example.com"
},
"givingLinkId": null,
"pledgeId": null,
"metadata": null,
"type": "CASH",
"status": "PAID_OUT",
"frequency": "ONE_TIME",
"liquidationInitiatedAt": null,
"receivedTokensAt": null,
"stocks": null,
"crypto": null,
"paymentMethod": {
"type": "card",
"last4": "4242",
"logoUrl": null
}
}
}Last modified on July 14, 2026
Was this page helpful?
⌘I