Skip to main content
GET
/
api
/
v1.0
/
cardless-withdrawals
/
{account_id}
List
curl --request GET \
  --url https://sandbox-payment-b2b.singapay.id/api/v1.0/cardless-withdrawals/{account_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"
    }
  ],
  "pagination": {
    "count": 25,
    "total": 42,
    "perPage": 25,
    "currentPage": 1,
    "totalPages": 2
  }
}

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"

Response

Success. Returns a paginated array of cardless withdrawal records with pagination metadata.

Success response envelope for the cardless withdrawal list endpoint. Contains a paginated collection of withdrawal records.

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

Array of cardless withdrawal transaction records.

pagination
object | null

Pagination metadata including current page, per page count, and total records.