Skip to main content
POST
/
api
/
v2.1
/
consents
/
{consentId}
/
approve
Approve payment consent
curl --request POST \
  --url https://sandbox.finhub.cloud/api/v2.1/consents/{consentId}/approve \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'X-Forwarded-From: <x-forwarded-from>' \
  --header 'deviceId: <deviceid>' \
  --header 'platform: <platform>' \
  --data '{}'

Headers

X-Device-Fingerprint
string
X-Device-Type
string
X-Forwarded-For
string
Example:

"127.0.0.1"

X-Tenant-ID
string
Example:

"tenant-demo-001"

X-Forwarded-From
string
required

Client source identifier

Example:

"client-app"

platform
string
required

Client platform

Example:

"mobile"

deviceId
string
required

Device identifier

Example:

"device-demo-001"

Authorization
string
required

Bearer JWT access token (omit on login and session endpoints)

Example:

"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vLXVzZXIifQ.demo-signature"

Path Parameters

Example:

"00000000-0000-0000-0000-000000000000"

Body

application/json
{key}
any

Response

200

OK