<?php
$url = 'https://www.vendus.pt/ws/v1.0/payments/';
$apiKey = 'c433ff57a5ba6cdf301a48c97d9432594e35e73ce545945639bc4fb5798f1e8a';
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_USERPWD, $apiKey);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($curl);
?>
<?php
$url = 'https://www.vendus.pt/ws/v1.0/payments/';
$apiKey = 'c433ff57a5ba6cdf301a48c97d9432594e35e73ce545945639bc4fb5798f1e8a';
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_USERPWD, $apiKey);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($curl);
?>
Name | Type | Example | Description |
---|---|---|---|
id | int | 12345 | ID |
title | string | Em Dinheiro | Description |
change | int1 - Yes0 - No | Whether it allows change | |
type | stringNU - NumerárioCC - Cartão de CréditoCD - Cartão de DébitoCO - Cartão OfertaCS - Compensação de Saldos C/CDE - Cartão de PontosTR - Ticket RestauranteMB - Referência MBOU - OutroCH - Cheque BancárioLC - Letra ComercialTB - Transferência BancáriaPR - Permuta de BensDNP - Pagamento em conta corrente - entre 15 e 90 dias ou numa data específicaMBWAY - MB WAYZARPH - ZarphALICE - AliceCASHMATIC - CashmaticCASHLOGY - CashlogyITHINKIOT - iThink IoTMYPOS - MyPOSTPASIBS - TPA SIBSVENDUSPAY - Vendus Pay | Official type | |
status | stringon - Active (default)off - Inactive | Whether is usable | |
order | int | 1 | Display order in a list |
stores | collection | Store IDs where it is available. If empty, it will be available in all stores |
<?php
$url = 'https://www.vendus.pt/ws/v1.0/payments/12345/';
$apiKey = 'c433ff57a5ba6cdf301a48c97d9432594e35e73ce545945639bc4fb5798f1e8a';
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_USERPWD, $apiKey);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($curl);
?>
<?php
$url = 'https://www.vendus.pt/ws/v1.0/payments/12345/';
$apiKey = 'c433ff57a5ba6cdf301a48c97d9432594e35e73ce545945639bc4fb5798f1e8a';
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_USERPWD, $apiKey);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($curl);
?>
Name | Type | Example | Description |
---|---|---|---|
id | int | 12345 | ID |
title | string | Em Dinheiro | Description |
change | int1 - Yes0 - No | Whether it allows change | |
type | stringNU - NumerárioCC - Cartão de CréditoCD - Cartão de DébitoCO - Cartão OfertaCS - Compensação de Saldos C/CDE - Cartão de PontosTR - Ticket RestauranteMB - Referência MBOU - OutroCH - Cheque BancárioLC - Letra ComercialTB - Transferência BancáriaPR - Permuta de BensDNP - Pagamento em conta corrente - entre 15 e 90 dias ou numa data específicaMBWAY - MB WAYZARPH - ZarphALICE - AliceCASHMATIC - CashmaticCASHLOGY - CashlogyITHINKIOT - iThink IoTMYPOS - MyPOSTPASIBS - TPA SIBSVENDUSPAY - Vendus Pay | Official type | |
status | stringon - Active (default)off - Inactive | Whether is usable | |
order | int | 1 | Display order in a list |
stores | collection | Store IDs where it is available. If empty, it will be available in all stores |