marketplace

Get Purchase Link

Changed on

Get a link which the marketplace can redirect or present via iframe to the customer for them to complete a purchase with a seller.

post/marketplace/link/purchase

Request

  • Base URL
    https://api-sandbox.coinflow.cash/api
  • URL
    https://api-sandbox.coinflow.cash/api/marketplace/link/purchase
  • Auth
    API key in header Authorization

Request body

feePercentagenumber double

If this purchase is for a seller/submerchant where the marketplace takes a fee, this is the % fee which is taken from the subtotal amount.

threeDsChallengePreference'NoPreference' | 'Frictionless' | 'Challenge'
sellerIdstring required

ID of the Seller

emailstring required

The email of the end user who is making the purchase.

redirectUristring

(Optional) URL to redirect on successful purchase

deviceIdstring

If using Chargeback Protection pass the users DeviceID here

supportEmailstring

The support email for your marketplace, will be displayed to users so they can contact your team to request support.

Response

Ok

linkstring required

URL to redirect or present via IFrame

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security merchant was added to the API

    • info

      api operation id get-purchase-link removed and replaced with marketplace_GetPurchaseLink