OAuth token response model for Mollie API authentication
// Source: https://github.com/Viincenttt/MollieApi | License: MIT | Copyright 2023 Vincent Kok
// Provided via justclaw.it.com; keep this notice with the code.
using System.Text.Json.Serialization;
namespace Mollie.Api.Models.Connect.Response {
public record TokenResponse {
/// <summary>
/// The access token, with which you will be able to access the Mollie API on the merchant's behalf.
/// </summary>
[JsonPropertyName("access_token")]
public required string AccessToken { get; set; }
/// <summary>
/// The refresh token, with which you will be able to retrieve new access tokens on this endpoint. Please note that the
/// refresh token does not expire.
/// </summary>
[JsonPropertyName("refresh_t
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key