{
"va_number": "1234567890",
"invoice_number": "INV01/TRX000001",
"channel": "muamalat",
"prefix": "009902",
"name": "SPP Jan 22",
"total_amount": 0,
"institution_code": "string",
"type": "close",
"valid_until": "2022-04-04T11:46:56+07:00",
"components": [
{
"name": "string",
"qty": 0,
"price": 0,
"total": 0
}
],
"customer_name": "string",
"customer_email": "string",
"customer_phone": "string",
"customer_address": "string",
"description": "string",
"ext_description": "string"
}
curl --location --request POST '/api/v2/gw/bill' \
--header 'Accept;' \
--header 'Authorization;' \
--header 'Signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"va_number": "1234567890",
"invoice_number": "INV01/TRX000001",
"channel": "muamalat",
"prefix": "009902",
"name": "SPP Jan 22",
"total_amount": 0,
"institution_code": "string",
"type": "close",
"valid_until": "2022-04-04T11:46:56+07:00",
"components": [
{
"name": "string",
"qty": 0,
"price": 0,
"total": 0
}
],
"customer_name": "string",
"customer_email": "string",
"customer_phone": "string",
"customer_address": "string",
"description": "string",
"ext_description": "string"
}'
{
"rc": "SUCCESS",
"message": "success",
"timestamp": "2022-04-04T11:46:56+07:00",
"data": {
"hash": "x24da1dF",
"va_number": "8673011234567890",
"type": "close",
"name": "SPP Bulan Januari",
"customer_name": "John Doe",
"customer_email": "john.doe@example.com",
"customer_phone": "+621234567890",
"customer_address": "Surabaya, Indonesia",
"total_amount": 100000,
"billed_amount": 100000,
"description": "Pembayaran SPP Bulan Januari",
"ext_description": "-",
"status": "active",
"created_at": "2022-04-04T11:46:56+07:00",
"components": [
{
"id": "95f5c77f-79de-4c12-a151-ef7c68e9b7d2",
"name": "SPP Januari",
"qty": "1",
"price": "100000",
"total": "100000"
}
]
}
}