Faspay
  • Homepage
  • Getting Started
    • Faspay Business
      • Debit Transaction
        • Features
          • Static Transaction
            • Virtual Account Static
          • UNIcount
      • Credit Card Transaction
        • Recurring Payment
    • Faspay Billing
      • Introduction
      • Feature
      • How To Use
        • Getting Started
        • Dashboard
        • Recipient
          • List Recipient
          • Recipient Group
          • Recurrence Status
        • Scheduled Status
        • Invoice
        • Report
        • Create Billing System
          • Single Billing
          • Mass Billing
        • Billing Setting
          • Reminder Setting
          • Template Setting
          • Invoice Status
    • Faspay Billing 2.0
      • How to Use
        • Getting Started
        • Billings
          • Billings List
            • Detail Billing
            • Upload Document
          • Scheduled Billing
          • Recurring Billing
          • Static VA Generator
            • Static VA Close Generator
            • Static VA Open Generator
            • Static VA List
            • Payment History
            • Excel File Template
        • Customers
          • Customer List
          • Customer Group
        • Reports
          • Invoice Issued
          • Payment History
          • Summary Outstanding
          • Detail Outstanding
          • Invoice Aging Report
          • Invoice Paid Report
          • Export Report
        • Items
          • Product Catalogs
          • Rooms
          • Product Category
          • UoM (Unit of Measurement)
        • E-Faktur
          • E-Faktur Range Number
            • Generate E-Faktur Number
            • Cancelation E-Faktur Number
          • Export CSV
          • E-Faktur Files
          • Setting Threshold E-Faktur
        • QR Business Profile
          • Create Business Profile
          • Business Profile List
          • Access Business Profile Page
          • Transaction History on Business Profile
            • Lite Sales App
        • Billing Settings
    • Faspay Xpress
      • Faspay Xpress 4.0
        • Setting Language
        • Payment Method
        • Quick Payment Guide
        • Send your Order Details and Payment Instructions
        • Payment Status
        • Payment Receipt
        • Rating Payment
      • Setting Xpress
    • Faspay SendMe
      • Introduction
      • Credentials
      • List Of Service API
      • Authentication
        • Header
        • Authorization
        • Signature
          • Generate signature token
          • Generate signature other service
          • HTTP Method
          • Relative URL
        • Request Body
        • Access Token
      • Cash Out
        • Alfamart Cash Out
        • Indomaret Cash Out
      • E-Wallet
    • SNAP
      • SNAP Direct Debit
      • SNAP QRIS
      • SNAP Virtual Account
      • SNAP Disbursement
  • Merchant Integration
    • API Reference
      • Debit
        • Payment Channel Inquiry
        • Post Data Transaction
        • Redirect Process
        • Inquiry Payment Status
        • Cancel Transaction
        • Payment Notification
        • URL Callback/Return URL
        • Reference
          • Status Response Code
          • Payment Channel Code
        • Bank Transfer Integration Guide
        • Internet Banking integration Guide
        • Retail Payment Integration Guide
        • Online Debit Integration Guide
          • B-secure
          • BRI Direct Debit
        • Online Credit Integration Guide
          • Status Response Code
        • e-Money Integration Guide
          • LinkAja Integration Guide
          • LinkAja QRIS Integration Guide
          • LinkAja AppLink Integration Guide
          • DANA Integration Guide
          • Sakuku Integration Guide
          • OVO Integration Guide
          • ShopeePay Jump App Integration Guide
          • ShopeePay QRIS Integration Guide
          • OVO Tokenize Integration Guide
          • DANA Subs Integration Guide
          • Paydia QRIS Integration Guide
        • Features
          • Static Transaction Integration
            • BNI VA Static Integration
            • BNC VA Static Integration
          • Unicount
        • Postman Collection
      • Credit Card
        • Payment Integration API
        • Additional API Integration
          • Inquiry Payment Status
          • Capture Transaction
          • Transaction Void
          • Refund Transaction
          • Signature Transaction
            • Generate Signature Request
            • Genarete signature response
          • Server CallBack / URL Notification Credit Card
          • API Tokenization
            • Payment Window Integration API
            • Payment Direct API
            • Advance Functionality API Tokenization
              • Inquiry Detail Token
              • Inquiry Delete Token
              • Inquiry Last Token (Dynamic Token Only)
        • Recurring Payment API
          • Message Flow Transaction
            • Post Transaction
            • Update Card
          • JSON Message Format
            • Update Member
            • Inquiry Status
            • Payment Notification
            • Notification CC Expired
          • Status Response Code
        • Response Transaction
          • Response Success
          • Response Failed
          • Response Code Error Transaction
          • User Notification Screen
        • Reference
          • Faspay e-Payment Error Code Listing - CC
          • Transaction Status - CC
          • End User Indicator (EUI)
          • Categories of User Code and User Message - CC
          • ECI
      • Xpress
        • Xpress Version 4🆕
      • Faspay Billing API
        • Create Billing
        • Inquiry Billing
        • Cancel Billing
        • Get List Invoice
        • Callback
      • SendMe
        • Register Account
        • Confirmation Register Account
        • Transfer
        • Inquiry Name
        • Inquiry Balance
        • Mutasi
        • Inquiry Status
        • Notification / Callback
        • Error Code And Response Code
        • APPENDIX
        • Cash Out
          • ATM Permata Cash Out
          • Alfamart Cash Out
          • Indomaret Cash Out
        • E-Wallet (Top Up)
          • Inquiry Name
          • Transfer (Top Up)
      • SNAP
        • Signature SNAP
        • SNAP Virtual Account
        • SNAP Direct Debit
        • SNAP QRIS
        • SNAP Disbursement
          • Response Code
      • Route Payment
        • Post Data Transaction
        • SNAP Generate QRIS
        • SNAP Create Virtual Account
        • SNAP Direct Debit
        • Inquiry Static VA
        • SNAP Inquiry Static VA
        • Response Code
    • E-Commerce Plugin
      • Woocommerce
      • Ecwid
  • SDK Integration
    • SendMe SDK
      • Integration with Java SDK
      • Integrate with PHP SDK
      • Integrate with Python SDK
  • BEFORE LIVE
    • Whitelist IP
    • Account Testing
    • Sample Code
  • AFTER LIVE
  • Merchant page Reference
    • Change Password
    • Dashboard
    • Transactions
      • Debit
      • Credit
      • Settlement
      • Notification
    • Settings Profile
    • Faspay Business
      • Credential Settings
      • Report Settings
        • Daily Report Settings
        • Daily Report
        • Resend Daily Report
      • Developer Settings
      • Route Payment
        • Transaction Report
        • History
    • Faspay SendMe
      • Google Authenticator Pairing
      • Disbursement Account
      • Withdrawal
      • Withdraw History
      • Single Transfer
      • Mass Transfer
        • Upload File
        • Validation
        • Mass Transfer
      • Transaction History
      • Paycheck
      • Top Up
      • Credential Settings
      • Report Settings
        • Daily Report
        • Daily Report Setting
        • Resend Daily Report
