v1
latestOpenAPI 3.1.02026-07-241080412.6 KBUpdate 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}
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"
}