Create an external order

This API endpoint allows user to collect Mesra points even without using Setel's payment methods.

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

The ID of the Setel user.

string
required

The partner’s generated ID, which generates this charge transaction.

string
required

The desired amount.

string
required
Defaults to MYR

The currency type of the transaction. Currently, supports MYR only.

string
required

The tax invoice number.

paymentMethod
object
required

The payment method used to complete the payment. The values will be provided by Setel.

boolean
Defaults to false

A variable that decides if points will be granted.

products
array of objects
required

Extra information about this payment.

products*
referenceMeta
object

The object that stores additional information about the transaction (e.g: order details, etc.).

Headers
string

A unique ID to reference the interface the request is sent from. Default value is setel but a proper value will be advised by Setel during onboarding.

string

The interface type the request is sent from. This value will be provided by Setel during onboarding.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json