Description | Checking the card based on pin or pan |
Request Path | {{base_url}}/stores/card-check/ |
Method | Post |
Usage
Clients can check card status by using the card’s PAN (barcode) on the back of the physical card. Or they can do it by using the card’s PIN and PAN or PIN and brand ID.
Request Parameters
Parameter | Data Type | Position | Required | Description |
Authorization | String | Header | Yes | Used retrieving token in a header: Authorization: JWT {token} |
barcode | String | Body | Yes | 30 digit number |
pin | String | Body | Yes | 16 digit numbers and characters |
brand | Integer | Body | Yes | Brand id |
Response Parameters
Parameter | Description | Nullable |
status_code | Status code:{02, 03, 04, 05, 08, 10, 11} | No |
status | Operation status for example:Success | No |
expire_date | Expiration date | No |
remaining | Remaining amount | No |
product_detail | Information about product | No |
id | Product id | No |
Brand | Brand id | No |
Brand_name | Name of the brand | No |
name | Product name | No |
logo | Product logo picture | No |
card_type | code of Type of card | No |
card_type_display | Showing type of card : (oo,om,mm) | No |
product_type | Code of type of product | No |
product_type_display | Showing type of product :digital , physical | No |
min_price | Min price of a product | No |
max_price | Max price of a product | No |
is_enable | If a product is enable or not | No |
currency_detail | Detail of currency | No |
title | Currency title | No |
abbr | Abbreviation of currency name | No |
symbol | Symbol of currency | No |
iso_code | A unique code each currency | No |