For the complete documentation index, see llms.txt. This page is also available as Markdown.

Static Transaction Integration

Integration Step

  1. Inquiry Transaction

  2. Inquiry Payment

  3. Payment Notification

Inquiry Transaction

GET https://url_merchant/va_static/signature?type=inquiry

Query Parameters

Name
Data Type
Description

VA

String

Virtual Account Number

Signature

String

sha1(md5($user_id.$password.$va_number));

type

String

type = inquiry

{
   "response": "VA Static Response",
   "va_number": "8641162021000007",
   "amount": "10000",
   "cust_name": "suyanto",
   "response_code": "00"
}
<faspay>
<response>VA Static Response</response>
<va_number>8641162021000007</va_number>
<amount>10000</amount>
<cust_name>suyanto</cust_name>
<response_code>00</response_code>
</faspay>

Example: https://url_merchant/8641162021000007/d5f91b5fe05f6d2b186c78356b96af355db410ad?type=inquiry

Response Parameter Inquiry Transaction

Parameter
Data Type
M/O/C
Description

response

Alphanumeric (50)

Mandatory

VA Static Response

va_number

Numeric (16)

Mandatory

Virtual Account Number

amount

Numeric

Mandatory

Amount

cust_name

Alphanumeric (50)

Mandatory

Nomor ID Customer

response_code

Char (2)

Mandatory

00 = Success 01 = Failed

Inquiry Payment

GET https://url-merchant/va_static/signature?type=payment&trx_uid=&amount=

Query Parameters

Name
Data Type
Description

VA number

String

Virtual Account Number

Signature

String

sha1(md5($user_id.$password.$va_number));

type

String

type = payment

trx_uid

String

Unix transaction number on Faspay

Amount

Number

Amount transaction

Example: https://merchant.com/8641162021000007/d5f91b5fe05f6d2b186c78356b96af355db410ad?type=payment&trx_uid=8985313800001073&amount=10000

Response Parameter Inquiry Payment

Parameter
Data Type
M/O/C
Description

response

Alphanumeric (50)

Mandatory

VA Static Response

va_number

Numeric (16)

Mandatory

Virtual Account Number

amount

Numeric

Mandatory

Amount

cust_name

Alphanumeric (50)

Mandatory

Request Description

response_code

Char (2)

Mandatory

00 = Success 01 = Failed

Payment Notification

For payment notification process will use the same API as Faspay debit, see the details in payment notification reference

Last updated