Create payment resource
Creates a payment resource to represent that an invoice was paid outside of the Moov platform. If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
To access this endpoint using an access token
you'll need to specify the /accounts/{accountID}/invoices.write scope.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
"amount": {
"currency": "USD",
"valueDecimal": "500.00"
},
"external": {
"description": "Payment via external system",
"foreignID": "EXT-PAY-12345",
"paymentDate": "2026-01-20T14:45:00Z"
},
"invoicePaymentID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"invoicePaymentType": "external"
}Response headers
x-request-id
string
<uuid>
required
{
"error": "string"
}Response headers
x-request-id
string
<uuid>
required
Response headers
x-request-id
string
<uuid>
required
Response headers
x-request-id
string
<uuid>
required
Response headers
x-request-id
string
<uuid>
required
{
"error": "string"
}Response headers
x-request-id
string
<uuid>
required
{
"amount": {
"currency": "string",
"valueDecimal": "string"
},
"foreignID": "string",
"description": "string",
"paymentDate": "string"
}Response headers
x-request-id
string
<uuid>
required
Response headers
x-request-id
string
<uuid>
required
Response headers
x-request-id
string
<uuid>
required
Response headers
x-request-id
string
<uuid>
required
Headers
X-Moov-Version
string
Specify an API version.
API versioning follows the format vYYYY.QQ.BB, where
YYYYis the yearQQis the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)BBis the build number, starting at.01, for subsequent builds in the same quarter.- For example,
v2024.01.00is the initial release of the first quarter of 2024.
- For example,
The latest version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
When no version is specified, the API defaults to v2024.01.00.
Path parameters
accountID
string
<uuid>
required
invoiceID
string
<uuid>
required
Body
amount
object
required
Show child attributes
currency
string
required
Pattern
valueDecimal
string
required
Pattern
A decimal-formatted numerical string that represents up to 9 decimal place precision.
For example, $12.987654321 is '12.987654321'.
description
string
foreignID
string
<=128 characters
paymentDate
string<date-time>
Response
amount
object
required
Show child attributes
currency
string
required
Pattern
valueDecimal
string
required
Pattern
A decimal-formatted numerical string that represents up to 9 decimal place precision.
For example, $12.987654321 is '12.987654321'.
invoicePaymentID
string
<=36 characters
required
invoicePaymentType
string<enum>
required
transfer,
external
external
object
Show child attributes
description
string
foreignID
string
paymentDate
string<date-time>
transfer
object
Show child attributes
transferID
string
<=36 characters
required