cURL
curl --request POST \ --url https://idaas.yourflexpay.com/api/v1/consent/{consentToken}/approve \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>", "errorCode": "<string>", "data": { "token": "<string>", "expiresAt": 123, "tag": "<string>", "subjectId": "<string>", "consentId": "<string>" }, "errors": [ "<string>" ], "timestamp": "2023-11-07T05:31:56Z" }
Approves a pending consent token and returns an attestation token for the requesting application.
Obtain a token from POST /v1/auth/token using your client_id and client_secret, then enter Bearer <token> here.
POST /v1/auth/token
client_id
client_secret
Bearer <token>
Consent approved and attestation token issued
Show child attributes