Run in Apifox
Supported Payment Types and Payment Channels: Payment Type Payment Channel Remark Enable VIRTUAL_ACCOUNT BRI Bank Rakyat Indonesia BNI Bank Negara Indonesia MANDIRI Bank Mandiri (Persero) Tbk PERMATA PT Bank Permata Tbk BSS Bank sahabat sampoerna Temporarily not supported BSI Bank syariah indonesia Temporarily not supported CIMB PT Bank CIMB Niaga Tbk BCA Bank Central Asia Tbk BNC Bank neo commerce WALLET OVO DANA LINKAJA SHOPEEPAY QRIS QRIS
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 Body Params application/json
{
"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
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 application/json Generate Code
{
"resultCode" : "string" ,
"errorCode" : "string" ,
"errorMsg" : null ,
"data" : [
{
"orderId" : "string" ,
"checkoutUrl" : "string"
}
]
}
Modified at 2025-12-05 12:56:10