Blik token ambiguity¶
If blik user has configured blik service in a couple of bank’s, and save token in more then one bank, token ambiguity issue will appear. This means that using just blik token, payment Agent have not enough information to charge user bank account.
If this situation will appear, function get_action_and_data will return information that transaction can’t be processed successfully, and information about application alternatives (user application in different bank’s).
Alternative apps data format:
"alternatives":[
{
"appKey":"alternative key",
"appLabel":"alternative label"
}
]
Then merchant should ask the user to choose one of the applications, then create a new transaction with additional info about the application in blik_app_key field (in get_action_and_data data format it appear at appKey).
1 2 3 4 5 6 7 8 9 | "payment":{ "channel_id": <blik-oneclick-payment-paychannel-id>, "amount": "0", "currency": "PLN" "config": { "blik_token": <blik-token>, "blik_app_key": <blik-app-key> }, }, |