Sub Account V2
Smart Controls for Account and Funds Visibility
Overview
Integration Guides
1. Register Sub Account
Default
Standard
Partner
Body
objectOptional
Responses
200
OK
application/json
responseCodestringOptionalExample:
2000600responseMessagestringOptionalExample:
Request has been processed successfullyprofileIdstringOptionalExample:
SAC-001-00001400
Bad request.
500
Internal server error.
post
/sac/h2h/v1.0/sub-account/register2. Accept Payment
3. Transfer Funds
a. Transfer Inquiry
Body
typestring · enum · max: 20RequiredExample:
type of transfer inquiry
BANK_ACCOUNTPossible values: methodstring · enum · max: 22RequiredExample:
optional field, and the default value is ONLINE
ONLINEPossible values: sourceAccountNostring · max: 22RequiredExample:
the doku BMS account number
1234567890beneficiaryBankCodestring · max: 16RequiredExample:
beneficiary Bank Code
123beneficiaryAccountNumberstring · max: 22OptionalExample:
destination account
18520102416246remarkstring · max: 256OptionalExample:
transfer remarks length should be same with BMSResponses
200
OK
application/json
responseCodestring · max: 7OptionalExample:
2004200responseMessagestring · max: 128OptionalExample:
Request has been processed successfullyreferenceNostring · max: 64OptionalExample:
45af25e8c4dd5c1634e967a2ebfff3a4043e7fd6partnerReferenceNostring · max: 64OptionalExample:
3f97a11c4476420897f2224de1ccea73typestring · max: 20OptionalExample:
BANK_ACCOUNTmethodstring · max: 22OptionalExample:
ONLINEbeneficiaryAccountNumberstring · max: 10OptionalExample:
18520102416246beneficiaryAccountNamestring · max: 256OptionalExample:
BAGUS SAMPURNAbeneficiaryBankCodestring · max: 16OptionalExample:
beneficiary Bank Code
123400
Bad request.
500
Internal server error.
post
/sac/h2h/v1.0/transaction/transfer-inquiryb. Transfer Payment
Body
typestring · enum · max: 20RequiredExample:
type of transfer payment
BANK_ACCOUNTPossible values: methodstring · enum · max: 22RequiredExample:
optional field, and the default value is ONLINE
ONLINEPossible values: sourceAccountNostring · max: 22RequiredExample:
the doku BMS account number
1234567890beneficiaryBankCodestring · max: 16RequiredExample:
beneficiary Bank Code
123beneficiaryAccountNumberstring · max: 22OptionalExample:
destination account
18520102416246beneficiaryAccountNamestring · max: 256OptionalExample:
destination account
BAGUS SAMPURNAResponses
200
OK
application/json
responseCodestring · max: 7OptionalExample:
2004300responseMessagestring · max: 256OptionalExample:
Request has been processed successfullyreferenceNostring · max: 64OptionalExample:
45af25e8c4dd5c1634e967a2ebfff3a4043e7fd6partnerReferenceNostring · max: 64OptionalExample:
3f97a11c4476420897f2224de1ccea73typestring · max: 20OptionalExample:
BANK_ACCOUNTmethodstring · max: 22OptionalExample:
ONLINEtransactionDatestring · max: 25OptionalExample:
UTC dateTime
2022-11-23T18:39:41+07:00beneficiaryBankCodestring · max: 16OptionalExample:
beneficiary Bank Code
123beneficiaryAccountNumberstring · max: 10OptionalExample:
18520102416246beneficiaryAccountNamestring · max: 22OptionalExample:
BAGUS SAMPURNAreferenceNumberstringOptionalExample:
e73771a15652c5aace3f05d0feaa8cb82b40e5cdsourceAccountNostring · max: 22OptionalExample:
1234567890400
Bad request.
500
Internal server error.
post
/sac/h2h/v1.0/transaction/transfer-payment4. Check Status
Body
objectOptional
Responses
200
OK
application/json
responseCodestring · max: 7OptionalExample:
2005300responseMessagestring · max: 128OptionalExample:
Request has been processed successfullypartnerReferenceNostring · max: 64OptionalExample:
2020102900000000000001latestTransactionStatusstring · max: 2OptionalExample:
00transactionStatusDescstring · max: 32OptionalExample:
successtransactionDatestring · max: 25OptionalExample:
UTC dateTime
2019-07-03T12:08:56+07:00400
Bad request.
500
Internal server error.
post
/sac/h2h/v1.0/transaction/check-status5. Inquiry Balance
Body
profileIdstring · max: 22RequiredExample:
SAC-001-00001accountsstring[]RequiredExample:
1234567890Responses
200
OK
application/json
responseCodestring · max: 7OptionalExample:
2001100responseMessagestring · max: 128OptionalExample:
Request has been processed successfullyreferenceNostring · max: 64OptionalExample:
2020102977770000000009namestring · max: 128OptionalExample:
JONOMADEcustomerIdstring · max: 64OptionalExample:
mchCustomerIdprofileIdstring · max: 128OptionalExample:
SAC-001-00001400
Bad request.
500
Internal server error.
post
/sac/h2h/v1.0/account/balance-inquiries6. Account Mutation
Body
accountNostring · max: 10RequiredExample:
the doku BMS account number
1234567890fromDateTimestring · max: 25RequiredExample:
UTC dateTime
2019-07-03T12:08:56ZtoDateTimestring · max: 25RequiredExample:
UTC dateTime
2019-07-03T12:08:56ZpageSizestring · max: 3RequiredExample:
10pageNumberstring · max: 3RequiredExample:
2Responses
200
OK
application/json
responseCodestring · max: 7OptionalExample:
2001200responseMessagestring · max: 128OptionalExample:
Request has been processed successfullyreferenceNostring · max: 64OptionalExample:
2020102977770000000009partnerReferenceNostring · max: 64OptionalExample:
2020102900000000000001400
Bad request.
500
Internal server error.
post
/sac/h2h/v1.0/account/account-mutation-listLast updated