addCreditCard

This method is used to save a credit card to an Account (createAccount). Only one credit card can be added for an account.

Request Parameters

ParameterRequiredTypeDescription
clientIDyesstringTransactAPI Client ID
developerAPIKeyyesstringTransactAPI Developer Key
accountIdyesstringAccount ID that is generated by the API once an account is created (createAccount)
creditCardNameyesstringName on the Credit Card
creditCardNumberyesintegerFull Credit Card Number
expirationDateyesintegerCredit Card Expiration Date in MMYY format
cvvNumberyesintegerCVV security code of the credit card
cardTypeyesstringCredit Card type eg:(VI, MC, DI)
createdIpAddressyesstringIP Address associated with the addCreditCard method call.

Sample Request

curl -k -X POST https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/addCreditCard
-d clientID=someclientid
-d developerAPIKey=somedeveloperkey
-d accountId=A25562
-d creditCardName=Bank Card
-d creditCardNumber=1234567896541256
-d expirationDate=1212
-d cvvNumber=123
-d cardType=VI
-d createdIpAddress=111.111.111.111

Response Parameters

ParameterTypeDescription
statusCodestringAPI Status Code
statusDescstringAPI Status Description
creditcardDetailsstringSuccess message for add credit card

Sample Response

{
    "statusCode": "101",
    "statusDesc": "Ok",
    "creditcardDetails": "Credit Card details added successfully"
}

Test it Yourself!

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