Skip to main content
POST
Get the checkout page of a Hack me engagement

Overview

Returns checkoutUrl, the Stripe Checkout page of an engagement that is awaiting_payment; the action behind morph hackme pay. It returns the open page when there is one, and a new page when the last one expired, so call it whenever you need the link again. The amount and tax are set by Morph and Stripe: the body is ignored. The host is checked again first: one that no longer resolves only to public addresses is refused with 409. Once the payment is submitted, this route returns 409 and the engagement moves to paid when Stripe confirms it. Organization keys require an organization admin.

Authorizations

Authorization
string
header
required

Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.

Path Parameters

id
string<uuid>
required

Identifies the engagement to pay for. Id of an engagement that is awaiting_payment.

Example:

"c3a1f9d2-6b4e-4f7a-9e21-5d8b0c7a4e16"

Response

The checkout page.

Where to pay for an engagement.

checkoutUrl
string<uri>
required

The engagement’s Stripe Checkout page. Open it in a browser.

Example:

"https://checkout.stripe.com/c/pay/cs_live_b2C3d4E5f6G7h8I9j0K1"