This Create Billing API service functions to make online bills. In this API the merchant will receive a payment link response.
Request parameters are parameters that must be provided by the merchant system to be integrated with the Faspay system.
Request Parameter Sample Request
Copy {
"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 parameters are parameters that will be sent by the Faspay system in response to parameter requests that have been sent by the merchant system.
Response Parameter Sample Response
Copy {
"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"
}