v1
latestOpenAPI 3.0.02026-07-242035712.0 MBCard
Edit card's Tok Flags
This web service allows for the editing of the flags set against a token that determines how the card will behave once created, activated, and used.The flags are checked prior to processing a transaction and before processing any rule.
post/pws/pws_tok_flag_edit/
Request body
api_call_unique_identifierstring required
Unique number that must be passed at each API request. Identifier to make each API request unique
client_idinteger required
Unique identifier for the client which Paymentology will provide at outset
tok_flagsstring required
<p>Flags for token to assign various tasks to the card. 0 ==>Flag inactive | 1==> Flag Active . Descriptions for each tok flag bits are given below : </p>
<table>
<thead>
<tr></td><td><strong>TOK_DESCRIPTION</strong></td><td><strong>BIT_POSITION</strong></td>
</tr>
</thead>
<tbody>
<tr><td title ="After every transaction, send card balance to the scheme, to allow for balance to be displayed,
i.e. for ATM transactions">Send card bal in De54 in next auth</td><td>3</td></tr>
<tr><td title ="Should the maximum number of pin retries be exceded, then enable pin unblocking on chip card.
Send to issuer to unblock">Send pin unblock to card</td><td>4</td></tr>
<tr><td title ="Only allow ecommerce transactions (including MDES and VTS transactions)">Set card to decline all tranasaction except ecommerce</td><td>5</td></tr>
<tr><td title ="Set card to decline all Contactless transaction">Set card to decline all Contactless transaction</td><td>6</td></tr>
<tr><td title ="Decline all ecommerce transactions (including MDES and VTS transactions)">Set card to decline all Ecommerce</td><td>9</td></tr>
<tr><td title ="Decline all ATM Cash withdrawal transactions">Set card to decline all ATM</td><td>10</td></tr>
<tr><td title ="Do not allow any balance enquiry transactions">Set card to decline Bal enquiry over auth</td><td>11</td></tr>
<tr><td title ="In the case of POS transactions, the cash disbursement of a portion of the transaction amount is not allowed. The merchant cannot give cash to cardholder as part of the transaction.">Set card to decline cash back txns</td><td>12</td></tr>
<tr><td title ="No transactions are allowed that will credit the card balance, including refunds to the card.">Set card to decline Auth credit pur/refund (DE3_1=20)</td><td>14</td></tr>
<tr><td title ="No payments allowed, only POS and ecommerce transactions and. i.e. MC MoneySend, credit card installments, etc">Set card to decline credit payment (DE3_1=28)</td><td>19</td></tr>
<tr><td title ="Only transactions in the base currency are allowed, decline any transaction in a non-base currency">Set card to decline non base currency txn</td><td>20</td></tr>
<tr><td title ="No account verification requests should be allowed">Set card to decline all account enq (de61_7=8)</td><td>21</td></tr>
<tr><td title ="Only approve transactions where the card is present. If card not present, decline transaction">Set card to decline card not present txns</td><td>22</td></tr>
<tr><td title ="card Where the card information is provided but neither the cardholder or the card are physically present (i.e. mail-order) decline the transaction. ">Set card to decline Cardholder not present txns</td><td>23</td></tr>
<tr><td title ="CATM Fallback - where a chip-card is used at chip-capable ATM, do not allow fallback to magnetic strip">Set card to decline failover to mag at emv capable atm</td><td>24</td></tr>
<tr><td title ="ATM Fallback - where a chip-card is used at an ATM (chip-capable or not) do not allow fallback to magnetic stripe">Set card to decline mag at atm</td><td>25</td></tr>
<tr><td title ="POS Fallback - where a chip-card is used at chip-capable POS, allow fallback to to magnetic strip">Alow if fallback chp->mag at chp capable pos DE22_1=80</td><td>26</td></tr>
<tr><td title ="POS Fallback - when the magnetic strip is used for a transaction, only allow the transaction of the entire track can be read, i.e. only PAN sent then decline transaction">Allow if de22_1=02 & De48_88 =Y</td><td>27</td></tr>
<tr><td title ="Set card to approve if AVS match fails">Set card to approve if AVS match fails</td><td>28</td></tr>
<tr><td title ="Do not allow subscription transactions, decline recurring transactions">Set card to decline Recurring transaction</td><td>29</td></tr>
</tbody>
</table>
tokeninteger required
Public token.
user_idstring
User Id of the Customer who triggered the API request.
remarksstring
Remarks for API request
Example request
{
"api_call_unique_identifier": "438574845790657485",
"client_id": 760131,
"tok_flags": "00000000000001100000000000000001",
"token": 311012081
}Response
Successful Response
bodyTokFlagEditResponseBody
Example response
{
"header": {
"error_desc": "success"
}
}