POST /keys/purchase
POST

/v1/keys/purchase

Create XRP payment request

AuthNone — works without a key

Request

POSThttps://api.xrpl.to/v1/keys/purchase
Body
Body fieldsas documented
{
  wallet,
  type: "credits"|"tier",
  package?: "starter|standard|bulk|mega",
  tier?: "developer|business|professional",
  billing?: "monthly|yearly"
}
curl -X POST 'https://api.xrpl.to/v1/keys/purchase'
No public sample for this one — copy the code and fill in your own values.

Response

No public sample for this endpoint — run the code on the right with your own values to see the response.

What it does

Create XRP payment request

Notes
Invoice expires in 30 minutes. After payment, call POST /keys/verify-payment with the tx hash.
OpenAPI