gurado REST API Documentation

Documentos relacionados
MERCHANDISE ORDER FORM

Serviços: API REST. URL - Recurso

BR localization: Hotfix 003. Technical documentation Documentação Técnica Version Dec 12, de Dezembro de 2018

Serviç os da Web de distribuiç ã o digital (DDWS) GetMyPrice - Serviço manual

Manual do Checkout 2.0

BR localization: Hotfix 109. Technical documentation Documentação Técnica Version Oct 23, de outubro de 2018

Financial leasing services

BR localization: Hotfix 002. Technical documentation Documentação Técnica Version Nov 27, de novembro de 2018

PAPO SMS MANUAL DE INTEGRAÇÃO DO DESENVOLVEDOR VERSÃO 1.0.1

Manual de utilização do Terminal de Pagamento Electrónico Virtual

Como Mudar a Senha do Roteador Pelo IP o.1.1. Configure e Altere a Senha do seu Roteador acessando o IP Acesse o Site e Confira!

2 Categorias Categories Todas as categorias de actividade são apresentadas neste espaço All activity categories are presented in this space

1 INTRODUÇÃO CERTIFICADO DE SEGURANÇA SSL AUTENTICAÇÃO WEB METHOD: LOGIN WEB METHOD: LISTBONDCODES...

1 INTRODUÇÃO CERTIFICADO DE SEGURANÇA SSL AUTENTICAÇÃO WEB METHOD: LOGIN WEB METHOD: LISTBONDCODES...

A Direção-Geral do Território disponibiliza aos seus clientes diversas modalidades de pagamento:

CANape/vSignalyzer. Data Mining and Report Examples Offline Analysis V

Manual do Desenvolvedor Pagamento Recorrente. Fevereiro de 2013 Versão 2

SQL CREATE DATABASE. MySQL, SQL Server, Access, Oracle, Sybase, DB2, e outras base de dados utilizam o SQL.

PURCHASE-TO-PAY SOLUTIONS

VGM. VGM information. ALIANÇA VGM WEB PORTAL USER GUIDE June 2016

Customizing Guide Homolognet Version 2

MT BOOKING SYSTEM BACKOFFICE. manual for management

Manual Direct100 API V2 RICCARDO BARANA

Manual de Integração do icarta

Universo Online. Loja de Aplicativos - API v1.0 [05/2012]

CAPLE EXAMS 2018 WHAT ARE CAPLE EXAMS?

Pagador Transaction. Consulta. Versão 1.3

API icontrato. Versão 1.0. Para ajuda e informações, abra um chamado pelo

Step by step to make the appointment at the Federal Police

DOCUMENTAÇÃO DE INTEGRAÇÃO 3DS

Pagamento Recorrente estamos todos ligados

Application Programming Interface para interligação com WEuroGest

VGM. VGM information. ALIANÇA VGM WEB PORTAL USER GUIDE September 2016

BR localization: Hotfix 117. Technical documentation Documentação Técnica Version Fev 12, de fevereiro de 2019

Boleto Bancário estamos todos ligados

10 atributos de uma API de sucesso

Vendors Enquiries for RFP 003/2015

Addition of Fields in Line Item Display Report Output for TCode FBL1N/FBL5N

PTC Exercício Programa GABARITO

Como usar os comandos standby preempt e standby track

UNIT 5: Review (UNIDADE 5: Revisão)

Transcript name: 1. Introduction to DB2 Express-C

MANUAL DE INSTALAÇÃO E CONFIGURAÇÃO PLUGIN PAYU LATAM PARA O VIRTUEMART

Admin Docs Documentation

Geospatial Information for Integration and Development in Rio de Janeiro. Luiz Roberto Arueira City Information Director Marcus Silva GIS Consultant

solaredx Documentation

Futebol em Transmissão. Football is on the Air.

COMPUTAÇÃO E PROGRAMAÇÃO

User Manual. Linksys PAP2 Broadband Phone Service. Linhagratuita grupo csdata

How to use the system. Meike Borstelmann

Introdução à linguagem C++

Guia de Integração PayPay

Guia de Integração Gateway de Pagamentos Redunicre. Versão 1.1

