Buy credits with a machine payment
Not available on self-hosted deployments (returns 404). Enterprise organizations billed per pentest cannot use it (returns 400); they add pentests from Settings > Billing. Buy scan credits with the Machine Payments Protocol (MPP). Authenticate with X-Strix-Authorization: Bearer <token> because MPP uses the standard Authorization header for its payment credential. The first request without a payment credential returns HTTP 402 with a payment challenge. Pay the challenge with a Stripe agent wallet (https://link.com/agents), then retry the request with the payment credential. The user approves each payment in the Link app. If the user does not want a wallet, create a hosted checkout link with the billing checkout operation instead. A verified payment grants the credits one time and returns a receipt. Requires the billing:write scope and the admin role.
Authorizations
Body
Response
Payment verified and credits granted.