Skip to main content
POST
Pay with an agent token

Path Parameters

id
string
required

Body

application/json
shared_payment_token
string
required
Example:

"spt_1Q..."

Response

Paid order

id
string
Example:

"ord_8k2m4qz7c1x9b3vd"

object
enum<string>
Available options:
postcard,
letter
product
enum<string>
Available options:
postcard_4x6,
postcard_6x9,
letter
status
enum<string>
Available options:
awaiting_payment,
paid,
printing,
mailed,
cancelled,
refunded
status_detail
string
price
object
to
object
from
object
content
object
checkout_url
string | null

Where the person pays. Null once paid or closed. Never expires.

order_url
string

Human-readable status page

preview_url
string

Exact print preview

created_at
string<date-time>
paid_at
string<date-time> | null
mailed_at
string<date-time> | null
events
object[]