DELETE
/
chargeRequests
/
{id}
curl --request DELETE \
  --url https://api.paycashless.com/v1/chargeRequests/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "type": "qr",
  "qr": {
    "intentType": "static",
    "merchantAccountNumber": "<string>",
    "merchantBankCode": "<string>",
    "merchantId": 123,
    "merchantAccountId": 123,
    "merchantCategoryCode": "<string>",
    "countryCode": "<string>",
    "merchantName": "<string>",
    "merchantCity": "<string>",
    "postalCode": "<string>",
    "amount": 123,
    "currency": "<string>",
    "storeLabel": "<string>",
    "customerLabel": "<string>",
    "terminalLabel": "<string>",
    "reference": "<string>",
    "narration": "<string>",
    "merchantChannel": "<string>",
    "checksum": "<string>"
  },
  "token": "<string>",
  "expiresAt": "<string>",
  "cancelledAt": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}
Expired QR codes cannot accept any payments. Also note that this action cannot be undone.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
cancelledAt
string

Timestamp for when request was cancelled

createdAt
string

Created at timestamp

expiresAt
string

Expiry timestamp, when request will expire

id
string

Charge request unique identifier

qr
object

QR code contents

token
string

Tokenised QR

type
enum<string>

Type of charge request

Available options:
qr
updatedAt
string

Created at timestamp