Static Transaction Integration

Integration Step

  1. Inquiry Transaction

  2. Inquiry Payment

  3. Payment Notification

1. Inquiry Transaction

Inquiry Transaction

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

Query Parameters

NameTypeDescription

VA

string

Virutual Account Number

Signature

string

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

type

string

type = inquiry

*XML Response
<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>

*JSON Response
{
   "response": "VA Static Response",
   "va_number": "8641162021000007",
   "amount": "10000",
   "cust_name": "suyanto",
   "response_code": "00"
}

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

Response Parameter Inquiry Transaction

ParameterData TypeM/O/CDescription

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

2. Inquiry Payment

Inquiry Payment

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

Query Parameters

NameTypeDescription

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

*XML Response
<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>

*JSON Reponse
{
  "response": "VA Static Response",
  "va_number": "8641162021000007",
  "amount": "10000",
  "cust_name": "suyanto",
  "response_code": "00",
}

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

Response Parameter Inquiry Payment

ParameterData TypeM/O/CDescription

response

Alfanumeric (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

3. Payment Notification

For payment notification proccess will use the same API like faspay debit, see the detail at payment notification reference

Last updated