API Documentation
  1. Payin
API Documentation
  • API Documentation Change Log
  • API Reference Guide
    • Checkout Page
    • Payin - KRW (Server to Server)
    • Purpose Code
    • Payout Payload Example
    • List of Payin Methods
    • List of Bank for Payout Methods
  • API Documentation
    • Master Data
      • Get All Country & Currency Code
    • Payout Method
      • Get All Payout Method
    • Payin Method
      • Get All Payin Method
      • Get Required Fields by Payin method
    • Payin
      • Create Payin
        POST
      • Simulate Payin
        PATCH
      • Retrieve Payin
        GET
      • Create Virtual Account
        POST
      • Simulate Create VA
        POST
    • Payout
      • Create Payout
      • Simulate Payout
      • Retrieve Payout
      • Get All Payout
    • Checkout
      • Create Payment Request
      • Get All Checkout
      • Get Detail Checkout
      • Create Virtual Account [KRW]
      • Get VA Bank Information [KRW]
      • Create New Checkout
    • Webhook
      • Webhook PAYIN SUCCESS
      • Webhook PAYIN FAILED
      • Webhook PAYIN EXPIRED
      • Webhook PAYOUT SUCCESS
      • Webhook PAYOUT FAILED
      • VA Register Callback
    • Merchant
      • Get Balance Payout
    • Get List Payment Method by Currency
      GET
  • Features Documentation
    • Dashboard
    • Transaction
      • Payin
      • Payout
      • Rolling Reserve
      • Refund Request
    • Finance
      • Settlement Report APM
      • Settlement Report CARD
      • History Balance APM
      • History Balance CARD
    • Account
      • Profile Account
      • Manage Users
    • Setting
      • Integration Details
  1. Payin

Create Virtual Account

POST
/api/v1/payin/create-va
This API is used to create a Virtual Account before initiating a Payin using KRW currency. A Payin is the primary method for collecting funds from customers. In this API, you need to provide a valid bank account when working in the production environment. You can refer to this page for the KRW Payin flow Payin - KRW (Server to Server).
Each POST/PATCH Request requires a Signature in the header, you can follow the following code to create the Signature:
const crypto = require('crypto');
const signature = crypto.createHmac('sha256', signatureKey) .update(JSON.stringify(data)).digest('hex');

Request

Header Params

Body Params application/json

Example
{
    "customer_full_name": "Fajar P",
    "payin_method_name": "KDB산업은행",
    "account_number": "112233445",
    "account_holder_name": "Fajar P",
    "currency": "KRW",
    "amount": 202,
    "country": "South Korea",
    "user_yymmdd": "270817"
}

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 'https://api.paycombat.com/api/v1/payin/create-va' \
--header 'X-token: snd_eyJpdiI6IlNWL3c4Smhadko4dFg5azdldVN5ZXc9PSIsInZhbHVlIjoiVVlLaWxPS3ZXT3huNzJRdm00TmtOMmx2MEpocDlLdFRtcjRtWjRmdUdxK1FoQ243KzhTVkFqalFnMUNGRW5YVyIsIm1hYyI6ImUzZmRjOWFmOGE5NjdkOGNjYTJkZTkzMmJlMmI1YmZlNTIxOWFhNzA0NDM1NWYwNmVhNjg2ZjIzNmJkZmMwMTAiLCJ0YWciOiIifQ==' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer_full_name": "Fajar P",
    "payin_method_name": "KDB산업은행",
    "account_number": "112233445",
    "account_holder_name": "Fajar P",
    "currency": "KRW",
    "amount": 202,
    "country": "South Korea",
    "user_yymmdd": "270817"
}'

Responses

🟢200Success
application/json
Body

Example
{
  "status": true,
  "message": "OK",
  "data": {
    "id": "c2fe7846-494f-4852-8ca2-a72499d0002e",
    "merchant_id": "5dc46f8a-4924-4392-967b-81652396a175",
    "user_name": "JOHN DOE",
    "user_yymmdd": "270817",
    "account_bankname": "KRW_BANK_NAME",
    "account_number": "112233445",
    "account_holder": "JOHN DOE",
    "status": "PENDING",
    "created_at": "2025-03-06T05:45:22.000Z",
    "updated_at": "2025-03-06T05:45:22.000Z",
    "deleted_at": null,
    "additional_info": null
  }
}
🟠400Bad Request
Modified at 2025-09-16 01:24:04
Previous
Retrieve Payin
Next
Simulate Create VA