GetCreditCard

From Gvp-public
Jump to navigation Jump to search

Description

Provides information about user's credit card

  • If user has any ACTIVE credit card, returns newer ACTIVE credit card.
  • else if user has not any ACTIVE credit card, returns newer credit card.
  • else if user has not any credit card at all, returns exception “258: CreditCardWasNotFound”

This method only can be used by logged user.

Parameters

  • token (String, required)
A valid token for identifying the API session context and logged user.


Returns

Returns a JSON object containing a creditCardSia object.

Example:

creditCardSia object


Exceptions


Caching

This method is not cached.


Known issues

None


Version history

API Version Number Change description Changes author
1.0 Initial method design


See also