Create account access consent
documentedCreate an account access consent to read Revolut user data.
POST /account-access-consentsAccount accessno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://oba.revolut.com/account-access-consents" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "x-fapi-financial-id: 001580000103UAvAAM" \
-H "x-fapi-customer-last-logged-time: {{$last_logged_time}}" \
-H "x-fapi-customer-ip-address: {{$customer_ip}}" \
-H "x-fapi-interaction-id: {{$interaction_id}}" \
-H "x-customer-user-agent: {{$user_agent}}" \
--cert {{OBA_TRANSPORT_CERT}} --key {{OBA_TRANSPORT_KEY}} \
-d '{"Data": {"Permissions": ["{{$permission1}}","{{$permission2}}"], "ExpirationDateTime": "{{$expiration_datetime}}", "TransactionFromDateTime": "{{$transaction_from_datetime}}", "TransactionToDateTime": "{{$transaction_to_datetime}}"}, "Risk": {{$risk_json}} }'