v1

latestOpenAPI 3.0.02026-07-17647099.1 KB
Payment

Verify Payment

Verify a payment by nonce.

post/v2/identities/{identifier}/payment/verify/{nonce}

Path parameters

identifierstring required
noncestring required

Request body

txHashstring

If txHash not provided then only verification on the Payment contract will be performed by nonce and issuer DID.

userDIDstring

If a User DID is provided, the payment will be verified for the specified User DID.

Example request

{
  "txHash": "0x8f271174b45ba7892d83...",
  "userDID": "did:iden3:polygon:amoy:2qVSDLNYs2s5HDMTyb4Su67ZvrZ..."
}

Response

Payment verified

status'success' | 'failed' | 'pending' | 'canceled' required
requestIdstring required