POST
/
prices

Body parameters

amount
integer
required

The amount to be charged.

currency
string
required

A lowercase ISO currency code. Currently supported currencies are: “dzd”.

product_id
string
required

The ID of the Product.

metadata
array

A Set of key-value pairs that can be used to store additional information about the product.

Returns

If the request is successful, it returns a price object.