Create Billing

This Create Billing API service functions to make online bills. In this API the merchant will receive a payment link response.

Method : POST

Format : JSON

Environment
URL Endpoint

Development

Request Create Billing

Request parameters are parameters that must be provided by the merchant system to be integrated with the Faspay system.

Parameter
Data Type
M/O/C
Description

service_id

Numeric

M

Unique code registered on the Faspay Billing service

transaction_number

Numeric

M

Merchant invoice number

billing_total

Numeric

M

Billing Total

billing_date

Datetime (YYYY-MM-DD hh:mm:ss)

O

Date the bill was made

Default : Current time

billing_due_date

Datetime (YYYY-MM-DD hh:mm:ss)

O

Bill due date

Default: 24 hours from the date the invoice was created

billing_notes

Alphanumeric

O

The bill description and note will appear on the billing email

items

Object

O

List of the item (name,qty,amount)

billing_language

Alphanumeric

O

Language for bill :

• EN (Default)

• ID

customer_name

Alphanumeric

M

Customer name

customer_email

Alphanumeric

M

Customer email

customer_phone

Numeric

M

Customer phone number

customer_address

Alfanumeric

O

Customer address

signature

Alphanumeric

M

Merchant’s signature SHA1(MD5(username merchant + password merchant+transaction_number))

static_va_no

Numeric

O

VA static number for billing using static VA

Response Create Billing

Response parameters are parameters that will be sent by the Faspay system in response to parameter requests that have been sent by the merchant system.

Parameter
Data Type
M/O/C
Description

response_code

Numeric

M

Response code

00 : Success

01 : Failed

response_message

Alphanumeric

M

Message from the response code

billing_id

Numeric

M

Billing number generated by Faspay

transaction_number

Numeric

M

Merchant invoice number

billing_total

Numeric

M

Billing total

billing_url

Alphanumeric

M

Bill payment link

Last updated