Skip to main content
POST
Save customer details
Stores the payer’s contact email (and optional name) on a pending payment. The moment the payment completes, Tribridge emails that address a payment receipt. No API key required — call it from your own checkout UI (it runs in the customer’s browser context or your backend) while collecting contact details.

Rules

  • Accepted only while the payment is pending. Once it moves on you get 409 — Payment is not accepting contact details.
  • Idempotent — safe to re-post on retries with the same payload.
  • Email must be a valid address (max 254 chars); name is trimmed to 120 chars.
Example — attach email from your checkout
You can also pass customer_email / customer_name directly when creating the session — use this endpoint when the email is collected later (e.g. on your own hosted form).

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

Body

application/json
email
string<email>
required

Valid payer email address.

Maximum string length: 254
Example:

"jane@example.com"

name
string

Payer name for the receipt.

Maximum string length: 120
Example:

"Jane Doe"

Response

Contact details stored