API Reference (NEW)
GL - Global
  • ID - Indonesia
  • GL - Global
DashboardProduct Docs
Resources
  • Github
  • Demo Site
  • Simulator
DashboardProduct Docs
Resources
  • Github
  • Demo Site
  • Simulator
GL - Global
  • ID - Indonesia
  • GL - Global
  1. MAYBANK SNAP VA
  • Checkout
    • Initiate Payment
      POST
  • Direct API
    • Cards
      • Generate Payment Page
      • Online Refund
    • Bank Transfer
      • NON SNAP
        • Mandiri VA
          • Mandiri VA - Generate Payment Code
          • Mandiri VA - Update Payment Code
        • BCA VA
          • BCA VA - Generate Payment Code
          • BCA VA - Update Payment Code
        • Bank Syariah Indonesia VA
          • BSI VA - Generate Payment Code
          • BSI VA - Update Payment Code
        • DOKU VA
          • DOKU VA - Generate Payment Code
          • DOKU VA - Update Payment Code
        • Permata VA
          • Permata VA - Generate Payment Code
          • Permata VA - Update Payment Code
        • CIMB VA
          • CIMB VA - Generate Payment Code
          • CIMB VA - Update Payment Code
        • BNI VA
          • BNI VA - Generate Payment Code
      • SNAP
        • BNC SNAP VA
          • Step 1 - Init KJUR
          • Step 2 - Get Token
          • Step 3 - Create VA (DGPC)
        • BNI SNAP VA
          • Step 1 - Init KJUR
          • Step 2 - Get Token
          • Step 3 - Create VA (DGPC)
        • BRI SNAP VA
          • Step 1 - Init KJUR
          • Step 2 - Get Token
          • Step 3 - Create VA (DGPC)
        • BSI SNAP VA
          • Step 1 - Init KJUR
          • Step 2 - Get Token
          • Step 3 - Create VA (DGPC)
        • BTN SNAP VA
          • Step 1 - Init KJUR
          • Step 2 - Get Token
          • Step 3 - Create VA (DGPC)
        • DANAMON SNAP VA
          • Step 1 - Init KJUR
          • Step 2 - Get Token
          • Step 3 - Create VA (DGPC)
        • MANDIRI SNAP VA
          • Step 1 - Init KJUR
          • Step 2 - Get Token
          • Step 3 - Create VA (DGPC)
        • MAYBANK SNAP VA
          • Step 1 - Init KJUR
            GET
          • Step 2 - Get Token
            POST
          • Step 3 - Create VA (DGPC)
            POST
        • PERMATA SNAP VA
          • Step 1 - Init KJUR
          • Step 2 - Get Token
          • Step 3 - Create VA (DGPC)
        • SINARMAS SNAP VA
          • Step 1 - Init KJUR
          • Step 2 - Get Token
          • Step 3 - Create VA (DGPC)
        • CIMB SNAP VA
          • Step 1 - Init KJUR
          • Step 2 - Get Token
          • Step 3 - Create VA (DGPC)
    • Convenience Store
      • Alfa Group
        • Alfa - Generate Payment Code
        • Indomaret - Generate Payment Code Copy
    • e-Wallet
      • OVO
        • OVO - Payment
        • OVO - Void
      • Shopee Pay
        • Shopee Pay - Create Order
    • Direct Debit
      • BRI Direct Debit
        • Register Card - Create Token
        • Register Card - Validate OTP
        • Register Card - Resend OTP
        • Get Card List
        • Payment - Create Payment
        • Payment - Validate OTP
        • Payment - Resend OTP
        • Payment - Create Recurring Payment
        • Delete Card
      • OVO Snap Direct Debit
        • Get Token B2B
        • Account Binding
        • Get Token B2B2C
        • Balance Inquiry
        • Payment
        • Refund
        • Account Unbinding
      • CIMB Snap Direct Debit
        • Get Token B2B
        • Account Binding
        • Get Token B2B2C
        • Payment
        • Verify OTP Payment
        • Refund
        • Account Unbinding
        • Verify OTP Unbinding
      • ALLO Snap Direct Debit
        • Get Token B2B
        • Account Binding
        • Get Token B2B2C
        • Balance Inquiry
        • Payment
        • Refund
        • Account Unbinding
      • BRI Snap Direct Debit
        • Get Token B2B
        • Card Binding
        • Verify OTP Binding
        • Get Token B2B2C
        • Payment
        • Verify OTP Payment
        • Refund
        • Card Unbinding
      • Mandiri Snap Direct Debit
        • Get Token B2B
        • Card Binding
        • Request OTP Binding
        • Verify OTP Binding
        • Get Token B2B2C
        • Payment
        • Request OTP Payment
        • Verify OTP Payment
        • Cancel
        • Card Unbinding
      • Dana Snap Direct Debit
        • Get Token B2B
        • Payment
        • Refund
      • ShopeePay Snap Direct Debit
        • Get Token B2B
        • Payment
        • Refund
    • PayLater
      • Generate Order
      • Cancellation
      • Refund
    • Kartu Kredit Indonesia
      • Get Token B2B
      • Binding Only
      • Payment AFP with Binding
      • Payment AFP
      • Payment with token
      • Payment without AFP
      • Refund
      • Unbinding
  • Sub Account
    • Create Sub Account
      POST
    • Payouts
      POST
    • Transfers
      POST
    • Balance
      GET
  • Check Status
    • Check Payment
  1. MAYBANK SNAP VA

