Post Data Transaction

This process is used to transmit transaction data from a merchant to Faspay. This process is done when the merchant requests get a response from Faspay.

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.

Type
Environment
URL

XML

Development

JSON

Development

Request Parameter Post Data Transaction

Request parameters are parameters that the merchant system must provide to post the data with system integration Faspay.

Parameter
Data Type
M/O/C
Description

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_miscfee

Numeric (15)

O

Miscellaneous fee

bill_total

Numeric (15)

M

Total Nominal

payment_channel

Numeric (32)

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

cust_no

Alphanumeric (32)

M

Customer Number

cust_name

Alphanumeric (128)

M

Customer Name

bank_user_id

Alphanumeric (128)

O

Customer User ID on bank’s services (ex : KlikBCA User Id)

msisdn

Numeric (64)

M

Customer Mobile Phone

email

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_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_address_country_code

Alphanumeric (10)

O

Shipping Address Country Code

shipping_msisdn

Numeric

C

Shipping phone number

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)

M

Item Name

amount

Numeric

M

Item Price

qty

Numeric (32)

M

Item Quantity

payment_plan

Numeric (1)

M

Payment plan

1: Full Settlement

2: Installement

tenor

Numeric (2)

M

Installment Tenor

00: Full Payment

03: 3 months

06: 6 months

12: 12 months

Tenor 03,06,12 only use on BCA KlikPay channel

merchant_id

Numeric (5)

M

Merchant Id From Payment Channel ex : MID from BCA KlikPay

reserve1

Alphanumeric (50)

O

reserve2

Alphanumeric (50)

C

signature

Alphanumeric (100)

M

sha1(md5(user_id merchant + password merchant + bill_no))

  • Writing without separators. Example: Rp. 10.000,00 Written 1000000

  • Signature for Post Data :

    $signature = sha1(md5(($user_id.$pass.$bill_no))); Sample signature: sha1(md5("bot310001p@ssw0rd310001zx")) = e0ba1b2dc29ab4cb4221df092f44b1c4e6f45c63

Response Parameter Post Data Transaction

Parameter
Data Type
M/O/C
Description

response

Alphanumeric (50)

O

Response Name

trx_id

Numeric (16)

M

Transaction ID (Issued/generated by Faspay (Media Indonusa)) Notes: Unique Transaction ID for 1 day or as long as 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

response_code

Numeric (2)

M

Response Code 00 Success

response_desc

Alphanumeric (32)

M

Response Code Description

redirect_url

Alphanumeric

O

the redirect url for the next process, available only on JSON format

Last updated