Skip to main content
GET
/
v1.0
/
payment-link-manage
/
{account_id}
List payment links
curl --request GET \
  --url https://singa-payment-gateway.test/api/v1.0/payment-link-manage/{account_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "data": [
    {
      "id": 12345,
      "reff_no": "INV-20260508-001",
      "title": "Invoice May 2026",
      "payment_url": "https://pay.example.com/b2b/INV-20260508-001",
      "status": "open",
      "status_computed": "open",
      "is_expired": false,
      "required_customer_detail": true,
      "max_usage": 100,
      "current_usage": 0,
      "total_amount": 150000,
      "items": [
        {
          "name": "Subscription Plan",
          "quantity": 1,
          "unit_price": 150000,
          "subtotal": 150000
        }
      ],
      "whitelisted_payment_method": [
        "QRIS"
      ],
      "expired_at": "2026-05-31T23:59:59+07:00",
      "redirect_url": "https://merchant.example.com/payment/success",
      "optional_metadata": {},
      "payment_date": "2026-05-08T14:30:00+07:00",
      "created_at": "2026-05-08T14:30:00+07:00",
      "updated_at": "2026-05-08T14:30:00+07:00",
      "account": {
        "id": "01HZ7N9K3R0F2QW3X4Y5Z6V7AB",
        "name": "Main Operating Account",
        "status": "active",
        "email": null,
        "phone": null
      }
    }
  ],
  "pagination": {
    "total": 47,
    "count": 25,
    "perPage": 25,
    "currentPage": 1,
    "totalPages": 2,
    "links": {
      "next": "http://example.com/api/v1.0/accounts?page=2"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.singapay.id/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Merchant access token obtained from POST /v1.0/access-token/b2b. Send as Authorization: Bearer <token>.

Path Parameters

account_id
string
required

Account ULID.

Example:

"01HZ7N9K3R0F2QW3X4Y5Z6V7AB"

Response

Payment links retrieved successfully.

Paginated list of payment links.

status
integer
required
Example:

200

success
boolean
required
Example:

true

data
PaymentLink · object[]
required
pagination
PaginationMeta · object

Pagination metadata appended by flugger/laravel-responder for paginated collections.