Espay 360

Get Image Invoice

Get Image Invoice is a service provided by Espay 360 to help you retrieve invoices uploaded by users of the Petty Cash application.

Flow

You send the required parameters to make a request, and Espay 360 will respond in JSON format.

Headers

Key Value
Method
HTTP Get
Connection
keep-alive
Content-Length
250
Accept
*/*

API URL

Environment URL
Sandbox
Port of HTTPS (443)
https://sandbox-api.espay.id/deposittools/app360tools/getimageinvoice
Production
Port of HTTPS (443)
https://api-merchant.espay.id/deposittools/app360tools/getimageinvoice

Request Parameters

Parameter Type Mandatory Description
inv
String (32)
Y
Transaction ID.
comm_code
String (32)
Y
Merchant code provided by the Espay team.
signature
String (64)
Y
Code used to validate transactions. Learn 360 | Hash-Based Signature.
show
String (1)
Y
Image display format.

Format:
  • Y : Display the data as an image.
  • N : Display the data in Base64 format.
Y: Yes, O: Optional, C: Conditional

Respons show : Y

Respons show : N




































Sample Headers

https://sandbox-api.espay.id/deposittools/app360tools/getimageinvoice?inv=QRIS17709699153SYB8-0DC6998C&comm_code=AKULAKU01&signature=699af4dfe04c6528b6aa9914f31d78e6cad05d9d40e4ca40d93ad57c40a7cf10
             
































Sample Response - Show (N)

data:image/png;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2NjIpLCBxdWFsaXR5ID0gODUK/9sAQwAFAwQEBAMFBAQEBQUFBgcMCAcHBwcPCwsJDBEPEhIRDxERExYcFxMUGhURERghGBodHR8fHxMXIiQiHiQcHh8e/9sAQwEFBQUHBgcOCAgOHhQRFB4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4e/8AAEQgBhAD4AwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7
              


CURL


curl --location 'https://sandbox-api.espay.id/rest/merchanttools/registercommunity' \
--header 'Content-Type: application/json' \
--data '{
    "rq_uuid": "9877897969869600016",
    "rq_datetime": "2025-01-20T08:41:41+07:00",
    "senderId": "CONTOH",
    "data": {
        "merchantId": "TOKOKUSHOPPING",
        "merchantName": "TOKOKU SHOPPING",
        "publicKeyIqos": "",
        "productChannels": [
            "QRIS", 
            "EDCBRI",
            "EDCBRIQRIS"
        ]
    }
}'
           
Scroll to Top