Este item do documento apresenta o AuthSnet, protocolo de autenticação usado para acessar os recursos privados (protected resource) da ServiceNet.

Parte 3: Camada de Rede

GUIA API BTB /04/2019 INFORMAÇÃO PÚBLICA

RADIUS avançado para clientes PPP de discagem

PagSeguro-Python Documentation

Interface Padrão e Interface Personalizada estamos todos ligados

PAPO SMS MANUAL DE INTEGRAÇÃO DO DESENVOLVEDOR VERSÃO 1.0

Web Services REST. Sistemas Distribuídos. Mauro Lopes Carvalho Silva. Professor EBTT DAI Departamento de Informática Campus Monte Castelo

Comportamento Organizacional: O Comportamento Humano no Trabalho (Portuguese Edition)

Configurar o diretório corporativo do telefone no desenvolvimento CUCDM 8.x HC

Click the + sign to add new server details. Clique no sinal de "+" para adicionar novos detalhes do servidor. Enter a friendly name for your BI Server

Descrição: Retorna uma lista com todos os publishers disponíveis no middleware.

API REST Alimentação/Retorno

Transcrição:

gurado REST API Documentation Table of Contents: 1. Authentication & Headers 2. gurado Rest API operations 2.1 Vouchers Look up a voucher Sale a voucher Redeem a voucher List voucher s Generate a voucher List all vouchers Convert old to new voucher The gurado REST API uses HTTP verbs and a RESTful endpoint structure. Request and Response are formatted as JSON or XML format. The gurado REST API is supported in live environment and generally used in EPOS Terminal System where vouchers are sold and redeemed. The following endpoints address our live environment: https://www.gurado.de/{shop-name}/ Where {shop-name} is your gurado shop name. A complete REST operation is formed by combining an HTTP method (or

verb ) with the full URI to the resource you re addressing. For example, here is the operation to get voucher information: https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/{code} Where v1.0 is the current version of this api and in future can be changed with latest version Authentication & Headers: With each API call, you ll need to set request headers, including Consumer key & consumer secret which is supplied by gurado system. Use X-GURADO- CONSUMER-KEY variable to provide Consumer key & X-GURADO- CONSUMER-SECRET variable to provide the Consumer secret to gurado system as your Auth credentials. gurado Rest API operations: Here are the available gurado REST API operations: 1. Look up a voucher: Get information of a particular voucher by using voucher code or external ID Method: GET Urls: https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/{code} Or https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/ext- {externalid} Where {code} is voucher code and {externalid} is external ID of a voucher used in Consumer system. Request: Pass the voucher code or external ID in the endpoint. Response: Returns a Voucher object in JSON or XML format. code Voucher Code externalid Voucher External ID Characters, Numbers and - are allowed Numbers

pin int Secure Pin 4 digit number currencycode Currency code Currency code like EUR, CHF type Voucher Type balance numberofusesallowed double int numberofusesremaining int Balance of Voucher Total number of voucher usage allowed Total number of voucher usage remaining validfromdate date Valid From Date validtodate date Valid To Date GIFT_VOUCHER, TICKET, COUPON, SEASON_TICKET, MULTI_SCAN_TICKET, TIME_BOUND_TICKET, 0-99999999,99 0 999, NOT_APPLICABLE 0-999, NOT_APPLICABLE YYYY-MM-DD HH:MM:SS, YYYY-MM-DD HH:MM:SS, isoldvoucher int Is Old Voucher 1 OLD, 0 - NEW status creationdate date Status of Voucher Voucher creation date soldby Transaction by ACTIVE, INACTIVE, PENDING, YYYY-MM-DD HH:MM:SS, ONLINE_SHOP, IN_STORE, ordernumber int Order Number 10 digit number invoicenumber int Invoice Number 10 digit number receiptnumber int Receipt Number 10 digit number paymentmethod Payment Method Characters product object Product object Product details object recipient object Recipient object Recipient details object Product Object:

