Show Payment Hint

DEPRECATED

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.

You can pass a hint to explain the payment. It consists of lines with text pairs, each aligned to the left and to the right, like on a cash receipt. You can also modify the headline above it.

Example request:

Request
POST /payment/init HTTP/1.1
Host: api-testing.secupay-ag.de
Content-Type: application/json; charset=utf-8;
Accept: application/json
Accept-Charset: utf-8
 
{
"data": {
"apikey": "6801fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx7ace",
"payment_type": "debit",
"demo": 1,
...
"currency": "EUR",
"amount": "45000",
"purpose": "Restzahlung 500016251 Mustermann Warnemünde 5.-10.9.2020",
"order_id": "500016251",
"language": "de_DE",
"payment_hint": [
{
"item": "Verwendungszweck:",
"hint": "Restzahlung Ferienwohnung"
},
{
"item": "Bestellnumer:",
"hint": "500016251"
},
{
"item": "Zeitraum:",
"hint": "5.-10.9.2020"
},
{
"item": "Ferienwohung",
"hint": "Warnemünde, Appartment \"Meerblick\", bis 5 P."
}
],
"labels": {
"de_DE": {
"payment_hint_title": "Details zu Ihrem Auftrag"
}
}
}
}

Here an example of the outcome:

images/download/attachments/141535536/image2020-3-19_13-35-17-version-1-modificationdate-1649338226000-api-v2.png