Skip to main content
PUT
Record a delivery attempt

Authorizations

Authorization
string
header
required

Integration-owned environment-specific API key. Never paste a production key into documentation tools.

Path Parameters

clientCode
string
required

Stable non-sensitive Client code authorized by the Integration grant.

Pattern: ^[A-Za-z0-9_-]{1,128}$
externalPaymentRequestId
string
required

The hosted Payment request whose confirmed Payment is being delivered.

Pattern: ^[A-Za-z0-9_-]{1,128}$
externalAttemptId
string
required

Caller-assigned identifier of this delivery attempt. Reusing it with an identical body is a safe retry.

Pattern: ^[A-Za-z0-9_-]{1,128}$

Body

application/json

One uncompressed resource representation, limited to 256 KiB.

channel
enum<string>
required

api: your middleware sent the Payment to the accounting system through its API. file_download: you exported it as a file for the accounting system.

Available options:
api,
file_download
outcome
enum<string>
required

downloaded: you retrieved or exported the Payment details. delivered: the accounting system's intake received them. failed: the delivery did not complete. None of these is accounting acceptance: only receipt lines acknowledged through a payment reconciliation are.

Available options:
downloaded,
delivered,
failed

Response

Identical safe retry.

accountingAcceptance
enum<string>
required

pending: no receipt line has acknowledged this Payment. partially_acknowledged: some of the allocated amount is acknowledged. acknowledged: every allocated amount is acknowledged. held: a receipt line differs and affected actions are held. Derived only from payment reconciliations, never from delivery attempts or reads.

Available options:
pending,
partially_acknowledged,
acknowledged,
held
allocations
object[]
required
confirmedAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
delivery
object
required
deliveryOwner
string
required

The agreed owner of receipt delivery for this connection. Only the owner may retrieve, deliver and acknowledge.

Allowed value: "partner"
externalPaymentRequestId
string
required
Pattern: ^[A-Za-z0-9_-]{1,128}$
paymentAmount
object
required
paymentReference
string<uuid>
required

A stable opaque reference to the confirmed Payment.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
reconciliations
string[]
required

Identifiers of the payment reconciliations that acknowledged this Payment.

Pattern: ^[A-Za-z0-9_-]{1,128}$
unappliedAmount
object
required
unmatchedAmount
object
required