name Product Name Max. 255 characters price double Product price 0-99999999,99 taxrate double Tax rate 0-100 externalsku External Sku is a unique identification code of a Product Max. 50 characters usually alphanumeric Recipient Object: name Recipient Name Max. 50 characters alphanumeric email Recipient Email Address John.Smith@example.com address object Address Object Address details object Address Object: street Street postcode Postcode city City Name country Country Name Max. 100 characters Max. 10 characters Max. 20 characters Max. 20 characters

EXAMPLE: REQUEST: https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/abcd-efgh- IJKL Or https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/ext-12345 Request Sample: curl -v -X GET https://www.gurado.de/{shopname}/restapi/v1.0/vouchers/{code} or ext-{externalid} \ -H "ACCEPT:application/json" \ -H "X-GURADO-CONSUMER-KEY: <Key-Token>" \ -H "X-GURADO-CONSUMER-SECRET: <Secret-Token>" RESPONSE JSON format: { "voucher":{ "code":"abcd-efgh-ijkl", "externalid":"12345", "pin":"1234", "currencycode":"eur", "type":"gift_voucher", "balance":20.00, "numberofusesallowed":"not_applicable", "numberofusesremaining":"not_applicable", "validfromdate":"2015-01-01 01:00:00", "validtodate":"2030-12-31 00:00:00", "isoldvoucher":0, "status":"active", "creationdate":"2015-01-01 01:00:00", "soldby": "ONLINE_SHOP" "ordernumber": "1000000001" "invoicenumber": "1000000001" "receiptnumber": "NOT_APPLICABLE" "paymentmethod": "PAYPAL_STANDARD" "product":{

} } "name":"gift Voucher", "price":20, "taxrate":19, "externalsku":"gv123" }, "recipient":{ "name":"georg Dirk", "email": georg.dirk@gurado.de, "address":{ "street": Wittbräucker Str. 32, "postcode":44287, "city": Dortmund, "country": Germany } } XML format: <?xml version="1.0" encoding="utf-8"?> <xml> <voucher> <code>abcd-efgh-ijkl</code> <externalid>12345</externalid> <pin>1234</pin> <currencycode>eur</currencycode> <type>gift_voucher</type> <balance>20.00</balance> <numberofusesallowed>not_applicable</numberofusesallowed> <numberofusesremaining>not_applicable</numberofusesremaining> <validfromdate>2015-01-01 01:00:00</validFromDate> <validtodate>2030-12-31 00:00:00</validToDate> <isoldvoucher>0</isoldvoucher> <status>active</status> <creationdate>2015-01-01 01:00:00</creationDate> <soldby>online_shop</soldby> <ordernumber>1000000001</ordernumber> <invoicenumber>1000000001</invoicenumber> <receiptnumber>not_applicable</receiptnumber>

<paymentmethod>paypal_standard</paymentmethod> <product> <name>gift Voucher</name> <price>20</price> <taxrate>19</taxrate > <externalsku>gv123</externalsku> </product> <recipient> <name>georg Dirk</name> <email>georg.dirk@gurado.de</email> <address> <street>wittbräucker Str. 32</street> <postcode>44287</postcode> <city>dortmund</city> <country>germany</country> </address> </recipient> </voucher> </xml> 2. Sale a voucher: Sale a Voucher by using voucher code or external ID Method: PUT Urls: https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/{code}/sale Or https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/ext- {externalid}/sale Where {code} is voucher code and {externalid} is external ID of a voucher used in Consumer system. Request:

externalproductsku External Sku is a unique identification code of Product Max. 50 characters usually alphanumeric amount double Voucher sale value 0-99999999,99 Date date Transaction Date YYYY-MM-DD HH:MM:SS Response: Property type Description Value details messagestatus Status of sale SUCCESS, FAILURE messagecode Unique code to identify message VOUCHER_SOLD_SUCCESSFULLY, VOUCHER_SALE_FAILED messagedescription Details of message Text Request Sample: curl -v https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/{code} or ext-{externalid}/sale \ -H "ACCEPT:application/json" \ -H "X-GURADO-CONSUMER-KEY: <Key-Token>" \ -H "X-GURADO-CONSUMER-SECRET: <Secret-Token>" \ -d externalproductsku=1245 -d amount=20.00 -d Date=2015-01-01 01:00:00 3. Redeem a voucher: Redeem a Voucher by using voucher code or external ID with

