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

This is a legacy API method. If you are integrating with our API, please refer to linkCreditCard (and getLinkedCreditCard).

Request Parameters

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
-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=

Response Parameters

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!

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