Skip to main content

VoidPayment

POST 

/v1/payment/void

Voids, or cancels, a payment, by ID. You cannot void an authorized payment that has been fully paid.

Request

Body

required

    id string

    The midaspay id of order.

    reference_id string

    The merchant id of order.

    merchant_id string

    <= 64 characters

    The id of merchant. If empty, defaults to the merchant_id of the signature authentication

Responses

OK

Response

    succeed boolean

    Voided status.

    message string

    Voided describe.

Loading...