latestOpenAPI 3.0.12026-08-101292701.1 MB

f21981db32be

Drop-in Checkout Links

Creates a new Drop-in checkout link

Creates a new Drop-in checkout link

post/drop-in/checkout-links

Request body

sessionIdstring

The session identifier.

Example request

{
  "sessionId": "eyJjdHkiOiJKV1QiLCJlbmMiOiJBMTI4R0NNIiw"
}

Response

201 Created

idstring

The link identifier.

sessionIdstring

The session identifier.

linkstring

The domain of the hosted link

Example response

{
  "id": "894d4fed-1097-4d1e-991a-814069000cb1",
  "sessionId": "eyJjdHkiOiJKV1QiLCJlbmMiOiJBMTI4R0NNIiw",
  "link": "https://store.digitalriver.com/dropin-checkout/v1/modal?linkId=894d4fed-1097-4d1e-991a-814069000cb1&token=pk_45971nf84m0he7792nmgmhi83mhu49sh"
}