|
| 1 | +# CyberSource::EMVTagDetailsApi |
| 2 | + |
| 3 | +All URIs are relative to *https://apitest.cybersource.com* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**get_emv_tags**](EMVTagDetailsApi.md#get_emv_tags) | **GET** /tss/v2/transactions/emvTagDetails | Retrieve the EMV Dictionary |
| 8 | +[**parse_emv_tags**](EMVTagDetailsApi.md#parse_emv_tags) | **POST** /tss/v2/transactions/emvTagDetails | Parse an EMV String |
| 9 | + |
| 10 | + |
| 11 | +# **get_emv_tags** |
| 12 | +> TssV2GetEmvTags200Response get_emv_tags |
| 13 | +
|
| 14 | +Retrieve the EMV Dictionary |
| 15 | + |
| 16 | +Returns the entire EMV tag dictionary |
| 17 | + |
| 18 | +### Example |
| 19 | +```ruby |
| 20 | +# load the gem |
| 21 | +require 'cybersource_rest_client' |
| 22 | + |
| 23 | +api_instance = CyberSource::EMVTagDetailsApi.new |
| 24 | + |
| 25 | +begin |
| 26 | + #Retrieve the EMV Dictionary |
| 27 | + result = api_instance.get_emv_tags |
| 28 | + p result |
| 29 | +rescue CyberSource::ApiError => e |
| 30 | + puts "Exception when calling EMVTagDetailsApi->get_emv_tags: #{e}" |
| 31 | +end |
| 32 | +``` |
| 33 | + |
| 34 | +### Parameters |
| 35 | +This endpoint does not need any parameter. |
| 36 | + |
| 37 | +### Return type |
| 38 | + |
| 39 | +[**TssV2GetEmvTags200Response**](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 | + |
| 51 | + |
| 52 | +# **parse_emv_tags** |
| 53 | +> TssV2PostEmvTags200Response parse_emv_tags(body) |
| 54 | +
|
| 55 | +Parse an EMV String |
| 56 | + |
| 57 | +Pass an EMV Tag-Length-Value (TLV) string for parsing. |
| 58 | + |
| 59 | +### Example |
| 60 | +```ruby |
| 61 | +# load the gem |
| 62 | +require 'cybersource_rest_client' |
| 63 | + |
| 64 | +api_instance = CyberSource::EMVTagDetailsApi.new |
| 65 | + |
| 66 | +body = CyberSource::Body.new # Body | |
| 67 | + |
| 68 | + |
| 69 | +begin |
| 70 | + #Parse an EMV String |
| 71 | + result = api_instance.parse_emv_tags(body) |
| 72 | + p result |
| 73 | +rescue CyberSource::ApiError => e |
| 74 | + puts "Exception when calling EMVTagDetailsApi->parse_emv_tags: #{e}" |
| 75 | +end |
| 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 | + |
| 97 | + |
| 98 | + |
0 commit comments