Register a partner hosted donation
POST/v1/donations/partner-hosted
Registers a Donation of type partner_hosted for a card payment that you have already taken on the Stripe account Goodstack has connected to your platform.
Goodstack retrieves the payment from Stripe and checks that it has succeeded, that its amount and currency match the request, that it has not been refunded or disputed, and that no other Donation is registered for it. The Donation is created with status RECEIVED. It is settled when the payment appears in the Stripe payout, and is then disbursed to the nonprofit.
You are not invoiced for these Donations.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 422
Successfully registered a partner hosted Donation
Bad request
Unauthorized
Forbidden (scope)
A Donation is already registered for this payment
No foundation with the given account can process a donation to this organisation in this currency for the partner