Coupon Apply Coupon

View as Markdown
Apply a coupon

Authentication

x-api-keystring

API key generated from the dashboard (Settings → API Keys).

Request

This endpoint expects an object.
codestringRequired1-32 characters
esim_idstringOptional

Response

Successful response
couponobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error