Products

Create a product

Create a new product in your catalog. Products can be referenced when creating payments to pre-fill amount and description.

post/v1/products

Headers

X-Idempotency-Keystring required

A unique string to ensure the request is processed only once. Must be unique per request. Valid for 24 hours.

Request body

externalIdstring

Your own product ID.

namestring required

Product name.

descriptionstring

Product description.

amountnumber

Default price.

metadataobject

Response

Product created.

Changes

Changed in 2 of the 13 revisions of this API.134

  • 9d4ba1cc037c133See the full diff
    • the error response's property type/format changed from object/ to string/ for status 409

      response-property-type-changed

    • removed the optional property error/code from the response with the 409 status

      response-optional-property-removed

    • removed the optional property error/details from the response with the 409 status

      response-optional-property-removed

    • removed the optional property error/message from the response with the 409 status

      response-optional-property-removed

    • added the optional property code to the response with the 409 status

      response-optional-property-added

    • added the optional property message to the response with the 409 status

      response-optional-property-added

    • added the optional property statusCode to the response with the 409 status

      response-optional-property-added

    • endpoint added

      endpoint-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog