Payment

Verify a payment by nonce.

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

Request

  • The document declares no server URL.
  • Auth
    HTTP basic

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

Changes

    • info

      added the required property to the response with the status

    • info

      added the new optional request property

    • info

      request body became optional

    • info

      the request property became optional