Create Checkout (Template)

The Checkouts API allows you to create and manage checkouts (templates) associated with your merchant account.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
Defaults to Payment template

The title of the template

string
required
Defaults to This is just a sample

A breif description of the template.

int32
required
Defaults to 2

The type of template you want to create 0: Investments - Set a price for your customer 1: Donation - Allows customers to enter any amount 2: Event Tickets - Allows customers to purchase multiple items

double

The amount requested. The amount field is only required for a type 0 template.

int32
required
Defaults to 1

ID of the currency the payment. Supported currencies are here https://docs.eukapay.com/docs/supported-currencies

int32
Defaults to 1

Should users be required to fill in their full name? (0: false, 1: required 2: optional).

int32
Defaults to 1

Should users be required to fill in their email? (0: false, 1: required 2: optional).

int32
Defaults to 1

Should users be required to fill in their phone number? (0: false, 1: required 2: optional).

int32
Defaults to 1

Should users be required to fill in their address? (0: false, 1: required 2: optional).

customQuestions
array of objects
customQuestions
ticketInfo
array of objects

Information required for every ticket to be purchased using this template. All the fields should have a value corresponding to; 0: false, 1: required 2: optional

ticketInfo
ticketInfoCustomQuestion
array of objects

Custom questions required for each ticket a user wants to purchase.

ticketInfoCustomQuestion
promoCodes
array of objects

Promo Codes asscociated with the template.

promoCodes
invoiceTemplateTaxes
array of objects

Taxes asscociated with this template

invoiceTemplateTaxes
tickets
array of objects

Tickets asscociated with this template

tickets
Headers
string
Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json