Powered by GitBook
On this page
  • Request Create Billing
  • Response Create Billing
  1. Merchant Integration
  2. API Reference
  3. Faspay Billing API

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

{ 
    "service_id" : "1"
    "transaction_number" : "145398922822777",
    "billing_total" : "10000",
    "billing_date" : "2020-11-30 10:50:00",
    "billing_due_date" : "2020-12-20 10:50:00",
    "billing_notes" : "Food Bill",
        "items" : [
                {
                    "item_name": "Chicken",
                    "qty": "2",
                    "item_amount": "2500"
                },
                {
                    "item_name": "Duck",
                    "qty": "1",
                    "item_amount": "5000"
                }
                ],
    "billing_language" : "ID",
    "customer_name" : "John Doe",
    "customer_email" : "john@gmail.com",
    "customer_phone" : "087884398009",
    "customer_address" : "Jalan pintu air",
    "signature" : "3b15aa993c3ff270ab718f4fcf66046f24c2591b",
    "static_va_no" : "8985991234567891"
}

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

{
    "response_code": "00",
    "response_message": "Success Create Billing",
    "billing_id": 1051,
    "transaction_number": "145398922822777",
    "billing_total": 10000,
    "billing_url": "https://s.faspay.co.id/gl"
}
PreviousFaspay Billing APINextInquiry Billing

Last updated 11 months ago

https://fasbill-sandbox.faspay.co.id/billingbackendapi/web/api/create