Method: PUT Urls: https://www.gurado.de/{shopname}/restapi/v1.0/vouchers/{code}/redeem https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/ext- {externalid}/redeem Where {code} is voucher code and {externalid} is external ID of a voucher used in Consumer system. Request: amount double Voucher sale value 0-99999999,99 Date date Transaction Date YYYY-MM-DD HH:MM:SS Response: Property type Description Value details messagestatus Status of sale SUCCESS, FAILURE messagecode Unique code to identify message VOUCHER_REDEEMED_SUCCESSFULLY, VOUCHER_REDEMPTION_FAILED messagedescription Details of message Text Request Sample:

curl -v https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/{code} or ext-{externalid}/redeem \ -H "ACCEPT:application/json" \ -H "X-GURADO-CONSUMER-KEY: <Key-Token>" \ -H "X-GURADO-CONSUMER-SECRET: <Secret-Token>" \ -d amount=10.00 -d Date=2015-03-02 01:00:59 4. List voucher s: Get List of voucher by using voucher code or external ID with Method: GET Urls : https://www.gurado.de/{shopname}/restapi/v1.0/vouchers/{code}/s https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/ext- {externalid}/s Where {code} is voucher code and {externalid} is external ID of a voucher used in Consumer system. Request: Pass the voucher code or external ID in the endpoint. Response: Returns a Voucher object in JSON or XML format. code Voucher Code externalid Voucher External ID Characters, Numbers and - are allowed Numbers pin int Secure Pin 4 digit number currencycode Currency code type Voucher Type Currency code like EUR, CHF GIFT_VOUCHER, TICKET, COUPON, SEASON_TICKET, MULTI_SCAN_TICKET, TIME_BOUND_TICKET,

balance numberofusesallowed double int numberofusesremaining int Balance of Voucher Total number of voucher usage allowed Total number of voucher usage remaining validfromdate date Valid From Date validtodate date Valid To Date 0-99999999,99 0 999, NOT_APPLICABLE 0-999, NOT_APPLICABLE YYYY-MM-DD HH:MM:SS, YYYY-MM-DD HH:MM:SS, isoldvoucher int Is Old Voucher 1 OLD, 0 - NEW status Status of Voucher creationdate date Transaction by ACTIVE, INACTIVE, PENDING, ONLINE_SHOP, IN_STORE, soldby Order Number 10 digit number ordernumber int Invoice Number 10 digit number invoicenumber int Receipt Number 10 digit number receiptnumber int Payment Method Characters paymentmethod Product object Product details object product object Recipient object Recipient details object recipient object Transactions object List of voucher history s Product Object:

name Product Name Max. 255 characters price double Product price 0-99999999,99 taxrate double Tax rate 0-100 externalsku External Sku is a unique identification code of a Product Max. 50 characters usually alphanumeric Recipient Object: name Recipient Name Max. 50 characters alphanumeric email Recipient Email Address John.Smith@example.com address object Address Object Address details object Address Object: street Street Max. 100 characters postcode Postcode Max. 10 characters city City Name Max. 20 characters country Country Name Max. 20 characters

Transaction Object: outlet Name of outlet that performed action Transaction action amount double Transaction amount date date Date of ordernumber receiptnumber int int externalreceiptnumber order number if voucher purchased online receipt number if voucher purchased in store External receipt number generated by consumer Max. 100 characters SALE, REDEEM, CORRECT 0-99999999,99 YYYY-MM-DD HH:MM:SS, Max. 10 digit number Max. 10 digit number Max. 50 characters EXAMPLE: REQUEST https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/abcd-efgh- IJKL/s or https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/ext- 12345/s Request Sample: curl -v -X GET https://www.gurado.de/{shopname}/restapi/v1.0/vouchers/{code} or ext-{externalid}/s \ -H "ACCEPT:application/json" \ -H "X-GURADO-CONSUMER-KEY: <Key-Token>" \ -H "X-GURADO-CONSUMER-SECRET: <Secret-Token>"

