Request:
mutation {
makeIssuerAccount (
input: {
companyName: "Example Issuer"
companyEmail: "mary.johnson@example.com"
}
) {
account {
id
type
}
}
}
Response:
{
"data": {
"makeIssuerAccount": {
"account": {
"id": "a68a3ac2-5110-4207-9bad-e9acbdec6f1a",
"type": "issuer"
}
}
}
}
In this example, the mutation creates a new issuer. The ID of the newly created issuer is returned in the payload. You then have the option to switch to this issuer role and perform actions as the issuer.