Skip to main content
POST
Record an external payment on a payment link

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

ID of the payment link the payment was made against

Body

application/json
amountCents
integer<int64>

Amount received, in cents. Defaults to the link's full remaining balance. Cannot exceed the remaining balance.

Required range: x >= 1
Example:

2500

paidAt
string<date>

The date the money moved (YYYY-MM-DD). Defaults to today. Cannot be in the future.

Example:

"2026-08-30"

externalReferenceId
string

Your own transaction id for this money, used to make the request idempotent. Posting the same externalReferenceId on the same payment link again returns the existing record with 200 instead of creating a second one, as long as any amountCents and paidAt you pass agree with it; if they differ, the request is refused with 409 and code REFERENCE_CONFLICT. Voiding a record releases its reference. Unique per payment link, so the same id may be used against different links.

Required string length: 1 - 255
Example:

"txn_8f3a2c"

Response

The new record and the re-derived payment link

externalPayment
object
required