Skip to main content
GET
/
api
/
v1.0
/
cardless-withdrawals
/
{account_id}
/
show
/
{id}
Show Detail
curl --request GET \
  --url https://sandbox-payment-b2b.singapay.id/api/v1.0/cardless-withdrawals/{account_id}/show/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-PARTNER-ID: <api-key>'
{
  "status": 200,
  "success": true,
  "data": {
    "id": 1001,
    "transaction_id": "CW-20251024-0001",
    "status": "pending",
    "otp_number": "847291",
    "otp_expired_at": "2025-10-24T14:00:00+07:00",
    "amount": 500000,
    "vendor_fee": 6500,
    "our_margin": 1500,
    "total_paid": 508000,
    "transaction_type": "withdrawal",
    "balance_before": 1500000,
    "balance_after": 992000,
    "created_at": "2025-10-24T13:44:39+07:00",
    "updated_at": "2025-10-24T13:45:07+07:00"
  }
}

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

Unique identifier (ULID) of the merchant account. Must belong to the authenticated merchant.

Example:

"01K946KF851RK7FX075GJHBVKF"

id
string
required

The transaction_id of the cardless withdrawal to retrieve. This is the platform-assigned business identifier returned when the withdrawal was created.

Example:

"CW-20251024-0001"

Response

Success. Returns the cardless withdrawal transaction detail with the associated account information.

Success response envelope for cardless withdrawal endpoints returning a single transaction record.

status
integer
required

HTTP status code echoed in the response body.

Example:

200

success
boolean
required

Indicates whether the request completed successfully.

Example:

true

data
object
required

The cardless withdrawal transaction record.