Available Payment Methods

The endpoint to get the available payment methods for your contract is GET /api/v2/General/Contracts/{id} /getAvailablePaymentMethods.

Request
GET /api/v2/General/Contracts/GCR_4PSAZ3CQJU4SAEVDQO42JC3YHO0P5A/getAvailablePaymentMethods HTTP/1.1
Host: connect-testing.secupay-ag.de
Authorization: Bearer qb56tjj1bcvo9n2nj4u38k84lo
Content-Type: application/json
Accept: application/json
 
{
"is_demo": true,
"currency": "EUR"
}

This requests the available payment methods for Euro payments for demo transactions.

Request parameters:

Parameter

Type

Meaning

is_demo

boolean

Demo or productive transactions

currency

string

ISO 4217 alphabetic currency code

If everything is good, the API responds with 200 OK, and the list of payment methods:

Response
HTTP/1.1 200 OK
Content-Type: application/json
...
 
[
"Creditcard",
"Debit",
"Prepay"
]

In this case, demo transactions in Euro were possible with credit card, SEPA direct debit, and prepayment.

Payment methods:

Value

Meaning

"Creditcard"

Credit card payment

"Debit"

SEPA direct debit payment

"Invoice"

Invoice payment

"Prepay"

Prepayment

"Paypal"

PayPal payment

"Sofort"

Sofortüberweisung