light-mode-image
Learn
API Reference

Wallet providers

Create a wallet provider

POST/v2/presentations/wallet-providers

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Wallet provider payload

Response Body

application/json

application/json

curl -X POST "https://example.vii.au01.mattr.global/v2/presentations/wallet-providers" \  -H "Content-Type: application/json" \  -d '{    "name": "Example wallet provider",    "openid4vpConfiguration": {      "authorizationEndpoint": "com-example.wallet://"    }  }'
{
  "id": "e63a2e46-5afa-48f9-bcc2-2114cf5f331b",
  "name": "Example wallet provider",
  "openid4vpConfiguration": {
    "authorizationEndpoint": "com-example.wallet://"
  }
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

Retrieve all wallet providers

GET/v2/presentations/wallet-providers

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.vii.au01.mattr.global/v2/presentations/wallet-providers"
[
  {
    "id": "e63a2e46-5afa-48f9-bcc2-2114cf5f331b",
    "name": "Example wallet provider",
    "openid4vpConfiguration": {
      "authorizationEndpoint": "com-example.wallet://"
    }
  }
]

Retrieve a wallet provider

GET/v2/presentations/wallet-providers/{walletProviderId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

walletProviderId*string

Unique identifier for the wallet provider.

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.vii.au01.mattr.global/v2/presentations/wallet-providers/281d20b3-42a3-40dd-b29a-115ff32b02b7"
{
  "id": "e63a2e46-5afa-48f9-bcc2-2114cf5f331b",
  "name": "Example wallet provider",
  "openid4vpConfiguration": {
    "authorizationEndpoint": "com-example.wallet://"
  }
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

Update a wallet provider

PUT/v2/presentations/wallet-providers/{walletProviderId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

walletProviderId*string

Unique identifier for the wallet provider.

Formatuuid

Request Body

application/json

Wallet provider payload

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.vii.au01.mattr.global/v2/presentations/wallet-providers/281d20b3-42a3-40dd-b29a-115ff32b02b7" \  -H "Content-Type: application/json" \  -d '{    "name": "Example wallet provider",    "openid4vpConfiguration": {      "authorizationEndpoint": "com-example.wallet://"    }  }'
{
  "id": "e63a2e46-5afa-48f9-bcc2-2114cf5f331b",
  "name": "Example wallet provider",
  "openid4vpConfiguration": {
    "authorizationEndpoint": "com-example.wallet://"
  }
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

Delete a wallet provider

DELETE/v2/presentations/wallet-providers/{walletProviderId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

walletProviderId*string

Unique identifier for the wallet provider.

Formatuuid

Response Body

application/json

curl -X DELETE "https://example.vii.au01.mattr.global/v2/presentations/wallet-providers/281d20b3-42a3-40dd-b29a-115ff32b02b7"
Empty
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

How would you rate this page?

Last updated on

On this page