post deprecatedhttps://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/addCreditCard
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
| Parameter | Required | Type | Description |
|---|---|---|---|
| clientID | yes | string | TransactAPI Client ID |
| developerAPIKey | yes | string | TransactAPI 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 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.111Response 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"
}
