Skip to main content
GET
/
api
/
v2.0
/
card
/
{account_id}
/
inquiry-status
/
{id}
Inquiry Status
curl --request GET \
  --url https://sandbox-payment-b2b.singapay.id/api/v2.0/card/{account_id}/inquiry-status/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-PARTNER-ID: <api-key>'
{
  "response_code": "SP000",
  "response_message": "Successfully",
  "data": {
    "transaction_id": "101222025010112000099887766",
    "reference_no": "INV-2024-0012",
    "amount": 150000,
    "status": "success",
    "provider_auth_no": "123456",
    "card_masked": "400000******0002",
    "provider_result_code": "0000",
    "provider_result_message": "Success",
    "completed_at": "2025-01-01T12:05:00+07:00",
    "failed_at": null
  }
}

Authorizations

Authorization
string
header
required

JWT issued by POST /api/v1.1/access-token/b2b. Send Authorization: Bearer <token>.

X-PARTNER-ID
string
header
required

Merchant API key (Credential.api_key). Required on every request.

Path Parameters

account_id
string
required

Account ULID

id
string
required

Transaction lookup key

Response

SP000 Successfully — current transaction status returned.

Merchant v2 envelope returned on a successful status inquiry (SP000, HTTP 200).

response_code
string
required

SingaPay custom business response code.

Example:

"SP000"

response_message
string
required

Human-readable label paired with response_code.

Example:

"Successfully"

data
object
required

Payload returned on a status inquiry. Provider fields are populated once the transaction has reached the provider.