Add Payment - PurposeOpen/Platform GitHub Wiki
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 |
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/add_payment.json Content-Type: application/x-www-form-urlencoded
subscription_id=6a3559a376a641949c7dd32baa289645&amount_in_cents=1000&transaction_id=1aa1b2c3dd01234a7111122dddaa0fff&order_number=1e14528519c34386af3f2163693fdba5
Example Response
200 (OK)