Approve Certificate
POSThttps://public.api.mentaport.xyz/prod/v1/certificates/approve
Method to call once you have a Pending Certificate. This is the last step to successfully create your certificate. Review the information to ensure it is accurate before it's written in the decentralized ledger.
Request
Query Parameters
contractId stringrequired
Example: 96b82a9a-585d-4628-9e61-d5fe0b9317dd
certId stringrequired
Example: 0x4b0b29b850d54871a45f291422fdd890
approved booleanrequired
Example: true
Header Parameters
x-api-key string
Example: {{_apiKeyDev}}
Responses
- 200
Successful response
- application/json
- Schema
Schema
Authorization: http
name: apikeyAuthtype: httpin:
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://public.api.mentaport.xyz/prod/v1/certificates/approve");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear