# Data Model - BCA EDC

  • The following is the list of data model that used on BCA EDC API:

# Money

The following table is data of Money data model:

No Name Type Length Required Condition Remarks
1 value String Variable, 19 max Mandatory - Value of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00
2 currency String Variable, 3 max Mandatory - Currency

# AdditionalInfo

Name Type Required Remarks
channelCode string Mandatory Channel Code
notifyUrl string Mandatory Notify Url
remark string Mandatory Transaction Remark
instituteWayCode string Mandatory Institute Code
rewardFlag string Optional Use credit card points
originalDate string Conditional Origin Transaction date
originalRRn string Conditional Origin Transaction RRN
originalPartnerReferenceNo string Conditional Origin Transaction No

# EDCAdditionalInfoCARD

Name Type Required Remarks
channelCode string Mandatory Channel Code
notifyUrl string Mandatory Notify Url
remark string Mandatory Transaction Remark
instituteWayCode string Mandatory Institute Code
batchNumber string Mandatory Batch transaction.
traceNo string Mandatory Number for tracking to destination bank
referenceNo string Mandatory Reference number transaction.
approvalCode string Mandatory When an input is made and the EDC prints thereceipt but the status is still pending, the hostchanges the status to successful and replies to the merchant.
IssuerId string Mandatory Issuer ID.
cardType string Mandatory Type of Card.
cardHolderName string Mandatory Cardholder Name on Card Number.

# EDCAdditionalInfoQRIS

Name Type Required Remarks
channelCode string Mandatory Channel Code
notifyUrl string Mandatory Notify Url
remark string Mandatory Transaction Remark
instituteWayCode string Mandatory Institute Code
batchNumber string Mandatory Batch transaction.
referenceNo string Mandatory Reference number transaction
rrn string Mandatory QRIS ref number obtained from the issuer at BCA's host.
traceNo string Mandatory Number for tracking to destionation bank.
approvalCode string Mandatory When an input is made and the EDC prints thereceipt but the status is still pending, the hostchanges the status to successful and replies to the merchant.
IssuerId string Mandatory Issuer ID.
issuerName string Mandatory Issuer Name.
customerPan string Mandatory Buyer card number (customer_pan), will beused to calculate transaction limit. Mandatory ifpayment requires limit validation (i.e. payment from mBCA).
merchantPan string Mandatory Merchant Number. example:9360001413243523431
personalNumber string Mandatory Will be filled if BCA's host receive buyer phonenumber.Format: first 4 digits and last 2 digits are notmasked, else masked
cardholderName string Mandatory Cardholder Name on Card Number