Skip to main content

Cancel Payment

PUT 

/v1/payments/:paymentId

Click on Send API Request after entering the required data, to o cancel a barcode/payment. You must include the status parameter set to CANCELLED in body.

Note: This is applicable to Paysafecash payment method. You can cancel a barcode/payment only if the Payment is in PROCESSING.

Request

Path Parameters

    paymentId stringrequired

    This is the ID returned in the response of the Payments request.

Header Parameters

    Simulator string

    Possible values: [EXTERNAL, INTERNAL]

    Default value: EXTERNAL

    Content-Type string

    Possible values: [application/json]

Body

Cancel Payment

    status string

    Possible values: [CANCELLED]

    This is the status of the cancel request.

Responses

OK

Response Headers

  • Content-Type

    string

Schema

    id string

    This is the ID returned in the response. This ID can be used for future associated requests, for example, to look up the Payment.

    txnTime date-time

    This is the date and time the transaction was processed.

    status string

    Possible values: [CANCELLED]

    This is the status of the cancel request.

Loading...