Skip to main content
POST
/
digital-wallets
/
click-to-pay
/
session
New Click to Pay session
using RestSharp;


var options = new RestClientOptions("https://api.sandbox.{id}.gr4vy.app/digital-wallets/click-to-pay/session");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{\n  \"checkout_session_id\": \"fe26475d-ec3e-4884-9553-f7356683f7f9\"\n}", false);
var response = await client.PostAsync(request);

Console.WriteLine("{0}", response.Content);
{
  "digital_payment_application_id": "DPA ID",
  "digital_payment_application_name": "DPA name"
}
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

Return digital payment application details for Click to Pay.

checkout_session_id
string<uuid>
required

The identifier for the current checkout session.

Example:

"fe26475d-ec3e-4884-9553-f7356683f7f9"

Response

Returns Click to Pay session object.

digital_payment_application_id
string

The ID of the Digital Payment Application for Click to Pay.

Example:

"a0b093e4-028a-4310-93fb-4ed0afc813fb"

digital_payment_application_name
string

The name of the Digital Payment Application for Click to Pay.

Example:

"Plantly T4JUU1"