Skip to main content
POST
/
digital-wallets
/
click-to-pay
/
session
C#
using Gr4vy;
using Gr4vy.Models.Components;

var sdk = new Gr4vySDK(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");

ClickToPaySessionRequest req = new ClickToPaySessionRequest() {
    CheckoutSessionId = "4137b1cf-39ac-42a8-bad6-1c680d5dab6b",
};

var res = await sdk.DigitalWallets.Sessions.ClickToPayAsync(req);

// handle response
{
  "type": "error",
  "code": "bad_request",
  "status": 400,
  "message": "Generic error",
  "details": []
}
This endpoint is unauthenticated and requires no scopes.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The body is of type unknown.

Response

Successful Response