Skip to main content
POST
Record a debit memo 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 to add the amount to

Body

application/json
amountCents
integer<int64>
required

Amount to add to the payment link, in cents.

Required range: x >= 1
Example:

3500

description
string
required

What the amount is for. Shown to your customer on the payment page, so write it for them.

Required string length: 1 - 100
Example:

"Returned check fee"

externalReferenceId
string

Your own id for this memo, used to make the request idempotent. Posting the same externalReferenceId on the same payment link again returns the existing memo with 200 instead of creating a second one, as long as amountCents and description agree with it; if they differ, the request is refused with 409 and code REFERENCE_CONFLICT. Voiding a memo releases its reference.

Required string length: 1 - 255
Example:

"DM-1042"

Response

The new memo and the payment link with its raised total

debitMemo
object
required