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

Request Create Billing

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

ParameterData TypeM/O/CDescription

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

Alfanumeric

O

The bill description and note will appear on the billing email

items

Object

O

List of the item (name,qty,amount)

billing_language

Alfanumeric

O

Language for bill :

• EN (Default)

• ID

customer_name

Alfanumeric

M

Customer name

customer_email

Alfanumeric

M

Customer email

customer_phone

Numeric

M

Customer phone number

customer_address

Alfanumeric

O

Customer address

signature

Alfanumeric

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.

ParameterData TypeM/O/CDescription

response_code

Numeric

M

Response code

00 : Success

01 : Failed

response_message

Alfanumeric

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

Alfanumeric

M

Bill payment link

Last updated