composer require paymeebrasil/paymee-php-sdk
use PayMee\Enums\CheckoutType;
use PayMee\Helpers\PayMeeCheckout;
use PayMee\Model\Shopper;
$shopper = new Shopper();
$shopper
->withEmail('foo@bar.com')
->withPhone('(31)99938-0586')
->withFullName('Foo bar')
->withCpf('015.680.186-81')
->withBranch('XXXX')
->withAccount('XXXXXXX-X');
$paymeeCheckout = new PayMeeCheckout(X_API_KEY, X_API_TOKEN, IS_SANDBOX);
$response = $paymeeCheckout
->withCurrency('BRL')
->withAmount(100.00)
->withReferenceCode('XXXXXX')
->withMaxAge(1880)
->withPaymentMethod("BB_TRANSFER")
->withCallbackURL('http://foo.callback')
->withShopper($shopper)
->create(CheckoutType::SEMI_TRANSPARENT, true);
Current version: 0.0.1-snapshot
For more informations, please access: https://www.paymee.com.br