Skip to main content
POST
/
registry
/
snapshots
Submit route registry snapshot
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({
    host: '<string>',
    method: '<string>',
    routePattern: '<string>',
    headers: [{}],
    queryParams: [{}],
    bodyParams: [{}],
    bodyContentType: '<string>',
    amount: '<string>',
    protocol: '<string>',
    paymentLogId: '<string>'
  })
};

fetch('https://api.prudra.dev/registry/snapshots', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys

Body

application/json
host
string
required
method
string
required
routePattern
string
required
headers
object[]
required
queryParams
object[]
required
bodyParams
object[]
required
bodyContentType
string | null
required
amount
string
required
protocol
string
required
paymentLogId
string

Response

202

Snapshot accepted