Purchase a dataset at its buy-it-now price

post/datasets/{id}/buy

Request

  • Base URL: https://api.databazaar.io
  • URL: https://api.databazaar.io/datasets/{id}/buy
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

payment_method_idstring required

Stripe PaymentMethod ID (e.g. pm_...)

Example request

{
  "payment_method_id": "pm_1OqLh2LkdIwHu7ixVoK3AAAA"
}

Response

Purchase created; payment held in escrow

Changes

No recorded changes to this operation across all 1 revision of this API.