Cancel Device Sale

Cancel Device Sale API allows partners to cancel and in-process on device sale transaction.

POST https://<Platform-host>/api/payment/cancel-device-sale

Request Body

Name
Type
Description

merchant_id*

string

Merchant ID

data.device_id*

string

Registered and connected device ID

Field Name
Type
Description
Required?

id

string

Platform payment ID for the sale request when available

Optional

transaction_id

string

Unique transaction ID when available

Optional

merchant_id

string

Merchant ID

Required

device_id

string

Device ID from the request

Required

gateway_id

string

ID of the gateway through which the transaction is processed

Optional

cancel_device_sale_response.status

string

Cancellation Status PASSED | FAILED

Required

cancel_device_sale_response.response_message

string

Cancellation Response Message

Required

{
    "merchant_id": "c03ce6ad-1e78-4bd7-ad35-e0d46b6b765d",
    "data": {        
        "device_id": "d9a63ebe-3036-4657-ba47-a4ad6e401b7c"
    }
}
circle-info

Webhook event: DEVICE_SALE_CANCEL

Webhook Payload Example

Last updated