Islamic Payment Gateway
  1. Bill
Islamic Payment Gateway
  • Passive Client API
    • Inquiry
      POST
    • Payment
      POST
    • Reversal
      POST
    • Check Status
      POST
  • Active Client API
    • Bill
      • Create New Bill
        POST
      • Get Bill List
        GET
      • Get Bill Information
        GET
      • Revoke Bill
        DELETE
      • Get Bill Payments
        GET
      • Fake/Mock Payment & Reversal
        GET
    • Payment
      • Get Payment List
    • Account
      • Get Account Mutations
    • Institution
      • Institution Account List
      • Institution List
      • Institution Detail
    • Webhook
      • Webhook Call
  • Payment Channel API
    • Inquiry
      POST
    • Payment
      POST
    • Reversal
      POST
  • Authentication
    • OAuth 2.0
      POST
    • Signature
      VIEW
  1. Bill

Fake/Mock Payment & Reversal

GET
/api/v2/gw/bill/{bill-hash}/fake
Bill
To be able to test your webhook, you may need this process to fake payment and/or reversal from bill.
This will send the webhook/callback to your registered webhook_url with the necessary payload.
INFO: This endpoint only available in Sandbox Mode

Request

Path Params
bill-hash
string 
required
Query Params
type
string 
required
fake process, allowed values is payment or reversal
Header Params
Accept
string 
required
Accept application/json
Authorization
string 
required
Bearer token
Signature
string 
required
request body or query string hash value using HMAC method. algorithm=sha256, key = API_KEY

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v2/gw/bill//fake?type=' \
--header 'Accept;' \
--header 'Authorization;' \
--header 'Signature;'

Responses

🟢200OK
application/json
Body
rc
string 
optional
message
string 
optional
timestamp
string 
optional
data
array[string]
optional
Example
{
    "rc": "string",
    "message": "string",
    "timestamp": "string",
    "data": [
        "string"
    ]
}
Previous
Get Bill Payments
Next
Get Payment List
Built with