Payments
Sandbox only: settle a pending payment
Marks a pending payment paid or declined, so payment.confirmed or payment.failed and checkout.session.completed follow without a browser. Do not also finish the payment on the hosted page. The provider never sees this outcome; the real handlers apply it, so the real events follow. 404 resource_not_available outside the sandbox; 409 state_conflict when the object is past this step.
post/api/v1/test-helpers/payments/{id}/outcome
Request
- Base URLhttps://merchant.zahlo.eu
- AuthAPI key in header x-api-key
Path parameters
idstring required
The resource identifier returned by the merchant API.
Request body
Response
Successful response
Example response
{
"amount": {
"currency": "EUR"
},
"fee": {
"currency": "EUR"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.