Show payment hint

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/97373121/image2020-3-19_13-35-17.png