Payment cards Extraction
Introduction
The Payment cards extraction API is designed to process images of debit and credit cards to extract essential information like the cardholder's name, card number, and expiration date from a given image, facilitating various financial and security applications.
Use cases
- E-commerce: Streamline payment processes by allowing customers to quickly input card details through image uploads, reducing manual entry errors.
- Financial Services: Improve user experience in banking apps by offering quick card detail verification and updates through image submission.
- Fraud Prevention: Enhance security measures by cross-referencing extracted card information with existing databases to detect fraudulent activities.
API details
Endpoint
POST https://api.signzy.app/api/v3/paymentCard/extractionPOST https://api-preproduction.signzy.app/api/v3/paymentCard/extractionRequest headers
Name | Value | Required | Description |
|---|---|---|---|
Content-Type | application/json | Mandatory | The type of content that the request body contains. |
Authorization | XXXXXXXXXXXXXXX | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |
Request body parameters
Parameter | Data type | Description | Required |
|---|---|---|---|
file | String | A URL of the image. Acceptable image format TIFF/TIF, JPEG/JPG, PNG, PDF(maximum 2 pages) containing salary slip | Mandatory |
{
"file": "https://staging-persist.signzy.tech/api/files/5038366/download/xxxxxx.pdf"
}Code samples
curl --location 'https://api-preproduction.signzy.app/api/v3/paymentCard/extraction' \
--header 'Content-Type: application/json' \
--header 'Authorization: <Auth key>' \
--data '{
"file": "https://staging-persist.signzy.tech/api/files/5100743/download/2b48bc401dd258924b7b213.png"
}'Response body parameters
Parameter | Data Type | Description |
|---|---|---|
result | Object | result object |
result.name | String | The date of birth of the employee (empty in this case) |
result.number | String | The job title of the employee |
result.expiry | String | The name of the company employing the individual |
// When wrong format file is requested
{
"error": {
"name": "Invalid Input Request JSON Parameter",
"status": "400",
"message": "file - Input should be a valid URL, input is empty.",
"responseCode": "400"
}
}Contact Us for Any Assistance
If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at [email protected]. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.
We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!