Vouchers - List
You can easily fetch your created vouchers using the stored order_id for the group. This would return all the vouchers for that group. If group_id is empty, it will return all the vouchers for your account in a max record of last 100.
End Point
"https://calls.peerwallet.com
/voucher-lists"
Send your keys via headers
VALUE
api-private-key
REQUIRED
YES
DESCRIPTION
This is your Public API Keys which can be found here.https://peerwallet.
com/map/api-keys
Return Values Success Sample
{
"status": 200,
"data": {
{
"offer_id": null ,
"amount": "1.5" ,
"currency": "USD" ,
"exp_date_raw":"1749499990" ,
"exp_date": "Monday 9th of June 2025" ,
"date_created_raw": "1717963990",
"redeemed_by":null ,
"date_redemeed_raw": null ,
"status": "pending redeem"
},
{
"offer_id": null ,
"amount": "1.5" ,
"currency": "USD" ,
"exp_date_raw":"1749499990" ,
"exp_date": "Monday 9th of June 2025" ,
"date_created_raw": "1717963990",
"redeemed_by":null ,
"date_redemeed_raw": null ,
"status": "pending redeem"
},
{
"offer_id": null ,
"amount": "1.5" ,
"currency": "USD" ,
"exp_date_raw":"1749499990" ,
"exp_date": "Monday 9th of June 2025" ,
"date_created_raw": "1717963990",
"redeemed_by":null ,
"date_redemeed_raw": null ,
"status": "pending redeem"
},
{
"offer_id": null ,
"amount": "1.5" ,
"currency": "USD" ,
"exp_date_raw":"1749499990" ,
"exp_date": "Monday 9th of June 2025" ,
"date_created_raw": "1717963990",
"redeemed_by":null ,
"date_redemeed_raw": null ,
"status": "pending redeem"
},
{
"offer_id": null ,
"amount": "1.5" ,
"currency": "USD" ,
"exp_date_raw":"1749499990" ,
"exp_date": "Monday 9th of June 2025" ,
"date_created_raw": "1717963990",
"redeemed_by":null ,
"date_redemeed_raw": null ,
"status": "pending redeem"
}
},
"note": "Vouchers successfully fetched" ,
}
Below are the POST values to send and their explanations on each field.
VALUE
order_id
REQUIRED
NO
DESCRIPTION
This is the ORDER ID generated when the voucher was issued.
Return Values Explained
VALUE
data status
DESCRIPTION
This would either be ‘pending redeem’ or ‘redeemed’
status
Will return 200 on success