Skip to main content
POST
Create a payment template

Authorizations

Authorization
string
header
required

Your API key, e.g. sk_live_... or sk_test_....

Headers

Idempotency-Key
string

Optional. Makes this write safe to retry: the same key replays the first response instead of acting twice.

Maximum string length: 255

Body

application/json
kind
enum<string>
required
Available options:
order_details,
order_status,
checkout
name
string
required
Pattern: ^[a-z0-9_]+$
language
string
required
body
string
required
Maximum string length: 1024
phone_number_id
string
body_examples
string[]
Maximum string length: 60
header_text
string
Maximum string length: 60
header_media
file
quick_replies
string[]
Maximum array length: 9

Response

Submitted for review.

id
string | null
status
string
category
string | null
name
string