Skip to content

Confirm Payment

Diego edited this page May 20, 2013 · 9 revisions

POST /api/movements/:movement_id/donations/confirm_payment(.:format)

Marks a donation as confirmed (active)

Parameters
movement_id
Mandatory
Movement Identifier Related to current Donation
transaction_id
Mandatory
Payment Gateway Transaction Identifier Associated to current payment

Response

Status Code

200 if Successful
404 if Donation Not Found

Content

Field Description
text error description if donation can not be found.

Example Request

POST /api/movements/test-movement/donations/confirm_payment.json
Content-Type: application/x-www-form-urlencoded

transaction_id=1aa1b2c3dd01234a7111122dddaa0fff

Example Response

200 (OK)

back