Palbase Payments · API
POST
/payments/wallets/pending/voidVoid pending wallet credits
Voids unvested pending cashback or referral wallet lots tied to a refunded order or source reference.
Called by your server, with the project's secret key.
Request body
source_reference_idstring · requiredSource entity UUID.source_reference_typestring · requiredSource entity type (e.g. commerce_order).curl
curl -X POST "https://<your-ref>.palbase.studio/payments/wallets/pending/void" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"source_reference_id":"string","source_reference_type":"string"}'Responses
200Pending lots voided
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation VoidPendingWalletCredits of payments's contract.