GetPaymentChannels is in composer update xendit/xendit-php75. Existing behavior on the endpoint will continue to work as before, but newer channels will be missing from the returned result. Show \Xendit\PaymentChannels::list(); Usage example: $getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels); CardsCreate Charge\Xendit\Cards::create(array $params); Usage example: $params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge); Reverse Authorizationcomposer update xendit/xendit-php0 Usage example: composer update xendit/xendit-php1 Capture Chargecomposer update xendit/xendit-php2 Usage example: composer update xendit/xendit-php3 Get Chargecomposer update xendit/xendit-php4 Usage example: composer update xendit/xendit-php5 Create Refundcomposer update xendit/xendit-php6 Usage examples Without idempotency key: composer update xendit/xendit-php7 With idempotency key: composer update xendit/xendit-php8 Create Promotioncomposer update xendit/xendit-php9 usage examples: Xendit::setApiKey('secretKey');0 Cardless CreditCreate Cardless Credit PaymentXendit::setApiKey('secretKey');1 Usage example: Xendit::setApiKey('secretKey');2 Calculate Payment TypesXendit::setApiKey('secretKey');3 Usage example: Xendit::setApiKey('secretKey');4 CustomersCreate CustomerXendit::setApiKey('secretKey');5 Usage example: Xendit::setApiKey('secretKey');6 Get Customer by Reference IDXendit::setApiKey('secretKey');7 Usage example: Xendit::setApiKey('secretKey');8 Direct DebitInitialize linked account tokenizationXendit::setApiKey('secretKey');9 Usage example: Xendit::setHttpClient($client);0 Validate OTP for Linked Account TokenXendit::setHttpClient($client);1 Usage example: Xendit::setHttpClient($client);2 Retrieve accessible accounts by linked account tokenXendit::setHttpClient($client);3 Usage example: Xendit::setHttpClient($client);4 Unbind linked account tokenXendit::setHttpClient($client);5 Usage example: Xendit::setHttpClient($client);6 Create payment methodXendit::setHttpClient($client);7 Usage example: Xendit::setHttpClient($client);8 Get payment methods by customer IDXendit::setHttpClient($client);9 Usage example: $params = array( 'for-user-id' => '<sub account user id>' //The sub-account user-id that you want to make this transaction for (Optional). ); \Xendit\Balance::getBalance(string $account_type, array $params);0 Create direct debit payment$params = array( 'for-user-id' => '<sub account user id>' //The sub-account user-id that you want to make this transaction for (Optional). ); \Xendit\Balance::getBalance(string $account_type, array $params);1 Usage example: $params = array( 'for-user-id' => '<sub account user id>' //The sub-account user-id that you want to make this transaction for (Optional). ); \Xendit\Balance::getBalance(string $account_type, array $params);2 Validate OTP for direct debit payment$params = array( 'for-user-id' => '<sub account user id>' //The sub-account user-id that you want to make this transaction for (Optional). ); \Xendit\Balance::getBalance(string $account_type, array $params);3 Usage example: $params = array( 'for-user-id' => '<sub account user id>' //The sub-account user-id that you want to make this transaction for (Optional). ); \Xendit\Balance::getBalance(string $account_type, array $params);4 Get direct debit payment by ID$params = array( 'for-user-id' => '<sub account user id>' //The sub-account user-id that you want to make this transaction for (Optional). ); \Xendit\Balance::getBalance(string $account_type, array $params);5 Usage example: $params = array( 'for-user-id' => '<sub account user id>' //The sub-account user-id that you want to make this transaction for (Optional). ); \Xendit\Balance::getBalance(string $account_type, array $params);6 Get direct debit payment by reference ID$params = array( 'for-user-id' => '<sub account user id>' //The sub-account user-id that you want to make this transaction for (Optional). ); \Xendit\Balance::getBalance(string $account_type, array $params);7 Usage example: $params = array( 'for-user-id' => '<sub account user id>' //The sub-account user-id that you want to make this transaction for (Optional). ); \Xendit\Balance::getBalance(string $account_type, array $params);8 IDR Disbursements for IndonesiaCreate an IDR Disbursement$params = array( 'for-user-id' => '<sub account user id>' //The sub-account user-id that you want to make this transaction for (Optional). ); \Xendit\Balance::getBalance(string $account_type, array $params);9 Usage examples Without idempotency key: $getBalance = \Xendit\Balance::getBalance('CASH'); var_dump($getBalance);0 With idempotency key: $getBalance = \Xendit\Balance::getBalance('CASH'); var_dump($getBalance);1 Create an IDR Batch Disbursement$getBalance = \Xendit\Balance::getBalance('CASH'); var_dump($getBalance);2 Usage example: $getBalance = \Xendit\Balance::getBalance('CASH'); var_dump($getBalance);3 Get an IDR Disbursement by ID$getBalance = \Xendit\Balance::getBalance('CASH'); var_dump($getBalance);4 Usage example: $getBalance = \Xendit\Balance::getBalance('CASH'); var_dump($getBalance);5 Get an IDR Disbursement by External ID$getBalance = \Xendit\Balance::getBalance('CASH'); var_dump($getBalance);6 Usage example: $getBalance = \Xendit\Balance::getBalance('CASH'); var_dump($getBalance);7 Get an IDR Disbursement Available Banks$getBalance = \Xendit\Balance::getBalance('CASH'); var_dump($getBalance);8 Usage example: $getBalance = \Xendit\Balance::getBalance('CASH'); var_dump($getBalance);9 PHP Disbursements for PhilippinesCreate a PHP Disbursement\Xendit\PaymentChannels::list();0 Usage examples Without optional fields: \Xendit\PaymentChannels::list();1 With beneficiary optional field: \Xendit\PaymentChannels::list();2 With receipt_notification optional field: \Xendit\PaymentChannels::list();3 Get a PHP Disbursement by ID\Xendit\PaymentChannels::list();4 Usage example: \Xendit\PaymentChannels::list();5 Get a PHP Disbursement by Reference ID\Xendit\PaymentChannels::list();6 Usage example: \Xendit\PaymentChannels::list();7 Disbursement ChannelsGet Disbursement Channels\Xendit\PaymentChannels::list();8 Usage examples \Xendit\PaymentChannels::list();9 Get Disbursement Channels By Channel Category$getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels);0 Usage examples $getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels);1 Get Disbursement Channels By Channel Code$getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels);2 Usage examples $getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels);3 E-WalletsCreate E-Wallet Charge$getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels);4 For more information about the params, please check . Usage example: $getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels);5 Get E-Wallet Charge Status$getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels);6 Usage example: $getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels);7 Void E-Wallet Charge$getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels);8 Usage example: $getPaymentChannels = \Xendit\PaymentChannels::list(); var_dump($getPaymentChannels);9 Refund E-Wallet Charge\Xendit\Cards::create(array $params);0 Usage example: \Xendit\Cards::create(array $params);1 Get Refund By ID\Xendit\Cards::create(array $params);2 Usage example: \Xendit\Cards::create(array $params);3 List Refunds\Xendit\Cards::create(array $params);4 Usage example: \Xendit\Cards::create(array $params);5 InvoiceCreate Invoice\Xendit\Cards::create(array $params);6 Usage example: \Xendit\Cards::create(array $params);7 Get Invoice\Xendit\Cards::create(array $params);8 Usage example: \Xendit\Cards::create(array $params);9 Get All Invoice$params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge);0 Usage example: $params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge);1 Expire Invoice$params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge);2 Usage example: $params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge);3 PaylaterInitiate PayLater Plans$params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge);4 Usage example: $params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge);5 Create Paylater Charges$params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge);6 Usage example: $params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge);7 Get PayLater Charge by ID$params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge);8 Usage example: $params = [ 'token_id' => '5e2e8231d97c174c58bcf644', 'external_id' => 'card_' . time(), 'authentication_id' => '5e2e8658bae82e4d54d764c0', 'amount' => 100000, 'card_cvn' => '123', 'capture' => false ]; $createCharge = \Xendit\Cards::create($params); var_dump($createCharge);9 Refund Paylater Chargecomposer update xendit/xendit-php00 Usage example: composer update xendit/xendit-php01 Create Paylater Refundcomposer update xendit/xendit-php00 Usage example: composer update xendit/xendit-php03 Get PayLater Refund by IDcomposer update xendit/xendit-php04 Usage example: composer update xendit/xendit-php05 List PayLater Refundscomposer update xendit/xendit-php06 Usage example: composer update xendit/xendit-php07 Void Payoutcomposer update xendit/xendit-php08 Usage example: composer update xendit/xendit-php09 PayoutsCreate Payoutcomposer update xendit/xendit-php10 Usage example: composer update xendit/xendit-php11 Get Payoutcomposer update xendit/xendit-php12 Usage example: composer update xendit/xendit-php13 Void Payoutcomposer update xendit/xendit-php08 Usage example: composer update xendit/xendit-php09 QR CodeCreate a QR Codecomposer update xendit/xendit-php16 Usage example: composer update xendit/xendit-php17 Get QR Codecomposer update xendit/xendit-php18 Usage example: composer update xendit/xendit-php19 Recurring PaymentsCreate a Recurring Paymentcomposer update xendit/xendit-php20 Usage example: composer update xendit/xendit-php21 Get a Recurring Paymentcomposer update xendit/xendit-php22 Usage example: composer update xendit/xendit-php23 Edit Recurring Paymentcomposer update xendit/xendit-php24 Usage example: composer update xendit/xendit-php25 Stop Recurring Paymentcomposer update xendit/xendit-php26 Usage example: composer update xendit/xendit-php27 Pause Recurring Paymentcomposer update xendit/xendit-php28 Usage example: composer update xendit/xendit-php29 Resume Recurring Paymentcomposer update xendit/xendit-php30 Usage example: composer update xendit/xendit-php31 Retail OutletsCreate Fixed Payment Codecomposer update xendit/xendit-php32 Usage example: composer update xendit/xendit-php33 Update Fixed Payment Codecomposer update xendit/xendit-php34 Usage example: composer update xendit/xendit-php35 Get Fixed Payment Codecomposer update xendit/xendit-php36 Usage example: composer update xendit/xendit-php37 Virtual AccountsCreate Fixed Virtual Accountcomposer update xendit/xendit-php38 Usage example: composer update xendit/xendit-php39 Get Virtual Account Bankcomposer update xendit/xendit-php40 Usage example: composer update xendit/xendit-php41 Get Fixed Virtual Accountcomposer update xendit/xendit-php42 Usage example: composer update xendit/xendit-php43 Update Fixed Virtual Accountcomposer update xendit/xendit-php44 Usage example: composer update xendit/xendit-php45 Get Fixed Virtual Account Paymentcomposer update xendit/xendit-php46 Usage example: composer update xendit/xendit-php47 xenPlatformCreate Accountcomposer update xendit/xendit-php48 Usage example: composer update xendit/xendit-php49 Get Accountcomposer update xendit/xendit-php50 Usage example: composer update xendit/xendit-php51 Update Accountcomposer update xendit/xendit-php52 Usage example: composer update xendit/xendit-php53 Create Transferscomposer update xendit/xendit-php54 Usage example: composer update xendit/xendit-php55 Create Fee Rulecomposer update xendit/xendit-php56 Usage example: composer update xendit/xendit-php57 Set Callback URLscomposer update xendit/xendit-php58 Usage example: composer update xendit/xendit-php59 TransactionList of Transactionscomposer update xendit/xendit-php60 Usage example: composer update xendit/xendit-php61 Detail of Transactioncomposer update xendit/xendit-php62 Usage example: composer update xendit/xendit-php63 ReportGenerate Reportcomposer update xendit/xendit-php64 Usage example: composer update xendit/xendit-php65 Detail of Reportcomposer update xendit/xendit-php66 Usage example: composer update xendit/xendit-php67 ExceptionsInvalidArgumentExceptioncomposer update xendit/xendit-php76 will be thrown if the argument provided by user is not sufficient to create the request. For example, there are required arguments such as composer update xendit/xendit-php77, composer update xendit/xendit-php78, composer update xendit/xendit-php79, and composer update xendit/xendit-php80 to create an invoice. If user lacks one or more arguments when attempting to create one, composer update xendit/xendit-php76 will be thrown. composer update xendit/xendit-php76 is derived from PHP's composer update xendit/xendit-php76. For more information about this Exception methods and properties, please check PHP Documentation. ApiExceptioncomposer update xendit/xendit-php84 wraps up Xendit API error. This exception will be thrown if there are errors from Xendit API side, e.g. get fixed virtual account with invalid composer update xendit/xendit-php85. To get exception message: composer update xendit/xendit-php68 To get exception HTTP error code: composer update xendit/xendit-php69 To get exception Xendit API error code: composer update xendit/xendit-php70 ContributingFor any requests, bugs, or comments, please open an issue or submit a pull request. Installing PackagesBefore you start to code, run this command to install all of the required packages. Make sure you have composer update xendit/xendit-php86 installed in your computer composer update xendit/xendit-php71 TestsRunning test suite:composer update xendit/xendit-php72 Running examples:composer update xendit/xendit-php73 There is a pre-commit hook to run phpcs and phpcbf. Please make sure they passed before making commits/pushes. |