getCreditCard

This method is used to retrieve the credit card information that was previously saved to a specific account.

Request Parameters

ParameterRequiredTypeDescription
clientIDyesstringTransactAPI Client ID
developerAPIKeyyesstringTransactAPI Developer Key
accountIdyesstringAccount ID that is generated by the API once an account is created (createAccount)

Sample Request

curl -k -X POST https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/getCreditCard
 -d clientID=someclientid
 -d developerAPIKey=somedeveloperkey
 -d accountId=A77654

Response Parameters

ParameterTypeDescription
statusCodestringAPI Status Code
statusDescstringAPI Status Description
creditcardDetailsstringArray of account credit card includes all information of the matched account

Sample Response

{
    "statusCode": "101",
    "statusDesc": "Ok",
    "creditcardDetails": {
        "accountId": "A77654",
        "creditCardName": "john",
        "creditCardNumber": "1234567890123",
        "expirationDate": "2829",
        "cvvNumber": "1122,     
    }
}

Test it Yourself!

Language
Click Try It! to start a request and see the response here!