curl -X PATCH https://api.vouchmark.com/v1/wallet/threshold \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"paymentThresholdKobo": 1000000}'
{
"success": true,
"message": "Threshold updated successfully",
"data": {
"balanceKobo": 5000000,
"paymentThresholdKobo": 1000000,
"autoTopUp": {
"enabled": true,
"triggerBelowKobo": 500000,
"rechargeAmountKobo": 10000000
},
"hasSavedCard": true,
"currency": "NGN"
}
}
Wallet & Billing
Update threshold
Set the payment threshold for the wallet.
PATCH
/
v1
/
wallet
/
threshold
curl -X PATCH https://api.vouchmark.com/v1/wallet/threshold \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"paymentThresholdKobo": 1000000}'
{
"success": true,
"message": "Threshold updated successfully",
"data": {
"balanceKobo": 5000000,
"paymentThresholdKobo": 1000000,
"autoTopUp": {
"enabled": true,
"triggerBelowKobo": 500000,
"rechargeAmountKobo": 10000000
},
"hasSavedCard": true,
"currency": "NGN"
}
}
Updates the wallet payment threshold.
The
The request amount is in kobo (1 NGN = 100 kobo). The returned wallet also reports amounts in integer kobo.
Body
integer
required
Payment threshold in kobo. Minimum 0.
curl -X PATCH https://api.vouchmark.com/v1/wallet/threshold \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"paymentThresholdKobo": 1000000}'
{
"success": true,
"message": "Threshold updated successfully",
"data": {
"balanceKobo": 5000000,
"paymentThresholdKobo": 1000000,
"autoTopUp": {
"enabled": true,
"triggerBelowKobo": 500000,
"rechargeAmountKobo": 10000000
},
"hasSavedCard": true,
"currency": "NGN"
}
}
data object is the full wallet DTO described in Get wallet (values in integer kobo).