products

Create product

The elopage API allows to initiate and complete payments using optimized checkout interfaces. In order to process payments you first need to create a product. After the product creation you will receive a 'url_to_pay' parameter to which you must redirect your customer to complete payment. Thereafter you need to redirect the customer back to your success URL and pass on parameters and information. Using webhooks (webhook_url), you will get instant notifications about the status of the payment.

post/api/products

Request body

keystring

API KEY

secretstring

API SECRET

namestring required

Product name

success_urlstring
cancel_urlstring
error_urlstring
webhook_endpoint_idsstring[]
webhook_urlstring
page_headerstring
page_footerstring
freeboolean
activeboolean
privateboolean
performance_periodboolean
performance_period_type'purchase_date' | 'custom_text' | 'relative_date'
performance_period_textstring
form'download' | 'course' | 'event' | 'service'
webhook_endpoint_form'all_webhook_endpoints' | 'selected_webhook_endpoints' | 'no_webhook_endpoints'

Response

Create product

Changes

No recorded changes to this endpoint across all 1 revision of this API.