Ojire Payment Gateway
  1. Payment Link
Ojire Payment Gateway
  • Registrasi SNAP di OJIRE Payment Gateway
  • Otentikasi API
    • Public Key dan Private Key
    • Bearer Token
    • Signature
  • Auth
    • Get Token API
      POST
  • Virtual Account
    • Create VA
      POST
    • Update VA
      PUT
    • Inquiry VA
      POST
    • Delete VA
      DELETE
    • Callback VA
      POST
  • QRIS
    • Generate QR MPM
      POST
  • Payment Link
    • Create Payment Link
      POST
    • Inquiry Payment Link
      POST
    • Method Payment Link
      POST
  • Account
  1. Payment Link

Inquiry Payment Link

Developing
SANDBOX
https://dev.your-api-server.com
SANDBOX
https://dev.your-api-server.com
POST
https://dev.your-api-server.com
/v1.0/payment-link/inquiry
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev.your-api-server.com/v1.0/payment-link/inquiry' \
--header 'X-Timestamp: 2025-06-06T00:03:09+07:00' \
--header 'X-Partner-Id: OPGXXXXXXXXXX' \
--header 'X-External-Id: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX' \
--header 'Channel-Id: CIMB' \
--header 'Authorization: Bearer v2.local.ABC.DEF.HIJ' \
--header 'X-Signature: ABCDEFG==' \
--header 'Content-Type: application/json' \
--data-raw '{
    "partnerReferenceNo": "123456",
    "trxId": "Transaction-0001",
    "additionalInfo": {
        "paymentLinkId": "3823712392839213-32312321"
    }
}'
Response Response Example
200 - Belum Memilih Metode Pembayaran
{
    "responseCode": "2002700",
    "responseMessage": "Success",
    "paymentLinkData": {
        "partnerReferenceNo": "123456",
        "trxId": "Transaction-0001",
        "totalAmount": {
            "value": "120000.00",
            "currency": "IDR"
        },
        "expiredDate": "2022-10-18T23:27:43+0700",
        "paymentFlagStatus": "00",
        "paymentFlagReason": {
            "english": "Success",
            "indonesia": "Sukses"
        },
        "additionalInfo": {
            "productDetails": "Tes pembayaran Qris Duitku",
            "additionalParam": "test additional param",
            "itemDetails": [
                {
                    "name": "Test Item 1",
                    "price": "12.00",
                    "quantity": 1,
                    "discount": "0.00",
                    "tax": "0.00"
                },
                {
                    "name": "Test Item 2",
                    "price": "12.00",
                    "quantity": 1,
                    "discount": "12.00",
                    "tax": "12.00"
                }
            ],
            "discount": {
                "amount": "10.00",
                "text": "Diskon Pelajar",
                "total": "12.00"
            },
            "tax": {
                "amount": "10.00",
                "text": "PPN 11%",
                "total": "12.00"
            },
            "customerDetail": {
                "firstName": "John",
                "lastName": "Doe",
                "email": "test@test.com",
                "phoneNumber": "08221XXXXXXXX",
                "billingAddress": {
                    "address": "Jl. Kembangan Raya",
                    "city": "Jakarta",
                    "postalCode": "11530",
                    "countryCode": "ID"
                }
            },
            "payment": {
                "type": "",
                "bank": "",
                "content": ""
            }
        }
    }
}

Request

Header Params
X-Timestamp
string 
required
ISO-8601
Example:
2025-06-06T00:03:09+07:00
X-Partner-Id
string 
required
ID Project
Example:
OPGXXXXXXXXXX
X-External-Id
string 
required
ID permintaan yang unik. Maximal 32 Karakter
Example:
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Channel-Id
string 
required
Kode Bank
Example:
CIMB
Authorization
string 
required
Otentikasi dengan bearer token
Example:
Bearer v2.local.ABC.DEF.HIJ
X-Signature
string 
required
Symmetric Signature
Example:
ABCDEFG==
Body Params application/json
partnerReferenceNo
string 
required
trxId
string 
required
additionalInfo
object 
required
paymentLinkId
string 
required
Examples

Responses

🟢200Belum Memilih Metode Pembayaran
application/json
Body
responseCode
string 
required
responseMessage
string 
required
paymentLinkData
object 
required
partnerReferenceNo
string 
required
trxId
string 
required
totalAmount
object 
required
expiredDate
string 
required
paymentFlagStatus
string 
required
paymentFlagReason
object 
required
additionalInfo
object 
required
🟢200Sudah Memilih Pembayaran
🟢200Sukes Melakukan Pembayaran
🟢200Pembayaran Ditolak
🟠404Record Not Found
Previous
Create Payment Link
Next
Method Payment Link