PHPackages                             bilions/kbank-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. bilions/kbank-sdk

ActiveSdk[API Development](/categories/api)

bilions/kbank-sdk
=================

Thailand KBank SDK PHP

1.0.0(4y ago)4212MITPHP

Since Aug 8Pushed 4y agoCompare

[ Source](https://github.com/Bilions-Integration/kbank-sdk)[ Packagist](https://packagist.org/packages/bilions/kbank-sdk)[ RSS](/packages/bilions-kbank-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

#### USAGE

[](#usage)

**`paymentType`**
(Possible Payment Type)

- qr
- alipay
- unionpay
- card

**`dccCurrency`** (Optional)
Other Currency. Example - (USD)

**`amount`**
Amount to charge. Example - (100)

**`currency`**
Currency. Example - (THB) currently kbank only support THB

**`description`**
Order Description.

**`referenceOrder`**
Unique Order Number.

**`token`** (Optional)
Request Token for Card (required only for card payment)

**`getRedirectUrl()`**
Get redirect url for `alipay`, `card` and `unionpay` payment methods

**`getQRPaymentOrderId()`**
Get redirect orderDetail for `thai qr` payment method

**`getCharge($chargeId)`**
Get change detail for all kind of payments including qr

---

###### Example Usage

[](#example-usage)

```
