Update a payment
To update a payment, you use payments resource. They are a reference of the actual payment that happens at the payment gateway.
Payments handle customers' actual payments of previously defined order.
patch/payments/{paymentId}
Request
- Base URLhttps://api.sandbox.cleeng.com/3.1
- URLhttps://api.sandbox.cleeng.com/3.1/payments/{paymentId}
- AuthAPI key in header X-Publisher-Token
Path parameters
paymentIdinteger required
Headers
Content-Typestring
Request body
Response
200
Example response
{
"success": true,
"payment": {
"paymentId": 123456,
"publisherId": 123456789,
"orderId": 654321,
"paymentDetailsId": 987654321,
"paymentStatus": "captured",
"paymentOperation": "initial-payment"
},
"message": "Payment updated successfully"
}Changes
No recorded changes to this operation across all 1 revision of this API.