Skip to main content
GET
/
v1
/
vouchers
/
{id}
Get Voucher Purchase
curl --request GET \
  --url https://api.sandbox.busha.so/v1/vouchers/{id} \
  --header 'Authorization: Bearer <token>'
{
"status": "success",
"message": "message for success",
"data": {
"id": "bus_123456789",
"merchant_name": "SPAR",
"voucher_code": "58556806",
"currency": "BTC",
"status": "used",
"picture": "https://example.com",
"current_value": "100",
"voucher_value": "100",
"expires_at": "2023-10-15T12:15:30Z",
"created_at": "2023-10-15T12:15:30Z",
"voucher_pin": "<string>",
"redemptions": [
{
"amount_used": "100",
"timestamp": "2023-10-15T12:15:30Z",
"point_of_usage": "Gold Cat Wigs Store 1"
}
]
}
}

Authorizations

Authorization
string
header
required

Bearer Authentication

Headers

X-BU-PROFILE-ID
string

User profile header

Example:

"BUS_YOK8tp5Zga01qOKEsqp07"

Path Parameters

id
string<nanoid>
required
Example:

"bus_123456789"

Response

Default

General response Values

status
enum<string>
required
Available options:
success,
error
Example:

"success"

message
string
required
Example:

"message for success"

data
object
required

A summarized view of a user's voucher, including value, status, and redemption history.