Add Credit Card

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

Request Method : POST

Request Parameters

Parameter Required Type Description
clientID yes string Transact API Client ID
developerAPIKey yes string Transact API Developer Key
accountId yes string Account ID that is generated by the API once an account is created (createAccount)
creditCardName yes string Name on the Credit Card
creditCardNumber yes integer Full Credit Card Number
expirationDate yes integer Credit Card Expiration Date in MMYY format
cvvNumber yes integer CVV security code of the credit card
cardType yes string Credit Card type eg:(VI, MC, DI)
createdIpAddress yes string IP 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

Parameter Type Description
statusCode string API Status Code
statusDesc string API Status Description
creditcardDetails string Success message for add credit card

Sample Response

	"statusCode": "101",
	"statusDesc": "Ok",
	"creditcardDetails": "Credit Card details added successfully"
Click on the "Test it yourself" button to see how it works
Click on the "Error Codes" button to see list of error codes

ACH Distributions