Quickstart
Authenticate, list schools, and push your first gift.
1. Get a key
Request sandbox access at /signup. Keys look like wbk_test_<key_id>:<secret> in sandbox and wbk_live_… in production. The full key is shown once and never again — only a hash is stored.
2. Call the API
Every bank request is server-to-server and carries your key in the X-Wishbone-API-Key header. Start with the school list, which needs nothing else:
curl "https://sandbox.api.getwishbone.io/v1/schools?state=TN" \
-H "X-Wishbone-API-Key: wbk_test_YOUR_KEY_ID:YOUR_SECRET"{
"success": true,
"data": [
{
"school_id": "sch_tennessee",
"name": "Tennessee Fund",
"university": "University of Tennessee",
"state": "TN",
"conference": "SEC",
"minimum_donation_usd": 5.0,
"fund_count": 2,
"active": true
}
],
"meta": { "request_id": "req_01HX...", "total": 1, "limit": 50 }
}3. Create an account (optional)
Send your own opaque cardholder reference — never an email, name or phone. Wishbone keeps only a keyed hash of it and gives you back an account_id. The same reference always returns the same account.
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" }'You only need an account if the cardholder will link their school account, so the school can credit them by name. Without one, the gift is credited to your program.
4. Push a gift
Debit the points on your side first, then push the gift. bank_transaction_ref is your idempotency key — resubmitting it returns 409 DONATION_DUPLICATE with the existing donation_id instead of double-posting.
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 '{
"account_id": "b3d1f0c2-8a4e-4f77-9c2f-1e5a7d9b0c34",
"school_id": "sch_tennessee",
"fund_designation": "annual_fund",
"dollar_amount": "50.00",
"points_redeemed": 5000,
"bank_transaction_ref": "TXN-12345"
}'{
"success": true,
"data": {
"donation_id": "9f14c6d2-7b3a-4e51-a0c8-2d6b8e4f1a92",
"status": "accepted",
"school_id": "sch_tennessee",
"dollar_amount": 50.0,
"delivered_at": null,
...
},
"meta": { "request_id": "req_01HX..." }
}Store the donation_id. Wishbone does not call the school: the school pulls the gift from its own feed. When it does, the gift becomes delivered and you receive a donation.delivered webhook. You can also poll GET /v1/donations/{id}.
Next
Full endpoint list in the API Reference. For the in-app cardholder flow, see Mobile SDK and App browser routing.