Skip to main content
POST
Verify a payment credential

Authorizations

Authorization
string
header
required

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

Body

application/json
protocol
enum<string>
required
Available options:
x402,
mpp
credential
string
required

Raw payment credential (x402 X-PAYMENT payload or MPP proof)

price
string
required
Example:

"0.01"

walletId
string
required
Example:

"byw_abc123"

resource
string
required
Example:

"/analyse"

currency
string
default:USD
description
string
network
string
Example:

"eip155:8453"

Response

Payment verified

valid
boolean
required
paymentId
string
Example:

"pay_abc123"

txHash
string
Example:

"0xabc..."

amount
string
Example:

"0.01"

coin
string
Example:

"USDC"

protocol
enum<string>
Available options:
x402,
mpp
settledAt
string<date-time>
settlementPending
boolean
settlementToken
string | null