/v1/transactions
Live contribution/payment flow
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/opencollective-api/v1/transactions" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/opencollective-api/v1/transactions", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/opencollective-api/v1/transactions");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/opencollective-api/v1/transactions",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"slug": "webpack",
"count": 25,
"source": "Open Collective",
"transactions": [
{
"to": "Other Payment Processor",
"from": "webpack",
"kind": "PAYMENT_PROCESSOR_FEE",
"type": "DEBIT",
"amount": -18.07,
"currency": "USD",
"created_at": "2026-06-09T18:36:39.437Z",
"net_amount": -18.07,
"description": "Other Payment Processor payment processor fee"
},
{
"to": "Hai",
"from": "webpack",
"kind": "EXPENSE",
"type": "DEBIT",
"amount": -2000,
"currency": "USD",
"created_at": "2026-06-09T18:36:39.455Z",
"net_amount": -2000,
"description": "Development and communication (04/2026)"
},
{
"to": "Open Source Collective",
"from": "webpack",
"kind": "HOST_FEE",
"type": "DEBIT",
"amount": -0.2,
"currency": "USD",
"created_at": "2026-06-09T11:18:47.109Z",
"net_amount": -0.2,
"description": "Host Fee"
},
{
"to": "PayPal",
"from": "webpack",
"kind": "PAYMENT_PROCESSOR_FEE",
"type": "DEBIT",
"amount": -0.59,
"currency": "USD",
"created_at": "2026-06-09T11:18:47.240Z",
"net_amount": -0.59,
"description": "PayPal payment processor fee"
},
{
"to": "webpack",
"from": "Lotto tulokset",
"kind": "CONTRIBUTION",
"type": "CREDIT",
"amount": 2,
"currency": "USD",
"created_at": "2026-06-09T11:18:47.538Z",
"net_amount": 2,
"description": "Monthly financial contribution to webpack (Backer)"
},
{
"to": "Open Source Collective",
"from": "webpack",
"kind": "HOST_FEE",
"type": "DEBIT",
"amount": -0.2,
"currency": "USD",
"created_at": "2026-06-08T15:31:11.724Z",
"net_amount": -0.2,
"description": "Host Fee"
},
{
"to": "Stripe",
"from": "webpack",
"kind": "PAYMENT_PROCESSOR_FEE",
"type": "DEBIT",
"amount": -0.39,
"currency": "USD",
"created_at": "2026-06-08T15:31:11.749Z",
"net_amount": -0.39,
"description": "Stripe payment processor fee"
},
{
"to": "webpack",
…