Post Data Transaction
URL Endpoint Post Data
The endpoint URL is a feedback URL that will process the data in the post from the merchant system. For the implementation of the testing, UAT can use URL development.
XML
Development
JSON
Development
Request Parameter
The parameter that must be provide by the Merchant system to be accessed by the Faspay system are as follows:
request
Alphanumeric (50)
M
Request Description
merchant_id
Numeric (5)
M
Merchant Code From Faspay = BOI
merchant
Alphanumeric (32)
M
Merchant Name
bill_no
Alphanumeric (32)
M
Order Number
bill_reff
Alphanumeric (32)
O
Booking Number/reference (can fill same with order no)
bill_date
Datetime YYYY-MM-DD HH:MM:SS (19)
M
Transaction/ Order Date
bill_expired
Datetime YYYY-MM-DD HH:MM:SS (19)
M
Payment Expiring Date (max 30 days)
bill_desc
Alphanumeric (128)
M
Transaction Description
bill_currency
Alphanumeric (3)
M
Currency, Must be 'IDR'
bill_gross
Numeric (15)
O
Order Nominal
bill_tax
Numeric (15)
O
Billing tax
bill_miscfee
Numeric (15)
O
Miscellaneous fee
bill_total
Numeric (15)
M
Total Nominal
cust_no
Alphanumeric (32)
M
Customer Number
cust_name
Alphanumeric (128)
M
Customer Name
cust_lastname
Alphanumeric (128)
O
Customer Last name
payment_channel
Numeric (3)
M
pay_type
Alphanumeric (1)
M
Payment type :
1: Full Settlement
2: Installment
3: Mixed 1 & 2
Pay Type 2 & 3 only implement on BCA KlikPay channel
bank_userid
Alphanumeric (128)
O
Customer User ID on bank’s services
msisdn
Numeric (64)
M
Customer Mobile Phone
Alphanumeric (128)
M
Customer Email
terminal
Numeric (16)
M
Always use 10 for Terminal
billing_name
Alphanumeric
C
Billing name for OVO
billing_lastname
Billing name
O
biling last name
billing_address
Alphanumeric (200)
O
Billing address
billing_address_city
Alphanumeric (50)
O
Billing City
billing_address_region
Alphanumeric (100)
O
Billing Addres Region
billing_address_state
Alphanumeric (100)
O
Billing Address State
billing_address_poscode
Alphanumeric (10)
O
Billing Address Pos Code
billing_msisdn
Numeric
C
Billing phone number
billing_address_country_code
Alphanumeric (10)
O
Billing Address Country Code
receiver_name_for_shipping
Alphanumeric (100)
C
Receiver Name
shipping_lastname
Alphanumeric
O
Receiver last name
shipping_address
Alphanumeric (200)
O
Shipping Address
shipping_address_city
Alphanumeric (50)
O
Shipping Address City
shipping_address_region
Alphanumeric (100)
O
Shipping Address Region
shipping_address_state
Alphanumeric (100)
O
Shipping Address State
shipping_address_poscode
Alphanumeric (10)
O
Shipping Address Pos Code
shipping_msisdn
Numeric
C
Shipping phone number
shipping_address_country_code
Alphanumeric (10)
O
Shipping Address Country Code
item
Array of Object
C
Item details
Notes:
Variable that contains in this parameter are customizeable, except Amount
This parameter is Mandatory for payment channel Akulaku, DanaSubs, Kredivo and BRICeria
product
Alphanumeric (50)
C
Item name
qty
Numeric (32)
C
Item quantity
amount
Numeric (15)
C
Item Price
tenor
Numeric (2)
C
Installment Tenor
00: Full Payment
03: 3 months
6 months
12: 12 months
Tenor 03,06,12 only use on BCA KlikPay channel
payment_plan
Numeric (1)
C
Payment plan
1: Full Settlement
2: Installement
merchant_id
Numeric (5)
C
Merchant Id From Payment Channel ex : MID from BCA KlikPay
reserve1
Alphanumeric (50)
O
reserve2
Alphanumeric (50)
C
route
Object
O
owner
Alphanumeric (32)
O
Registered partner id that owns/generates the transaction.
Notes:
1 transaction only can contain 1 owner.
If null, then the remaining transaction amount will belong to the merchant’s Sendme balance.
partner_id
Alphanumeric (32)
O
Merchant partner id number.
partner_amount
Numeric (15)
C
Disbursement amount to partner.
signature
Alphanumeric (100)
M
sha1(md5(user_id merchant + password merchant + bill_no))
$signature : sha1(md5(($user_id.$pass.$bill_no)));
Sample signature: sha1(md5("bot310001p@ssw0rd310001zx")) = e0ba1b2dc29ab4cb4221df092f44b1c4e6f45c63
Sample Request
Response Parameter
Response parameters are parameters that will be delivered by Faspay system in response to the request that have been sent by the merchant system. If no parameters appropriate/value are incorrect, the transaction will be rejected in the system Faspay.
response
Alphanumeric (50)
O
Response Name
trx_id
Numeric (16)
M
Transaction ID (Issued/generated by Faspay)
Notes: Unique Transaction ID for 1 day or if it hasn't been paid and hasn't expired
merchant_id
Numeric (5)
M
Merchant Code
merchant
Alphanumeric (32)
M
Merchant Name
bill_no
Alphanumeric (32)
M
Order No
external_id
Alphanumeric (16)
C
External id number
bill_item
Array of Object
C
Details item
Notes:
Variable that contains in this parameter are customizable, except Amount
This parameter is Mandatory for payment channel Akulaku, DanaSubs, Kredivo and BRICeria
product
Alphanumeric (50)
C
Item name
qty
Numeric (32)
C
Item quantity
amount
Numeric (15)
C
Item Price
tenor
Numeric (2)
C
Installment Tenor
00: Full Payment
03: 3 months
06: 6 months
12: 12 months
Tenor 03,06,12 only use on BCA KlikPay channel
payment_plan
Numeric (1)
C
Payment plan
1: Full Settlement
2: Installment
merchant_id
Numeric (5)
C
Merchant Id From Payment Channel
example: MID from BCA KlikPay
response_code
Numeric (2)
M
response_desc
Alphanumeric (32)
M
route
Object
O
owner
Alphanumeric (32)
O
Registered partner id that owns/generates the transaction.
Notes:
1 transaction only can contain 1 owner.
If null, then the remaining transaction amount will belong to the merchant’s Sendme balance.
partner_id
Alphanumeric (32)
O
Merchant partner id number.
partner_amount
Numeric (15)
C
Disbursement amount to partner.
redirect_url
Alphanumeric
O
The redirect URL for the next process, available only on JSON format
Sample Response
Last updated