|
| 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 | +# **getEmvTags** |
| 12 | +> \CyberSource\Model\TssV2GetEmvTags200Response getEmvTags() |
| 13 | +
|
| 14 | +Retrieve the EMV Dictionary |
| 15 | + |
| 16 | +Returns the entire EMV tag dictionary |
| 17 | + |
| 18 | +### Example |
| 19 | +```php |
| 20 | +<?php |
| 21 | +require_once(__DIR__ . '/vendor/autoload.php'); |
| 22 | + |
| 23 | +$api_instance = new CyberSource\Api\EMVTagDetailsApi(); |
| 24 | + |
| 25 | +try { |
| 26 | + $result = $api_instance->getEmvTags(); |
| 27 | + print_r($result); |
| 28 | +} catch (Exception $e) { |
| 29 | + echo 'Exception when calling EMVTagDetailsApi->getEmvTags: ', $e->getMessage(), PHP_EOL; |
| 30 | +} |
| 31 | +?> |
| 32 | +``` |
| 33 | + |
| 34 | +### Parameters |
| 35 | +This endpoint does not need any parameter. |
| 36 | + |
| 37 | +### Return type |
| 38 | + |
| 39 | +[**\CyberSource\Model\TssV2GetEmvTags200Response**](../Model/TssV2GetEmvTags200Response.md) |
| 40 | + |
| 41 | +### Authorization |
| 42 | + |
| 43 | +No authorization required |
| 44 | + |
| 45 | +### HTTP request headers |
| 46 | + |
| 47 | + - **Content-Type**: application/json;charset=utf-8 |
| 48 | + - **Accept**: application/json;charset=utf-8 |
| 49 | + |
| 50 | +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) |
| 51 | + |
| 52 | +# **parseEmvTags** |
| 53 | +> \CyberSource\Model\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 | +```php |
| 61 | +<?php |
| 62 | +require_once(__DIR__ . '/vendor/autoload.php'); |
| 63 | + |
| 64 | +$api_instance = new CyberSource\Api\EMVTagDetailsApi(); |
| 65 | +$body = new \CyberSource\Model\Body(); // \CyberSource\Model\Body | |
| 66 | + |
| 67 | +try { |
| 68 | + $result = $api_instance->parseEmvTags($body); |
| 69 | + print_r($result); |
| 70 | +} catch (Exception $e) { |
| 71 | + echo 'Exception when calling EMVTagDetailsApi->parseEmvTags: ', $e->getMessage(), PHP_EOL; |
| 72 | +} |
| 73 | +?> |
| 74 | +``` |
| 75 | + |
| 76 | +### Parameters |
| 77 | + |
| 78 | +Name | Type | Description | Notes |
| 79 | +------------- | ------------- | ------------- | ------------- |
| 80 | + **body** | [**\CyberSource\Model\Body**](../Model/Body.md)| | |
| 81 | + |
| 82 | +### Return type |
| 83 | + |
| 84 | +[**\CyberSource\Model\TssV2PostEmvTags200Response**](../Model/TssV2PostEmvTags200Response.md) |
| 85 | + |
| 86 | +### Authorization |
| 87 | + |
| 88 | +No authorization required |
| 89 | + |
| 90 | +### HTTP request headers |
| 91 | + |
| 92 | + - **Content-Type**: application/json;charset=utf-8 |
| 93 | + - **Accept**: application/hal+json;charset=utf-8 |
| 94 | + |
| 95 | +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) |
| 96 | + |
0 commit comments