Charge Actions
Increment Charge
Performs an increment on a charge. Note that this is not allowed if the charge has previously been cleared (either partially or fully).
Increment support for Diners is <a class="experimental-tag-link" href="https://docs.silverflow.com/guides/api-lifecycle#tag/EXPERIMENTAL-Tag"><span class="tag experimental-tag">EXPERIMENTAL</span></a>.
For decreasing the authorization amount, please see Reverse charge.
Requires the charges:Increment permission.
post/charges/{chargeKey}/increment
Request
- Base URLhttps://eu-west-1.api.silverflow.com/v1
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chargeKeystring required
Uniquely identifies a charge.
Example:chg-1e1dAHhgstYTUhlphPzZ
Uniquely identifies a charge.
Headers
Idempotency-Keystring
This key is used to deduplicate requests that are retried. For more information see the section on Idempotency.
Example:28gKCluIEKp8jVboUyr2
Request body
Example request
{
"replacementAmount": 2599,
"reference": "MyRef"
}Response
The resulting increment action
Example response
{
"key": "act-1e1dA2fgs1YTUhlhyPOp",
"chargeKey": "chg-1e1dAHhgstYTUhlphPzZ",
"reference": "MyRef",
"replacementAmount": {
"value": 2599,
"currency": "EUR"
},
"authorizationResponse": {
"responseCode": "00",
"responseCodeDescription": "Approved"
},
"version": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.