RESPONSE JSON format: { "voucher":{ "code":"abcd-efgh-ijkl", "externalid":"12345", "pin":"1234", "currencycode":"eur", "type":"gift_voucher", "balance":20.00, "numberofusesallowed":"not_applicable", "numberofusesremaining":"not_applicable", "validfromdate":"2015-01-01 01:00:00", "validtodate":"2030-12-31 00:00:00", "isoldvoucher":0, "status":"active", "creationdate":"2015-01-01 01:00:00", "soldby": "ONLINE_SHOP" "ordernumber": "1000000001" "invoicenumber": "1000000001" "receiptnumber": "NOT_APPLICABLE" "paymentmethod": "PAYPAL_STANDARD" "product":{ "name":"gift Voucher", "price":20, "taxrate":19, "externalsku":"gv123" }, "recipient":{ "name":"georg Dirk", "email": georg.dirk@gurado.de, "address":{ "street": Wittbräucker Str. 32, "postcode":44287, "city": Dortmund, "country": Germany } }, "s":[

} } ] { }, { } "outlet":"gurado", "action":"sale", "amount":20, "date":"2015-01-01 01:00:00", "ordernumber":"not_applicable", "receiptnumber":"10000001", "externalreceiptnumber":"not_applicable" "outlet":"gurado", "action":"redeem", "amount":18, "date":"2015-01-01 02:00:00", "ordernumber":"not_applicable", "receiptnumber":"10000002", "externalreceiptnumber":"not_applicable" XML format: <?xml version="1.0" encoding="utf-8"?> <xml> <voucher> <code>abcd-efgh-ijkl</code> <externalid>12345</externalid> <pin>1234</pin> <currencycode>eur</currencycode> <type>gift_voucher</type> <balance>20.00</balance> <numberofusesallowed>not_applicable</numberofusesallowed> <numberofusesremaining>not_applicable</numberofusesremaining> <validfromdate>2015-01-01 01:00:00</validFromDate> <validtodate>2030-12-31 00:00:00</validToDate> <isoldvoucher>0</isoldvoucher>

<status>active</status> <creationdate>2015-01-01 01:00:00</creationDate> <soldby>online_shop</soldby> <ordernumber>1000000001</ordernumber> <invoicenumber>1000000001</invoicenumber> <receiptnumber>not_applicable</receiptnumber> <paymentmethod>paypal_standard</paymentmethod> <product> <name>gift Voucher</name> <price>20</price> <taxrate>20</taxrate > <externalsku>gv123</externalsku> </product> <recipient> <name>georg Dirk</name> <email>georg.dirk@gurado.de</email> <address> <street>wittbräucker Str. 32</street> <postcode>44287</postcode> <city>dortmund</city> <country>germany</country> </address> </recipient> <s> <> <outlet>gurado</outlet> <action>sale</action> <amount>20</amount> <date>2015-01-01 01:00:00</date> <ordernumber>not_applicable</ordernumber> <receiptnumber>10000001</receiptnumber> <externalreceiptnumber>not_applicable</externalreceiptnumber> </> <> <outlet>gurado</outlet> <action>redeem</action> <amount>18</amount> <date>2015-01-01 02:00:00</date> <ordernumber>not_applicable</ordernumber>

<receiptnumber>10000002</receiptnumber> <externalreceiptnumber>not_applicable</externalreceiptnumber> </> </s> </voucher> </xml> 5. Generate and sale a voucher: Generate and sale a Voucher Method: POST Urls: https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers Request: externalproductsku External Sku is a unique identification code of Product Max. 50 characters usually alphanumeric amount double Voucher sale value 0-99999999,99 Date date Transaction Date YYYY-MM-DD HH:MM:SS Response: Property type Description Value details messagestatus Status of generate SUCCESS, FAILURE messagecode Unique code to identify message AUTO_VOUCHER_GENERATION_NOT_ALLOWED, INVALID_AMOUNT, UNABLE_TO_GENERATE_NEW_VOUCHER, PRODUCT_NOT_FOUND, VOUCHER_SALE_FAILED

