Skip to content
BolderBolder API
Esc
navigateopen⌘Jpreview

Return previously taken points (e.g. on order cancellation)

POST/wallets/{id}/return_taken
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idintegerrequired
Request body
application/json
reference_codestringrequired
amountinteger
Responses
200Points returned to the wallet's balance
422No matching transfer, or amount mismatch
Request
curl -X POST "https://api.onbolder.com/v2/wallets/0/return_taken" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "reference_code": "string",
  "amount": 0
}'
Response
Points returned to the wallet's balance