Step 3 - Create VA (DGPC)

POST
/bi-snap-va/maybank/v1/transfer-va/create-va
List of virtualAccountTrxType:
1 = C = Closed Payment
2 = O = Open Payment
3 = I = Partial
4 = M = Minimum - Only can be paid once with minimum amount
5 = L = Maximum
6 = N = Open Minimum - Can be paid multiple with minimum amount
7 = X = Open Maximum - Can be paid multiple with cumulative maximum amount
8 = V = Bill Variable
9 = W = Multi Bill Variable

Request

Header Params
X-PARTNER-ID
string 
required
Example:
{{x_client_key}}
X-EXTERNAL-ID
string 
required
Example:
{{x_external_id}}
X-TIMESTAMP
string 
required
Example:
{{x_timestamp}}
X-SIGNATURE
string 
required
Example:
{{x_signature}}
Authorization
string 
required
Example:
Bearer {{snap_access_token_merchant}}
CHANNEL-ID
string 
required
http://confluence.doku.com/display/GAT/SNAP+CHANNEL-ID+List
Example:
VA009
Body Params application/json
partnerServiceId
string 
required
trxId
string 
required
virtualAccountTrxType
string 
required
totalAmount
object 
required
value
string 
required
currency
string 
required
expiredDate
string 
required
virtualAccountName
string 
required
virtualAccountEmail
string 
required
virtualAccountPhone
string 
required
billDetails
array [object {8}] 
required
billCode
string 
optional
billNo
string 
optional
billName
string 
optional
billShortName
string 
optional
billDescription
object 
optional
billSubCompany
string 
optional
billAmount
object 
optional
additionalInfo
object 
optional
freeTexts
array [object {2}] 
required
english
string 
optional
indonesia
string 
optional
additionalInfo
object 
required
virtualAccountConfig
object 
required
deviceId
string 
required
channel
string 
required
Example
{
    "partnerServiceId": "{{partner_service_id}}",
    "trxId": "{{invoice_number}}",
    "virtualAccountTrxType": "1",
    "totalAmount": {
        "value": "12500.00",
        "currency": "IDR"
    },
    "expiredDate": "{{expired_date}}",
    "virtualAccountName": "Testing VA",
    "virtualAccountEmail": "testing@doku.com",
    "virtualAccountPhone": "6281200001111",
    "billDetails": [
        {
            "billCode": "01",
            "billNo": "123456789012345678",
            "billName": "Bill A for Jan",
            "billShortName": "Bill A",
            "billDescription": {
                "english": "Maintenance",
                "indonesia": "Pemeliharaan"
            },
            "billSubCompany": "00001",
            "billAmount": {
                "value": "20000.00",
                "currency": "IDR"
            },
            "additionalInfo": {}
        }
    ],
    "freeTexts": [
        {
            "english": "Free text",
            "indonesia": "Tulisan bebas"
        }
    ],
    "additionalInfo": {
        "virtualAccountConfig": {
            "reusableStatus": true
        },
        "deviceId": "12345679237",
        "channel": "mobilephone"
    }
}

Request 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 '/bi-snap-va/maybank/v1/transfer-va/create-va' \
--header 'X-PARTNER-ID: {{x_client_key}}' \
--header 'X-EXTERNAL-ID: {{x_external_id}}' \
--header 'X-TIMESTAMP: {{x_timestamp}}' \
--header 'X-SIGNATURE: {{x_signature}}' \
--header 'Authorization: Bearer {{snap_access_token_merchant}}' \
--header 'CHANNEL-ID: VA009' \
--header 'Content-Type: application/json' \
--data-raw '{
    "partnerServiceId": "{{partner_service_id}}",
    "trxId": "{{invoice_number}}",
    "virtualAccountTrxType": "1",
    "totalAmount": {
        "value": "12500.00",
        "currency": "IDR"
    },
    "expiredDate": "{{expired_date}}",
    "virtualAccountName": "Testing VA",
    "virtualAccountEmail": "testing@doku.com",
    "virtualAccountPhone": "6281200001111",
    "billDetails": [
        {
            "billCode": "01",
            "billNo": "123456789012345678",
            "billName": "Bill A for Jan",
            "billShortName": "Bill A",
            "billDescription": {
                "english": "Maintenance",
                "indonesia": "Pemeliharaan"
            },
            "billSubCompany": "00001",
            "billAmount": {
                "value": "20000.00",
                "currency": "IDR"
            },
            "additionalInfo": {}
        }
    ],
    "freeTexts": [
        {
            "english": "Free text",
            "indonesia": "Tulisan bebas"
        }
    ],
    "additionalInfo": {
        "virtualAccountConfig": {
            "reusableStatus": true
        },
        "deviceId": "12345679237",
        "channel": "mobilephone"
    }
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-07-10 04:19:31
Previous
Step 2 - Get Token
Next
Step 1 - Init KJUR
Built with