Description

List all saved cards on the account associated with the current API session. The TokenId can be passed to Order::PlaceOrder in order to pay for items.

Parameters

This function takes no parameters.

Request

<?xml version="1.0"?>
<NoveroRequest>
    <Request target="NoveroUser" name="GetCards" id="TestRequest"/>
</NoveroRequest>
<?php
    require_once('TTNCApi.php');
    $Api = new TTNCApi('<username>', '<password>', '<VKey>');
    $Request = $Api->NewRequest('NoveroUser', 'GetCards', 'TestRequest');
    $Api->MakeRequests();
    $Response = $Api->GetResponseFromId('TestRequest');
?>
require TTNCApi
api = TTNCApi.new('<username>', '<password>', '<vkey>')
request = api.newrequest('NoveroUser', 'GetCards', 'TestRequest')
api.makerequest()
p request.getresponse()
api = TTNCApi('<username>', '<password>', '<vkey>')
request = api.newrequest('NoveroUser', 'GetCards', 'TestRequest')
api.makerequest()
p request.getresponse()
using System;
using TTNCApi;
 
class Program
{
    static void Main(string[] args)
    {
        TTNCApi api = new TTNCApi("<username>", "<password>", "<vkey>");
        TTNCRequest request = api.NewRequest("NoveroUser", "GetCards", "TestRequest");
        api.MakeRequests();
        TTNCParser dic = request.GetResponse();
     }
}

Response

<?xml version="1.0"?>
<NoveroResponse>
  <Response target="NoveroUser" name="GetCards" Code="200" RequestId="TestRequest">
    <Cards>
      <Card>
        <TokenId>12883</TokenId>
        <BillingCardMasked>***********5969</BillingCardMasked>
        <BillingCardExpiry>07/14</BillingCardExpiry>
        <BillingCardType>VISA</BillingCardType>
        <FlagCardDefault>0</FlagCardDefault>
        <FlagCardActive>1</FlagCardActive>
        <FlagCardFailed>0</FlagCardFailed>
        <FlagCardExpired>0</FlagCardExpired>
        <FlagCardAutoTopups>0</FlagCardAutoTopups>
      </Card>
    </Cards>
  </Response>
</NoveroResponse>