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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
Body Params
int32
required

The identifier of Cleeng order. Required when statusrefunded.

string
required

The status of payment, available statuses are rejected, captured, refunded.

string

Payment operation type: initial-payment, initial-free-transaction, recurring-payment. Required when statusrefunded.

string

The payment identifier from external payment gateway system

paymentDetails
object
string

A reason of rejected payment. Required only when status equals rejected.

string

A reason of refunded payment. Required only when status equals refunded.

float

Refunded amount. Values bigger than 0.0

string

Type of refund: refundor chargeback

Headers
string
Defaults to application/json
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json