Usage
Creating an API context
// For sandbox environment
var apiContext = ApiContext.Create(ApiEnvironmentType.SANDBOX, apiKey, deviceDescription);
// For production
var apiContext = ApiContext.Create(ApiEnvironmentType.PRODUCTION, apiKey, deviceDescription);
// Load the API context into the global BunqContext
BunqContext.LoadApiContext(apiContext);
// Save the context for later use
apiContext.Save("bunq-context.conf");// Restore context from file
var apiContext = ApiContext.Restore("bunq-context.conf");
// Ensure the session is active
apiContext.EnsureSessionActive();
// Load into global context
BunqContext.LoadApiContext(apiContext);PSD2
Safety considerations
Basic Operations
Monetary Accounts
Create a Monetary Account
Get a Monetary Account
Close a Monetary Account
Payments
Make a Payment
List Payments
Navigate Through Paged Results
Payment Requests
Create a Payment Request
Accept a Payment Request
Attachments and Avatars
Upload Attachment
Create Avatar
Retrieve Attachment
Cards
Order a New Card
Notification Filters (Webhooks)
Create URL Notification Filter for Account
Create URL Notification Filter for User
Create Push Notification Filter
Session Management
Delete Current Session
Create OAuth Client
Create OAuth Authorization URI
Making API calls
Creating objects
Reading objects
Updating objects
Deleting objects
Last updated
Was this helpful?