Payment pages

Retrieve payment page

Retrieves a payment page by ID.

GET
/payment_pages/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Payment page ID.

Response Body

application/json

curl -X GET "https://api.sandbox.billingrails.com/v1/payment_pages/paypg_IhMUl3rrZ3"
{
  "payment_page": {
    "type": "subscription",
    "id": "paypg_IhMUl3rrZ3",
    "name": "My Subscription Page",
    "status": "active",
    "description": "A payment page for subscriptions.",
    "slug": "my-subscription-page",
    "hosted_url": "https://billingrails.page/acme/pay/my-subscription-page",
    "return_url": null,
    "created_at": "2025-02-14T17:33:40.843Z"
  },
  "meta": {
    "request_id": "req_IhMUl3rrZ3"
  }
}