post https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/updateCreditCard
This method is used to update the credit card information that is saved to a specific account (createExternalAccount).
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 | string | Full Credit Card Number |
| expirationDate | yes | string | Credit Card Expiration Date in MMYY format |
| cvvNumber | yes | string | CVV security code of the credit card |
| cardType | yes | string | Credit Card Type eg: VI, MC, DI |
| updatedIpAddress | yes | string | IP Address associated with the updateCreditCard method call |
Sample Request
curl -k -X POST https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/updateCreditCard
-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 updatedIpAddress=111.111.111.111Response Parameters
| Parameter | Type | Description |
|---|---|---|
| statusCode | string | API Status Code |
| statusDesc | string | API Status Description |
| creditcardDetails | string | Success message for update credit card |
Sample Response
{
"statusCode": "101",
"statusDesc": "Ok",
"creditcardDetails": "Credit Card details added sussfully added
