409 Conflict
Top-ups are taxed at sale here
- Code
wallet_topup_tax_at_sale- Status
409Conflict- Type
https://errors.clavian.io/wallet-topup-tax-at-sale
What it means
The organisation taxes wallet top-ups at the point of sale (tax.walletTopupTaxPoint = sale), which needs the tax engine that is not built yet; the wallet foundation can only add value untaxed, taxed where it is spent (redemption).
What to do
Set tax.walletTopupTaxPoint to redemption to top up now; taxing top-ups at sale is not supported yet.
Example
The API answers with status 409 and this body, as application/problem+json. A detail may be added, saying what went wrong this time; it is for people, and changes.
{
"type": "https://errors.clavian.io/wallet-topup-tax-at-sale",
"title": "Top-ups are taxed at sale here",
"status": 409,
"code": "wallet_topup_tax_at_sale",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/me/venues/{venueId}/wallet/online-top-upsTop your wallet up online at a caféPOST /v1/organizations/{organizationId}/players/{playerId}/wallet/online-top-upsTop up a player’s wallet onlinePOST /v1/organizations/{organizationId}/players/{playerId}/wallet/top-upsTop up a player’s wallet at the counterPOST /v1/organizations/{organizationId}/wallet/top-up-requests/{requestId}/completeTake a kiosk top-up’s money at the deskPOST /v1/station/wallet/top-upsAsk for a wallet top-up from the kiosk