How does Kassa Compleet API respond on an attempt to pay using an inactive payment option?

kassa-compleet
kassa-compleet-api
kassa-compleet-api-response
kassa-compleet-payment-options

(Dmitry Fedyuk) #1

Unsupported payment method

A merchant should apply for each of the provided methods separately.
When the merchant is verified and the payment method is activated, the merchant can provide the payment method to the customers.
If the payment method is not activated or the order request demands the unsupported payment method the server will respond with an error.
It will also include the reson of the error.
An example bellow simuates an order request with the inactive credit-card payment method credit-card. The server responds with the error status for such order request.

<…>

{
“error”: {
“type”: “<class ‘werkzeug.exceptions.BadRequest’>”,
“value”: “The browser (or proxy) sent a request that this server could not understand.”
}
}


https://s3-eu-west-1.amazonaws.com/wl1-apidocs/api.kassacompleet.nl/index.html#unsupported-payment-method

How does Ginger Payments API respond on an attempt to pay using an inactive payment option?
(Dmitry Fedyuk) #2

See also: