Obtain Available Payment Methods


This guide is for the deprecated Flex.API. Please don't use it for new implementations.

See Integration Options, and feel welcome to ask our friendly help desk.

A GET request to /payment/gettypes returns all available payment methods. We recommended you to run this query prior to offering a payment method, so that you do not get unwanted error messages if the particular payment method is not available.

GET /payment/gettypes HTTP/1.1
Host: api-testing.secupay-ag.de
Content-Type: application/json; charset=utf-8;
Accept: application/json
"data": {

If everything is OK, the API responds with 200 OK:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8;
"status": "ok",
"data": [
"errors": null

The returned payment methods correspond one-to-one with the field payment_type that is passed when you create a new transaction.