Digital wallets - Sessions
Create a Click to Pay session
Account updater
Buyers - Payment methods
Payment methods
Payment methods - Payment service tokens
Payment methods - Network tokens
Buyers - Gift cards
Buyers - Shipping details
Card scheme definitions
Digital wallets - Setup
Digital wallets - Sessions
Transactions
Refunds
Payment options
Payment service definitions
Payment services
Audit logs
Checkout sessions
Merchant accounts
Digital wallets - Sessions
Create a Click to Pay session
Create a session for use with Click to Pay.
POST
/
digital-wallets
/
click-to-pay
/
session
curl --request POST \
--url https://api.{id}.gr4vy.app/digital-wallets/click-to-pay/session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"checkout_session_id": "4137b1cf-39ac-42a8-bad6-1c680d5dab6b"
}'
{
"digital_payment_application_id": "a0c3ef2e-9cdb-4cbf-aaff-5baac2928e1b",
"digital_payment_application_name": "ACME"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.{id}.gr4vy.app/digital-wallets/click-to-pay/session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"checkout_session_id": "4137b1cf-39ac-42a8-bad6-1c680d5dab6b"
}'
{
"digital_payment_application_id": "a0c3ef2e-9cdb-4cbf-aaff-5baac2928e1b",
"digital_payment_application_name": "ACME"
}