|
| 1 | +# CyberSource.EMVTagDetailsApi |
| 2 | + |
| 3 | +All URIs are relative to *https://apitest.cybersource.com* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**getEmvTags**](EMVTagDetailsApi.md#getEmvTags) | **GET** /tss/v2/transactions/emvTagDetails | Retrieve the EMV Dictionary |
| 8 | +[**parseEmvTags**](EMVTagDetailsApi.md#parseEmvTags) | **POST** /tss/v2/transactions/emvTagDetails | Parse an EMV String |
| 9 | + |
| 10 | + |
| 11 | +<a name="getEmvTags"></a> |
| 12 | +# **getEmvTags** |
| 13 | +> TssV2GetEmvTags200Response getEmvTags() |
| 14 | +
|
| 15 | +Retrieve the EMV Dictionary |
| 16 | + |
| 17 | +Returns the entire EMV tag dictionary |
| 18 | + |
| 19 | +### Example |
| 20 | +```javascript |
| 21 | +var CyberSource = require('CyberSource'); |
| 22 | + |
| 23 | +var apiInstance = new CyberSource.EMVTagDetailsApi(); |
| 24 | + |
| 25 | +var callback = function(error, data, response) { |
| 26 | + if (error) { |
| 27 | + console.error(error); |
| 28 | + } else { |
| 29 | + console.log('API called successfully. Returned data: ' + data); |
| 30 | + } |
| 31 | +}; |
| 32 | +apiInstance.getEmvTags(callback); |
| 33 | +``` |
| 34 | + |
| 35 | +### Parameters |
| 36 | +This endpoint does not need any parameter. |
| 37 | + |
| 38 | +### Return type |
| 39 | + |
| 40 | +[**TssV2GetEmvTags200Response**](TssV2GetEmvTags200Response.md) |
| 41 | + |
| 42 | +### Authorization |
| 43 | + |
| 44 | +No authorization required |
| 45 | + |
| 46 | +### HTTP request headers |
| 47 | + |
| 48 | + - **Content-Type**: application/json;charset=utf-8 |
| 49 | + - **Accept**: application/json;charset=utf-8 |
| 50 | + |
| 51 | +<a name="parseEmvTags"></a> |
| 52 | +# **parseEmvTags** |
| 53 | +> TssV2PostEmvTags200Response parseEmvTags(body) |
| 54 | +
|
| 55 | +Parse an EMV String |
| 56 | + |
| 57 | +Pass an EMV Tag-Length-Value (TLV) string for parsing. |
| 58 | + |
| 59 | +### Example |
| 60 | +```javascript |
| 61 | +var CyberSource = require('CyberSource'); |
| 62 | + |
| 63 | +var apiInstance = new CyberSource.EMVTagDetailsApi(); |
| 64 | + |
| 65 | +var body = new CyberSource.Body(); // Body | |
| 66 | + |
| 67 | + |
| 68 | +var callback = function(error, data, response) { |
| 69 | + if (error) { |
| 70 | + console.error(error); |
| 71 | + } else { |
| 72 | + console.log('API called successfully. Returned data: ' + data); |
| 73 | + } |
| 74 | +}; |
| 75 | +apiInstance.parseEmvTags(body, callback); |
| 76 | +``` |
| 77 | + |
| 78 | +### Parameters |
| 79 | + |
| 80 | +Name | Type | Description | Notes |
| 81 | +------------- | ------------- | ------------- | ------------- |
| 82 | + **body** | [**Body**](Body.md)| | |
| 83 | + |
| 84 | +### Return type |
| 85 | + |
| 86 | +[**TssV2PostEmvTags200Response**](TssV2PostEmvTags200Response.md) |
| 87 | + |
| 88 | +### Authorization |
| 89 | + |
| 90 | +No authorization required |
| 91 | + |
| 92 | +### HTTP request headers |
| 93 | + |
| 94 | + - **Content-Type**: application/json;charset=utf-8 |
| 95 | + - **Accept**: application/hal+json;charset=utf-8 |
| 96 | + |
0 commit comments