API Bkpays Doc
english
  • english
  • 中文
  1. Indonesia
API Bkpays Doc
english
  • english
  • 中文
  • Development Guide
    • Development Integration Guidelines
    • API Request Structure Definition
    • APIs Signature
    • Postman And SDK
    • APIs WebHook
    • Order Status
    • APIs Error Code List
    • PCI Compliance
    • Payment Process Explanation
  • Transaction APIs
    • North America
      • USA
        • Payment
        • Payout
      • Mexico
        • Payment
        • Payout
    • South America
      • Brazil
        • Payment
        • Payout
      • Colombia
        • Payment
        • Payout
      • Ecuador
        • Payment
        • Payout
      • Argentina
        • Payment
        • Payout
      • Peru
        • Payment
        • Payout
      • Chile
        • Payment
        • Payout
      • Venezuela
        • Payment
        • Payout
    • Asia
      • Indonesia
        • Payment
          POST
        • Payout
          POST
      • Philippines
        • Payment
        • Payout
      • Thailand
        • Payment
        • Payout
      • Malaysia
        • 收款
        • 出款
      • Bengal
        • Payment
        • Payout
      • India
        • Payment
        • Payout
      • Pakistan
        • Payment
        • Payout
    • Europe
      • Russia
        • Payment
        • Payout
    • Mid East
      • United Arab Emirates
        • Payment
        • Payout
      • Turkey
        • Payment
        • Payout
    • Africa
      • Kenya
        • Payment
        • Payout
      • Nigeria
        • Payment
        • Payout
      • South Africa
        • Payment
        • Payout
      • Tanzania
        • Payment
        • Payout
    • Global universal payment
      • Payment
      • Payout
  • Common APIs
    • Payout Voucher Query
      POST
    • Account Balance Query
      POST
    • Order Status Query
      POST
  • Payment of Video Case
    • Video Case
    • Payment method Logo
  • Dashboard Guide
    • Bind Google Authenticator 2FA
  • Schemas
    • Payment Common Request Body
    • Payment Common Response Body
    • Payout Common Request Body
    • Payout Common Response Body
  1. Indonesia

Payment

Developing
POST
/gateway/base/biz
Supported Payment Types and Payment Channels:
Payment TypePayment ChannelRemarkEnable
VIRTUAL_ACCOUNTBRIBank Rakyat Indonesia
BNIBank Negara Indonesia
MANDIRIBank Mandiri (Persero) Tbk
PERMATAPT Bank Permata Tbk
BSSBank sahabat sampoernaTemporarily not supported
BSIBank syariah indonesiaTemporarily not supported
CIMBPT Bank CIMB Niaga Tbk
BCABank Central Asia Tbk
BNCBank neo commerce
WALLETOVO
DANA
LINKAJA
SHOPEEPAY
QRISQRIS
Detailed Instructions for Using PaymentType and PaymentChannel:
If neither paymentType nor paymentChannel is provided, all aggregated payment methods will be returned.
If paymentType is provided but paymentChannel is not, all payment methods from all institutions under the corresponding payment category will be returned.
If paymentType is not provided but paymentChannel is provided, an error will be returned.
If both paymentType and paymentChannel are provided, the specific institution's payment methods under the corresponding category will be returned.

Request

Header Params

Body Params application/json

Example
{
    "mchOrderId": "string",
    "amount": "string",
    "firstname": "string",
    "currency": "string",
    "lastname": "string",
    "productinfo": "string",
    "email": "string",
    "phone": "string",
    "callbackUrl": "string",
    "redirectUrl": "string",
    "noPayPage": "string",
    "productTitle": "string",
    "paymentChannel": "string",
    "paymentType": "VIRTUAL_ACCOUNT",
    "paymentMethod": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/gateway/base/biz' \
--header 'method: pay' \
--header 'signType: SHA512' \
--header 'serviceName: api.pay' \
--header 'mchId: 1416010331032883200' \
--header 'timestamp: 1631671670' \
--header 'sign: 32554324534545432543' \
--header 'Content-Type: application/json' \
--data-raw '{
    "mchOrderId": "string",
    "amount": "string",
    "firstname": "string",
    "currency": "string",
    "lastname": "string",
    "productinfo": "string",
    "email": "string",
    "phone": "string",
    "callbackUrl": "string",
    "redirectUrl": "string",
    "noPayPage": "string",
    "productTitle": "string",
    "paymentChannel": "string",
    "paymentType": "VIRTUAL_ACCOUNT",
    "paymentMethod": "string"
}'

Responses

🟢200PAYMENT-CHECKOUT_URL-VIRTUAL_ACCOUNT-success
application/json
Body

Example
{
    "resultCode": "string",
    "errorCode": "string",
    "errorMsg": null,
    "data": [
        {
            "orderId": "string",
            "checkoutUrl": "string"
        }
    ]
}
🟢200PAYMENT-CHECKOUT_URL-WALLET-success
🟢200PAYMENT-CHECKOUT_URL-WALLET-QRIS-VICTURALACCOUNT
🟢200PAYMENT-CHECKOUT_URL-ALL
🟢200PAYMENT-API-WALLET-success
🟢200PAYMENT-API-QRIS-success
🟢200PAYMENT-API-VICTURALACCOUNT-success
Modified at 2025-12-05 12:56:10
Previous
Payout
Next
Payout
Built with