v51

OpenAPI 3.0.0raw.githubusercontent.com2026-08-01267339950.6 KB
Billing: Payment methods

Get payment method list

Retrieve available payment methods that can be used for placing new orders.

If you want to add new payment method, please use hPanel.

Use this endpoint to view available payment options before creating orders.

get/api/billing/v1/payment-methods

Response

Success response

idinteger

Payment method ID

namestring
identifierstring
payment_methodstring
is_defaultboolean
is_expiredboolean
is_suspendedboolean
created_atstring date-time
expires_atstring date-time

Example response

[
  {
    "id": 6523,
    "name": "Credit Card",
    "identifier": "1234*****6464",
    "payment_method": "card",
    "is_default": true,
    "created_at": "2025-02-27T11:54:22Z",
    "expires_at": "2025-03-27T11:54:22Z"
  }
]