Skip to main content
GET
/
api
/
v1.0
/
payment-link-manage
/
{account_id}
List
curl --request GET \
  --url https://sandbox-payment-b2b.singapay.id/api/v1.0/payment-link-manage/{account_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-PARTNER-ID: <api-key>'
{
  "status": 200,
  "success": true,
  "data": [
    {
      "id": 103,
      "reff_no": "INV20240513001",
      "title": "Invoice Payment",
      "payment_url": "https://example.com/payment-link",
      "status": "open",
      "status_computed": "open",
      "is_expired": false,
      "required_customer_detail": true,
      "max_usage": 1,
      "current_usage": 0,
      "expired_at": "2024-05-13T00:00:00Z",
      "total_amount": 150000,
      "items": [
        {
          "name": "Product A",
          "quantity": 1,
          "unit_price": 150000,
          "subtotal": 150000
        }
      ],
      "whitelisted_payment_method": [
        "<string>"
      ],
      "redirect_url": "https://example.com/payment-link",
      "optional_metadata": {},
      "payment_date": "2024-05-13T00:00:00Z",
      "created_at": "2024-05-13T00:00:00Z",
      "updated_at": "2024-05-13T00:00:00Z",
      "account": {
        "id": 1,
        "name": "Account 1"
      }
    }
  ],
  "meta": {}
}

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 identifier in ULID format.

Response

Success

status
integer
required

HTTP status code.

Example:

200

success
boolean
required

Indicates whether the request was successful.

Example:

true

data
object[]

Collection of payment link resources.

meta
object

Pagination metadata for the collection response.