Skip to content
BolderBolder Developers
Esc
↑↓navigate↵open⌘Jpreview

Reverse points earned from a purchase (e.g. on order cancellation)

Points wallets only. Reverses the earning transfer outright when the full amount is still available; otherwise drains whatever remains so the points can’t be spent again (a partial reversal).

POST/wallets/{id}/unregister_purchase
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idintegerrequired
Request body
requiredapplication/json
reference_codestringrequired
order_amountintegerrequired
Responses
200

Points reversed (fully or partially)

422

Unable to complete this action

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://api.onbolder.com/v2/wallets/0/unregister_purchase' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "reference_code": "string",
  "order_amount": 0
}'
Response
Points reversed (fully or partially)

Was this page helpful?