409 Conflict
Online payments are not available here
- Code
online_payments_unavailable- Status
409Conflict- Type
https://errors.clavian.io/online-payments-unavailable
What it means
Online payments cannot be taken at this venue: no payment provider is configured, the venue has not turned online payments on (payments.onlineEnabled), or the organisation’s payee at the provider is not active yet. detail says which gate is closed.
What to do
Take payment with another tender. The same request fails until the closed gate is opened.
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/online-payments-unavailable",
"title": "Online payments are not available here",
"status": 409,
"code": "online_payments_unavailable",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
11 endpoints in the OpenAPI document name it among their answers.
All 11 endpoints
PUT /v1/hq/organizations/{organizationId}/payments/payeeOnboard or correct an organisation’s payeePOST /v1/hq/organizations/{organizationId}/payments/payee/refreshAsk the payment provider where it is with an organisation’s payeePOST /v1/me/venues/{venueId}/passes/{productId}/purchaseBuy a pass from your walletPOST /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}/venues/{venueId}/sales/{saleId}/payment-intentsPay a sale onlinePOST /v1/organizations/{organizationId}/venues/{venueId}/sales/{saleId}/refundsRefund a salePOST /v1/station/food-ordersOrder food from the PCPOST /v1/station/passes/{productId}/purchaseBuy a pass from the kioskPOST /v1/station/sales/{saleId}/upiA new UPI request for what a kiosk sale still owesPOST /v1/station/wallet/top-upsAsk for a wallet top-up from the kiosk