Get Transaction
Returns the latest known state of a Direct Debit charge. If the row remains non-terminal beyond the configurable reconciliation window, this endpoint attempts an upstream reconcile before responding so the result is as fresh as possible. Reconcile failures are logged and the existing record is still returned. {transaction_id} is constrained to UUID at the route layer.
Authorizations
JWT issued by POST /api/v1.1/access-token/b2b. Send Authorization: Bearer <token>.
Merchant API key (Credential.api_key). Required on every request.
Path Parameters
UUID of a DirectDebitTransaction owned by the authenticated merchant.
Response
SP000 OK — data matches DirectDebitTransactionData. fees is populated only when status=SUCCESS; absent (not zero) on PENDING, PENDING_OTP, FAILED, and EXPIRED.
SingaPay Merchant API v2 custom response envelope (ApiResponderHelper::responseJson, ApiResponseTrait). Business outcome is determined by response_code (SP000–SP020), not by HTTP status alone. On success (SP000), data holds the operation payload. On errors, data often includes a message and may echo request fields.
SingaPay custom business response code.
"SP000"
Human-readable label paired with response_code.
"Successfully"
Endpoint-specific payload on success, or error context (validation message, inquiry result with status invalid, etc.).
