-
Notifications
You must be signed in to change notification settings - Fork 22
Add Payment
Diego edited this page May 20, 2013
·
11 revisions
POST /api/movements/:movement_id/donations/add_payment(.:format)
Adds a new payment for a recurring donation
Parameters | |
---|---|
movement_idMandatory
|
Movement Identifier Related to current Donation |
transaction_idMandatory
|
New Payment Gateway Transaction Identifier Associated to current payment |
subscription_idMandatory
|
Donation Subscription Identifier |
amount_in_centsMandatory
|
Donation Amount |
order_numberMandatory
|
Invoice Number |
200
if Successful
404
if Donation Not Found
Field | Description |
---|---|
text | Error description if donation can not be found. |
POST /api/movements/test-movement/donations/add_payment.json
Content-Type: application/x-www-form-urlencoded
subscription_id=6a3559a376a641949c7dd32baa289645&amount_in_cents=1000&transaction_id=1aa1b2c3dd01234a7111122dddaa0fff&order_number=1e14528519c34386af3f2163693fdba5
200 (OK)