POST purchase/calculate-price

Checkout method

Request Information

URI Parameters

None.

Body Parameters

CheckoutBeatsRequestDto
NameDescriptionTypeAdditional information
BeatIds

Collection of string

None.

Referrer

string

None.

Id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BeatIds": [
    "sample string 1",
    "sample string 2"
  ],
  "Referrer": "sample string 1",
  "Id": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CheckoutBeatsDto
NameDescriptionTypeAdditional information
Price

decimal number

None.

PricePerBeat

Collection of decimal number

None.

Id

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Price": 1.1,
  "PricePerBeat": [
    1.1,
    2.1
  ],
  "Id": "sample string 2"
}