GET
/
vouchers
/
{voucher_id}
curl --request GET \
  --url https://api.live.paisr.tech/{version}/vouchers/{voucher_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "vch_123456",
    "description": "End of the month sale",
    "type": "percentage",
    "code": "EOTM10",
    "amount": 10,
    "redeems": {
      "count": 75,
      "max": 100
    },
    "archived": false,
    "created_at": "2023-11-07T05:31:56Z",
    "expires_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

voucher_id
string
required

The Voucher ID.

Response

200
application/json
Successfully retrieved voucher details.
success
boolean
Example:

true

data
object