Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

В случае ошибки сервис возвращает данные об ошибке в формате JSON {"fault":{"detail":"<текст ошибки>","faultcode":<первый код>,"faultstring":<второй код>}}.

Пример ответа для случая, когда у клиента сохранено несколько карт:

Code Block
languagexml
[{"expire":"12.2020","token":"B092E5A1-57BD-46E6-F380-7D5EC7730578","bank":"CJSC ALFA-BANK","brand":"VISA","bin":462710,"active":true,"needCVC":true,"post":"4724"},{"expire":"12.2020","token":"0DA65AF1-F43E-486C-0782-0C07EC9ED42D","bank":"Bank Hong Kong","brand":"MasterCard","bin":552926,"active":true,"needCVC":true,"post":"6119"}]