curl --request POST \
--url https://api.stage.rocka.live/api/payments/logo \
--header 'Content-Type: application/*+json' \
--header 'x-api-key: <api-key>' \
--data '
{
"currency": "EUR",
"country": "DE"
}
'{
"Example: DE": {
"value": {
"url": "https://rocka.blob.core.windows.net/logo-button/de.svg",
"type": "country",
"id": "de",
"displayName": "GERMANY"
}
}
}curl --request POST \
--url https://api.stage.rocka.live/api/payments/logo \
--header 'Content-Type: application/*+json' \
--header 'x-api-key: <api-key>' \
--data '
{
"currency": "EUR",
"country": "DE"
}
'{
"Example: DE": {
"value": {
"url": "https://rocka.blob.core.windows.net/logo-button/de.svg",
"type": "country",
"id": "de",
"displayName": "GERMANY"
}
}
}Button appearance configuration.
Button type (bank or country).
bank, country URL to the SVG logo that will be part of the button.
Payment option choice. For example, country code or bank ID.
Alternative display name for the payment option. For example, United Kingdom or Lloyds Bank.
Country's ISO 3166 code (only for bank buttons).
Was this page helpful?