messagedescription Details of message Text Request Sample: curl -v https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers \ -H "ACCEPT:application/json" \ -H "X-GURADO-CONSUMER-KEY: <Key-Token>" \ -H "X-GURADO-CONSUMER-SECRET: <Secret-Token>" \ -d externalproductsku=1245 -d amount=20.00 -d Date=2015-01-01 01:00:00 6. List all vouchers: Get information of all vouchers with pagination Method: GET Urls: https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers Request: fromdate todate page pagesize date date int int From Date (url encoded) To Date (url encoded) Current page number Number of vouchers per page YYYY-MM-DD HH:MM:SS Default all vouchers YYYY-MM-DD HH:MM:SS Default all vouchers Default 1 Default 20, Max 100 vouchers per page Response: Returns a list of Voucher objects in JSON or XML format.

code Voucher Code externalid Voucher External ID Characters, Numbers and - are allowed Numbers pin int Secure Pin 4 digit number currencycode Currency code Currency code like EUR, CHF type Voucher Type balance numberofusesallowed double int numberofusesremaining int Balance of Voucher Total number of voucher usage allowed Total number of voucher usage remaining validfromdate date Valid From Date validtodate date Valid To Date GIFT_VOUCHER, TICKET, COUPON, SEASON_TICKET, MULTI_SCAN_TICKET, TIME_BOUND_TICKET, 0-99999999,99 0 999, NOT_APPLICABLE 0-999, NOT_APPLICABLE YYYY-MM-DD HH:MM:SS, YYYY-MM-DD HH:MM:SS, isoldvoucher int Is Old Voucher 1 OLD, 0 - NEW status creationdate date Status of Voucher Voucher creation date soldby Transaction by ACTIVE, INACTIVE, PENDING, YYYY-MM-DD HH:MM:SS, ONLINE_SHOP, IN_STORE, ordernumber int Order Number 10 digit number invoicenumber int Invoice Number 10 digit number receiptnumber int Receipt Number 10 digit number paymentmethod Payment Method Characters product object Product object Product details object

recipient object Recipient object Recipient details object Product Object: name Product Name Max. 255 characters price double Product price 0-99999999,99 taxrate double Tax Rate 0-100 externalsku External Sku is a unique identification code of a Product Max. 50 characters usually alphanumeric Recipient Object: name Recipient Name Max. 50 characters alphanumeric email Recipient Email Address John.Smith@example.com address object Address Object Address details object Address Object: street Street Max. 100 characters

postcode Postcode city City Name country Country Name Max. 10 characters Max. 20 characters Max. 20 characters Paging Object: total int Total Vouchers perpage int Vouchers per Page currentpage int Current Page lastpage int Last Page from int Vouchers From to int Vouchers To 0-999 0-999 0-999 0-999 0-999 0-999 EXAMPLE: REQUEST: https://www.gurado.de/{shopname}/restapi/v1.0/vouchers?page=1&pagesize=20 Request Sample: curl -v -X GET "https://www.gurado.de/{shopname}/restapi/v1.0/vouchers?page=<current-page >&pagesize=<page-size>" \ -H "ACCEPT:application/json" \ -H "X-GURADO-CONSUMER-KEY: <Key-Token>" \ -H "X-GURADO-CONSUMER-SECRET: <Secret-Token>"

7. Convert old to new voucher: Convert old to new voucher by using voucher code or external ID Method: PUT Urls: https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/{code}/convert https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/ext- {externalid}/convert Where {code} is voucher code and {externalid} is external ID of a voucher used in Consumer system. Request: newvouchercode New voucher code Alphanumeric amount double Voucher correction value 0-99999999,99 Date date Transaction Date YYYY-MM-DD HH:MM:SS Response: Property type Description Value details messagestatus Status of conversion SUCCESS, FAILURE messagecode Unique code to identify message VOUCHER_CONVERTED_SUCCESSFULLY, VOUCHER_CONVERSION_FAILED

messagedescription Details of message Text Request Sample: curl -v https://www.gurado.de/{shop-name}/restapi/v1.0/vouchers/{code} or ext-{externalid}/convert \ -H "ACCEPT:application/json" \ -H "X-GURADO-CONSUMER-KEY: <Key-Token>" \ -H "X-GURADO-CONSUMER-SECRET: <Secret-Token>" \ -d newvouchercode=xxxxx-xxxxx -d amount=10.00 -d Date=2015-03-02 01:00:59