The Duplicate Card Check feature will check if a Card Number is already in use by another Account. It can be used on the following:
- CreateAccount
- UpdateAccount
- DeleteAccount
Duplicate Card Check is only available when you store cards with TabaPay. Refer TabaPay Tokens
Duplicate Card Check Query String Params
Duplicate Card check works for different scenarios of creating an account, updating or deleting an account. You must always use the extra Query String Parameters on the following:
- RejectDuplicateCard
- OKToAddDuplicateCard
- RejectDuplicateCard
- OKToUpdateDuplicateCard
- DeleteDuplicateCard
Duplicate Card Check Errors
CreateAccount - Errors
When using query parameter, RejectDuplicateCard.
| Status Code | Account Created? | Duplicate Card Check | Action |
|---|---|---|---|
| 200 | ✔ Yes | ✔ Yes, No Match | No Errors, unique account successfully created |
| 207 | ✔ Yes | ✘ Processing Error | Possible upstream error, contact [email protected] |
| 409 | ✘ No | ✔ Yes, Match | Duplicate account confirmed, use [Retrieve Account API](/reference/accountretrieve) to retrieve the name provided when the last account was created to compare it with the name you currently have for your customer |
UpdateAccount - Errors
When using query parameter, RejectDuplicateCard.
| Status Code | Account Updated? | Duplicate Card Check | Action |
|---|---|---|---|
| 200 | ✔ Yes | ✔ Yes, No Match | No Errors, unique account successfully updated |
| 207 | ✔ Yes | ✘ Processing Error | Possible upstream error, contact [email protected] |
| 409 | ✘ No | ✔ Yes, Match | Duplicate account confirmed, use [Retrieve Account API](/reference/accountretrieve) to retrieve the name provided when the last account was created to compare it with the name you currently have for your customer |
DeleteAccount - Errors
When using query parameter, DeleteDuplicateCard.
| Status Code | Account Deleted? | Duplicate Card Check | Action |
|---|---|---|---|
| 200 | ✔ Yes | ✔ Yes, No Match | No Errors, unique account successfully deleted |
| 207 | ✔ Yes | ✘ Processing Error | Possible upstream error, contact [email protected] |
FAQs
1. What if I want to add an Account that is using a Card Number that is already used by another AccountID?
For CreateAccount use query parameter:
OKToAddDuplicateCard
For UpdateAccount use query parameter:
OKToUpdateDuplicateCard
2. Can I mix the usage of using the Query Parameters vs not using the Query Parameters?
No
If you do, then the Duplicate Card Check feature might no longer be valid.
So, if you decide to do this (mixing), you might as well NOT use this feature.
