advans / php-api-boveda-csd
There is no license information available for the latest version (v1.0.4) of this package.
v1.0.4
2023-10-03 14:54 UTC
Requires
- ext-curl: *
- ext-json: *
README
Instalación usando Composer
$ composer require advans/php-api-boveda-csd
Ejemplo
$config = new \Advans\Api\BovedaCSD\Config([
'base_url' => '*************************',
'key' => '**********************'
]);
$service_boveda = new \Advans\Api\BovedaCSD\BovedaCSD($config);
$co = '||4.0|CPA-N1|4|2022-10-30T23:59:59|30001000000400002335|0|XXX|0|P|01|77527|CACX7605101P8|OPERADORA PUEBLO BONITO SUNSET BEH|610|XEXX010101000|BOOKIT.COM|77527|616|CP01|84111506|1|ACT|Pago|0|0|01|2.0|75722.39|75722.63|2022-10-23T23:59:59|03|MXN|1|75722.63|FFFFFFFF-7B25-45FC-9725-F0154D6E3D54|FAG-N1|826|USD|0.049523|1|3750.00|3750.00|0|02|3750.00|002|Exento|75722.39|002|Exento||'
$serial = '30001000000400002335';
$response = $service_boveda->sellar($co, $serial);