API Reference
Generated from the Wishbone OpenAPI schema (v2.0.0). Every endpoint below shows the exact request — method, URL, headers and body.
Base URLs
https://sandbox.api.getwishbone.ioTest keys (wbk_test_…). No real money moves.https://api.getwishbone.ioLive keys (wbk_live_…). Issued at onboarding.The machine-readable schema is at /openapi.json — point your codegen at it directly.
The hosted sandbox is not currently reachable. The reference below is generated from the shipped API schema and is accurate, but requests against sandbox.api.getwishbone.io will not succeed until the environment is live. See environment status.
Bank / Issuer API — contents
School Feed API — contents
Bank / Issuer API
Server-to-server. Your backend authenticates with an API key and never exposes it to a client.
Accounts
Bank: cardholder accounts, held only as a keyed hash of your reference.
Create or Reactivate an Account
#Idempotent: the same `cardholder_ref` always maps to the same account.
Authentication
X-Wishbone-API-KeyRequest
curl -X POST "https://sandbox.api.getwishbone.io/v1/accounts" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{
"cardholder_ref": "c_7f3a91e2"
}'Body
cardholder_refstringREQUIREDmax 255 chars, min 1 charsYour own opaque, stable identifier for the cardholder. Never an email, name, phone or card number. Wishbone stores only a keyed hash of it.
Response
{
"success": true,
"data": {
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34",
"status": "active",
"created_at": "2026-05-07T14:10:00+00:00",
"unlinked_at": null,
"school_links": []
},
"meta": { "request_id": "req_01HX..." }
}Find an Account by Your Reference
#The reference travels in the body, not the URL, so it stays out of access logs.
Authentication
X-Wishbone-API-KeyRequest
curl -X POST "https://sandbox.api.getwishbone.io/v1/accounts/lookup" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{
"cardholder_ref": "c_7f3a91e2"
}'Body
cardholder_refstringREQUIREDmax 255 chars, min 1 charsYour own opaque, stable identifier for the cardholder. Never an email, name, phone or card number. Wishbone stores only a keyed hash of it.
Response
{
"success": true,
"data": {
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34",
"status": "active",
"created_at": "2026-05-07T14:10:00+00:00",
"unlinked_at": null,
"school_links": [
{ "school_id": "sch_tennessee", "status": "linked", "linked_at": "2026-05-07T14:12:41+00:00" }
]
},
"meta": { "request_id": "req_01HX..." }
}Get an Account
#Authentication
X-Wishbone-API-KeyRequest
curl "https://sandbox.api.getwishbone.io/v1/accounts/b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET"Path parameters
account_idstring (uuid)REQUIREDResponse
{
"success": true,
"data": {
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34",
"status": "active",
"created_at": "2026-05-07T14:10:00+00:00",
"unlinked_at": null,
"school_links": [
{ "school_id": "sch_tennessee", "status": "linked", "linked_at": "2026-05-07T14:12:41+00:00" }
]
},
"meta": { "request_id": "req_01HX..." }
}Unlink an Account
#Marks the account unlinked and erases every school donor reference. Gifts already accepted still reach the school, without a donor reference.
Authentication
X-Wishbone-API-KeyRequest
curl -X DELETE "https://sandbox.api.getwishbone.io/v1/accounts/b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET"Path parameters
account_idstring (uuid)REQUIREDResponse
{
"success": true,
"data": {
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34",
"status": "unlinked",
"unlinked_at": "2026-05-07T15:01:12+00:00"
},
"meta": { "request_id": "req_01HX..." }
}Start a School Account Link
#Returns the school's own sign-in URL. Open it for the cardholder. The cardholder proves who they are to the school directly. Wishbone reads back only the school's opaque donor reference; the bank never sees it and the school never sees anything from the bank.
Authentication
X-Wishbone-API-KeyRequest
curl -X POST "https://sandbox.api.getwishbone.io/v1/accounts/b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34/school-links" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{
"return_url": "mybank://wishbone/complete",
"school_id": "sch_tennessee"
}'Path parameters
account_idstring (uuid)REQUIREDBody
return_urlstringREQUIREDmax 2048 chars, min 1 charsWhere Wishbone sends the cardholder when linking ends. `status=linked|failed` and `school_id` are appended.
school_idstringREQUIREDResponse
{
"success": true,
"data": {
"school_id": "sch_tennessee",
"authorize_url": "https://login.utsports.example/oauth/authorize?response_type=code&client_id=wishbone&redirect_uri=...&state=...",
"expires_at": "2026-05-07T14:27:00Z"
},
"meta": { "request_id": "req_01HX..." }
}Remove a School Account Link
#Authentication
X-Wishbone-API-KeyRequest
curl -X DELETE "https://sandbox.api.getwishbone.io/v1/accounts/b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34/school-links/sch_tennessee" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET"Path parameters
account_idstring (uuid)REQUIREDschool_idstringREQUIREDResponse
{
"success": true,
"data": {
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34",
"school_id": "sch_tennessee",
"status": "revoked"
},
"meta": { "request_id": "req_01HX..." }
}Donations
Bank: push gifts and track them.
List Gifts
#Your gifts, oldest first, for reconciliation.
Authentication
X-Wishbone-API-KeyRequest
curl "https://sandbox.api.getwishbone.io/v1/donations" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET"Query parameters
status"accepted" | "delivered" | "cancelled"created_afterstring (date-time)created_beforestring (date-time)limitinteger>= 1, <= 100cursorstringResponse
{
"success": true,
"data": [
{ "donation_id": "9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92", "status": "delivered", "dollar_amount": 50.0, "...": "..." }
],
"meta": { "request_id": "req_01HX...", "limit": 50, "next_cursor": null }
}Find a Gift by Your Reference
#Use after a timeout to learn whether a request landed.
Authentication
X-Wishbone-API-KeyRequest
curl -X POST "https://sandbox.api.getwishbone.io/v1/donations/lookup" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{
"bank_transaction_ref": "TXN-12345"
}'Body
bank_transaction_refstringREQUIREDmax 255 chars, min 1 charsResponse
{
"success": true,
"data": {
"donation_id": "9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92",
"status": "accepted",
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34",
"school_id": "sch_tennessee",
"school_name": "Tennessee Fund",
"fund_designation": "annual_fund",
"dollar_amount": 50.0,
"points_redeemed": 5000,
"program_id": "lp_acme_rewards",
"recurring": false,
"recurrence_cadence": null,
"donor_linked": null,
"created_at": "2026-05-07T14:22:00+00:00",
"delivered_at": null,
"cancelled_at": null
},
"meta": { "request_id": "req_01HX..." }
}Submit a Gift
#Debit the cardholder's points first, then call this. `202` means accepted and recorded. The gift becomes `delivered` once the school pulls it, and you receive `donation.delivered`.
Authentication
X-Wishbone-API-KeyRequest
curl -X POST "https://sandbox.api.getwishbone.io/v1/donations/request" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{
"bank_transaction_ref": "TXN-12345",
"dollar_amount": 50,
"fund_designation": "annual_fund",
"school_id": "sch_tennessee"
}'Body
bank_transaction_refstringREQUIREDmax 255 chars, min 1 charsYour idempotency key. Stored only as a keyed hash, so it is never echoed back.
dollar_amountanyREQUIREDUSD value after your points conversion. Up to 2 decimal places.
fund_designationstringREQUIREDschool_idstringREQUIREDaccount_idstring (uuid)Wishbone account for the cardholder. Optional; without it, or without a school link, the school receives the gift with no donor reference.
points_redeemedinteger>= 0Returned to you only; never sent to the school.
program_idstringmax 64 charsYour rewards program. Returned to you only.
recurrence_cadence"monthly" | "quarterly"recurringbooleanResponse
{
"success": true,
"data": {
"donation_id": "9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92",
"status": "accepted",
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34",
"school_id": "sch_tennessee",
"school_name": "Tennessee Fund",
"fund_designation": "annual_fund",
"dollar_amount": 50.0,
"points_redeemed": 5000,
"program_id": "lp_acme_rewards",
"recurring": false,
"recurrence_cadence": null,
"donor_linked": null,
"created_at": "2026-05-07T14:22:00+00:00",
"delivered_at": null,
"cancelled_at": null
},
"meta": { "request_id": "req_01HX..." }
}Get a Gift
#Authentication
X-Wishbone-API-KeyRequest
curl "https://sandbox.api.getwishbone.io/v1/donations/9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET"Path parameters
donation_idstring (uuid)REQUIREDResponse
{
"success": true,
"data": {
"donation_id": "9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92",
"status": "delivered",
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34",
"school_id": "sch_tennessee",
"school_name": "Tennessee Fund",
"fund_designation": "annual_fund",
"dollar_amount": 50.0,
"points_redeemed": 5000,
"program_id": "lp_acme_rewards",
"recurring": false,
"recurrence_cadence": null,
"donor_linked": true,
"created_at": "2026-05-07T14:22:00+00:00",
"delivered_at": "2026-05-07T14:31:09+00:00",
"cancelled_at": null
},
"meta": { "request_id": "req_01HX..." }
}Cancel a Gift
#Allowed until the school has been shown the gift. Then refund the points.
Authentication
X-Wishbone-API-KeyRequest
curl -X POST "https://sandbox.api.getwishbone.io/v1/donations/9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92/cancel" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET"Path parameters
donation_idstring (uuid)REQUIREDResponse
{
"success": true,
"data": {
"donation_id": "9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92",
"status": "cancelled",
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34",
"school_id": "sch_tennessee",
"school_name": "Tennessee Fund",
"fund_designation": "annual_fund",
"dollar_amount": 50.0,
"points_redeemed": 5000,
"program_id": "lp_acme_rewards",
"recurring": false,
"recurrence_cadence": null,
"donor_linked": null,
"created_at": "2026-05-07T14:22:00+00:00",
"delivered_at": null,
"cancelled_at": "2026-05-07T14:23:30+00:00"
},
"meta": { "request_id": "req_01HX..." }
}Schools
Bank: browse schools and funds.
List Schools
#Authentication
X-Wishbone-API-KeyRequest
curl "https://sandbox.api.getwishbone.io/v1/schools" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET"Query parameters
searchstringstatestringconferencestringactivebooleanlimitinteger>= 1, <= 100cursorstringResponse
{
"success": true,
"data": [
{
"school_id": "sch_tennessee",
"name": "Tennessee Fund",
"university": "University of Tennessee",
"nickname": "Volunteers",
"city": "Knoxville",
"state": "TN",
"conference": "SEC",
"logo_url": "https://cdn.getwishbone.io/schools/sch_tennessee/logo.png",
"hero_image_url": "https://cdn.getwishbone.io/schools/sch_tennessee/hero.jpg",
"minimum_donation_usd": 5.0,
"platform": "pac_io",
"account_linking": true,
"active": true,
"fund_count": 2,
"total_raised_usd": 18450.0
}
],
"meta": { "request_id": "req_01HX...", "total": 1, "limit": 50, "next_cursor": null }
}Get School Detail
#Authentication
X-Wishbone-API-KeyRequest
curl "https://sandbox.api.getwishbone.io/v1/schools/sch_tennessee" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET"Path parameters
school_idstringREQUIREDResponse
{
"success": true,
"data": {
"school_id": "sch_tennessee",
"name": "Tennessee Fund",
"university": "University of Tennessee",
"minimum_donation_usd": 5.0,
"platform": "pac_io",
"account_linking": true,
"active": true,
"primary_color": "#FF8200",
"secondary_color": "#58595B",
"impact_statement": "Support Tennessee Athletics and help Volunteers compete at the highest level.",
"funds": [
{ "fund_id": "annual_fund", "label": "Annual Fund", "description": "General athletics support", "minimum_usd": 5.0, "active": true },
{ "fund_id": "scholarship", "label": "Scholarship Fund", "description": "Student-athlete scholarships", "minimum_usd": 25.0, "active": true }
],
"tax_info": {
"ein": "62-0646012",
"receipt_issuer": "University of Tennessee Athletics",
"receipt_address": "1600 Phillip Fulmer Way, Knoxville, TN 37916"
}
},
"meta": { "request_id": "req_01HX..." }
}Embed
Bank: tokens for the hosted flow.
Generate Embed Token
#Authentication
X-Wishbone-API-KeyRequest
curl -X POST "https://sandbox.api.getwishbone.io/v1/embed/token" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34"
}'Body
account_idstring (uuid)REQUIREDcancel_urlstringdollar_amountanyexpires_ininteger>= 60, <= 900Token TTL in seconds. Max 900 (15 min).
fund_designationstringlock_amountbooleanlock_schoolbooleanreturn_urlstringschool_idstringtheme_overrideobjectResponse
{
"success": true,
"data": {
"embed_token": "wbt_gAAAAAB...",
"embed_url": "https://embed.getwishbone.io/v1/session?token=wbt_gAAAAAB...",
"expires_at": "2026-05-07T14:32:00Z"
},
"meta": { "request_id": "req_01HX..." }
}School Feed API
Read-only. A school pulls its gifts with a school key (wbs_…). Banks do not call these.
School Feed
School: pull gifts (read-only, school key).
Pull New Gifts
#Authentication
X-Wishbone-School-KeyRequest
curl "https://sandbox.api.getwishbone.io/v1/school/gifts" \
-H "X-Wishbone-School-Key: wbs_test_YOUR_KEY_ID:YOUR_SECRET"Query parameters
cursorstringThe `next_cursor` from your last page. Passing it confirms you stored everything up to it.
limitinteger>= 1, <= 500Response
{
"success": true,
"data": [
{
"gift_id": "9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92",
"cursor": "cur_MTA0Mg",
"created_at": "2026-05-07T14:22:00+00:00",
"fund_designation": "annual_fund",
"fund_label": "Annual Fund",
"dollar_amount": 50.0,
"currency": "USD",
"recurring": false,
"recurrence_cadence": null,
"payer": { "payer_id": "5c1e9a40-2b7d-4f0e-9a51-3d8c2e7b6f14", "name": "Acme Bank" },
"donor_ref": "TN-DONOR-88421"
}
],
"meta": { "request_id": "req_01HX...", "limit": 100, "next_cursor": "cur_MTA0Mg" }
}Get One Gift
#Authentication
X-Wishbone-School-KeyRequest
curl "https://sandbox.api.getwishbone.io/v1/school/gifts/9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92" \
-H "X-Wishbone-School-Key: wbs_test_YOUR_KEY_ID:YOUR_SECRET"Path parameters
gift_idstring (uuid)REQUIREDResponse
{
"success": true,
"data": {
"gift_id": "9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92",
"cursor": "cur_MTA0Mg",
"created_at": "2026-05-07T14:22:00+00:00",
"fund_designation": "annual_fund",
"fund_label": "Annual Fund",
"dollar_amount": 50.0,
"currency": "USD",
"recurring": false,
"recurrence_cadence": null,
"payer": { "payer_id": "5c1e9a40-2b7d-4f0e-9a51-3d8c2e7b6f14", "name": "Acme Bank" },
"donor_ref": "TN-DONOR-88421"
},
"meta": { "request_id": "req_01HX..." }
}