Calculate Price
TestingPOST
/partner/pricecalcLast modified: 5 months ago
Maintainer: Not configured
Request
Header Params
api-version
string
required
Example:
3
Body Params application/json
type
string
required
price_token
string
required
sku
string
required
amount
number
required
Multiple of:
0.01
Example
{
"price_token": "{{price_token}}",
"type": "buy",
"sku": "GAU",
"amount": 1.23
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
price
number
required
price_token
string
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"price": 3047.96,
"price_token": "5Kpg2ty1opOqn4MjFSIDwZJlkpGHoijz"
},
"success": true,
"code": 0,
"message": ""
}
Last modified: 5 months ago