Add price to Express
x-ms-visibility: "important"
Send a request to price to Express adhoc payment system.
application/json
Request Body required
Price data that needs to be added in Express. Default currency=EUR. All other fields are mandatory. Note: price includes VAT with Express.
priceType string
currency string
unitPrice double
Price including VAT
vat double nullable
Responses
- 200
- 400
- 401
Returns price id
application/json
Schema
Example (from schema)
response
Schema
id int64
{
"id": 0
}
{"id":123}
Errors in the body request
text/plain
Schema
Schema
string
Customer not found or not authorised
POST /express/add/price
Authorization
name: codetype: apiKeyin: query
Request
Request
curl / cURL
curl -L -X POST 'https://api.emabler.net/api/express/add/price' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain' \
--data-raw '{
"priceType": "string",
"currency": "string",
"unitPrice": 0,
"vat": 0
}'
python / requests
curl -L -X POST 'https://api.emabler.net/api/express/add/price' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain' \
--data-raw '{
"priceType": "string",
"currency": "string",
"unitPrice": 0,
"vat": 0
}'
go / native
curl -L -X POST 'https://api.emabler.net/api/express/add/price' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain' \
--data-raw '{
"priceType": "string",
"currency": "string",
"unitPrice": 0,
"vat": 0
}'
nodejs / axios
curl -L -X POST 'https://api.emabler.net/api/express/add/price' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain' \
--data-raw '{
"priceType": "string",
"currency": "string",
"unitPrice": 0,
"vat": 0
}'
ruby / Net::HTTP
curl -L -X POST 'https://api.emabler.net/api/express/add/price' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain' \
--data-raw '{
"priceType": "string",
"currency": "string",
"unitPrice": 0,
"vat": 0
}'
csharp / RestSharp
curl -L -X POST 'https://api.emabler.net/api/express/add/price' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain' \
--data-raw '{
"priceType": "string",
"currency": "string",
"unitPrice": 0,
"vat": 0
}'
php / cURL
curl -L -X POST 'https://api.emabler.net/api/express/add/price' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain' \
--data-raw '{
"priceType": "string",
"currency": "string",
"unitPrice": 0,
"vat": 0
}'
java / OkHttp
curl -L -X POST 'https://api.emabler.net/api/express/add/price' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain' \
--data-raw '{
"priceType": "string",
"currency": "string",
"unitPrice": 0,
"vat": 0
}'
powershell / RestMethod
curl -L -X POST 'https://api.emabler.net/api/express/add/price' \
-H 'Content-Type: text/plain' \
-H 'Accept: text/plain' \
--data-raw '{
"priceType": "string",
"currency": "string",
"unitPrice": 0,
"vat": 0
}'