Skip to content
Snippets Groups Projects
Commit 0f5df1f9 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

updated charge api

parent 28538ff4
No related branches found
No related tags found
No related merge requests found
Pipeline #7263 passed
......@@ -59,13 +59,15 @@ Successfull discharge will have a response code of `201`
## `POST /api/json/key/:key/charge`
Charges a key by specified amount. Creates a Order to do so. A note can be attached to the Order.
`manual` is currently the only valid payment processor for API.
`manual` is currently the only valid payment processor for API.
Can take either amount or price. If both supplied only amount is taken into account.
### Parameters
```json
{
"amount": <AMOUNT_TO_CHARGE>
"amount": <AMOUNT_TO_CHARGE>,
"price": <PRICE_TO_CHARGE>,
"payment_processor": "manual",
"note": <NOTE_FOR_ORDER>
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment