Purchase POST API

View as Markdown

Authentication

x-api-keystring
API Key authentication via header

Request

This endpoint expects an object.
merchant_idstringRequired
merchant public id
merchant_order_idstringRequired
Order ID in your system
og_cart_trackingbooleanOptional

If omitted or true, then session_id is required. Otherwise, session_id is optional.

session_idstringOptional

Session Id, gotten from og_session_id cookie.

userobjectOptional

The customer being created; required fields can be updated by contacting support.

paymentobjectOptional
Required fields can be configured via RC3
productsobjectOptional
The products that this customer bought or subscribed to

Response

200
resultstringOptional
subs_req_idstringOptional

Errors

400
Bad Request Error
403
Forbidden Error