using Gr4vy;
using Gr4vy.Models.Components;
var sdk = new Gr4vySDK(
id: "example",
server: SDKConfig.Server.Sandbox,
bearerAuthSource: Auth.WithToken(privateKey),
merchantAccountId: "default"
);
var res = await sdk.CardSchemeDefinitions.ListAsync();
// handle response{
"items": [
{
"id": "<string>",
"icon_url": "<string>",
"display_name": "<string>",
"type": "card-scheme-definition"
}
]
}Fetch a list of the definitions of each card scheme.
using Gr4vy;
using Gr4vy.Models.Components;
var sdk = new Gr4vySDK(
id: "example",
server: SDKConfig.Server.Sandbox,
bearerAuthSource: Auth.WithToken(privateKey),
merchantAccountId: "default"
);
var res = await sdk.CardSchemeDefinitions.ListAsync();
// handle response{
"items": [
{
"id": "<string>",
"icon_url": "<string>",
"display_name": "<string>",
"type": "card-scheme-definition"
}
]
}card-scheme-definitions.read scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the merchant account to use for this request.
"default"
Successful Response
A list of items returned for this request.
Show child attributes