POST
/
digital-wallets
/
click-to-pay
/
session
curl --request POST \
  --url https://api.{gr4vy_id}.gr4vy.app/digital-wallets/click-to-pay/session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "checkout_session_id": "fe26475d-ec3e-4884-9553-f7356683f7f9"
}'
{
  "digital_payment_application_id": "DPA ID",
  "digital_payment_application_name": "DPA name"
}

This endpoint is unauthenticated and requires no scopes.

Authorizations

Authorization
string
headerrequired

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

Body

application/json
checkout_session_id
string
required

The identifier for the current checkout session.

Response

200 - application/json
digital_payment_application_id
string

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

digital_payment_application_name
string

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