GetCreditCard

From Gvp-public
Revision as of 01:14, 1 April 2016 by Id02039 (talk | contribs) (Created page with "{{Api_Method_Spec| Description=Provides information about user's credit card<br/> * If user has any ACTIVE credit card, returns newer ACTIVE credit card. * else if user has no...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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