cURL
curl --request POST \ --url https://api.fungies.io/v0/elements/checkout/create \ --header 'Content-Type: application/json' \ --header 'x-fngs-public-key: <api-key>' \ --header 'x-fngs-secret-key: <api-key>' \ --data '{ "name": "<string>", "offersIds": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "customFields": [ { "id": "<string>", "value": "<string>" } ] }'
{ "status": "<string>", "data": { "checkoutElement": { "object": "checkoutElement", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": null, "status": "ACTIVE", "subscriptionOffer": false, "offers": [ { "object": "offer", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "internalId": null } ] } } }
Create a new Checkout Element with offers
POST /v0/elements/checkout/create Request body
1
Show child attributes
POST /v0/elements/checkout/create Positive response
"success"