Create a capture
POST
/accounts/{accountID}/transfers/{transferID}/captures
Create a capture against an auth-capture card-payment transfer.
The accountID must identify the partner account for the transfer.
To access this endpoint using an access token
you'll need to specify the /accounts/{accountID}/transfers.write scope.
curl -X POST "https://api.moov.io/accounts/{accountID}/transfers/{transferID}/captures" \
-H "Authorization: Bearer {token}" \
-H "X-Moov-Version: v2026.10.00" \
-H "X-Idempotency-Key: 7d8f2a64-4b1e-4c3a-9f2d-1e5b6c7a8d90"The resource was successfully created.
{
"captureID": "67u5hqjljjgi5hy2nvnty7uksa_capt",
"amount": {
"currency": "USD",
"valueDecimal": "25.00"
},
"isFinal": false,
"status": "completed",
"createdOn": "2024-08-24T14:15:22Z"
}Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The server could not understand the request due to invalid syntax.
{
"error": "string"
}Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request contained missing or expired authentication.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The user is not authorized to make the request.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The requested resource was not found.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request conflicted with the current state of the target resource.
{
"error": "string"
}Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
Descriptions of any field validations that failed on a capture request.
{
"amount": {
"currency": "string",
"valueDecimal": "string"
},
"isFinal": "string",
"description": "string",
"facilitatorFeeAmount": {
"currency": "string",
"valueDecimal": "string"
},
"metadata": "string",
"foreignID": "string",
"lineItems": {
"items": {
"property1": {
"productID": "string",
"name": "string",
"basePrice": {
"currency": "string",
"valueDecimal": "string"
},
"options": {
"property1": {
"name": "string",
"group": "string",
"priceModifier": {
"currency": "string",
"valueDecimal": "string"
},
"quantity": "string",
"imageIDs": "string"
},
"property2": {
"name": "string",
"group": "string",
"priceModifier": {
"currency": "string",
"valueDecimal": "string"
},
"quantity": "string",
"imageIDs": "string"
}
},
"quantity": "string",
"imageIDs": "string"
},
"property2": {
"productID": "string",
"name": "string",
"basePrice": {
"currency": "string",
"valueDecimal": "string"
},
"options": {
"property1": {
"name": "string",
"group": "string",
"priceModifier": {
"currency": "string",
"valueDecimal": "string"
},
"quantity": "string",
"imageIDs": "string"
},
"property2": {
"name": "string",
"group": "string",
"priceModifier": {
"currency": "string",
"valueDecimal": "string"
},
"quantity": "string",
"imageIDs": "string"
}
},
"quantity": "string",
"imageIDs": "string"
}
}
},
"amountDetails": {
"tip": "string",
"tax": "string",
"surcharge": "string"
}
}Response headers
x-request-id
string
required
A unique identifier used to trace requests.
Request was refused due to rate limiting.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request failed due to an unexpected error.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
The request failed because a downstream service failed to respond.
Response headers
x-request-id
string
required
A unique identifier used to trace requests.
Headers
X-Moov-Version
string
Set this header to v2026.10.00 to use the API described in this specification.
When omitted, the server defaults to v2024.01.00, the earliest supported version, which may not match the behavior documented here.
An unrecognized well-formed version uses the latest supported version that is not newer than the requested version, when one exists.
For example,
v2026.08.00 uses v2026.07.00.
A malformed value, such as 2022, returns a 404 response.
Possible values:
v2026.10.00
Path parameters
Body
application/json
amountDetails
object
description
string
<=256 characters
An optional description of the capture that is used on receipts and for your own internal use.
facilitatorFeeAmount
object
The facilitator fee applied to this capture.
The transfer's facilitator fee is the sum of its capture fees.
foreignID
string
<=128 characters
Optional alias from a foreign/external system which can be used to reference this resource.
isFinal
boolean
Indicates whether this is intended to be the final capture.
When
true, any remaining capturable amount is voided.
lineItems
object
An optional collection of line items for a transfer.
When line items are provided, their total plus tax must equal the transfer amount.
Show child attributes
lineItems
items
array<object>
required
The list of line items.
Show child attributes
lineItems.items[]
imageIDs
array<string>
deprecated
Optional list of images associated with this line item.
This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
options
array<object>
Optional list of modifiers applied to this item (e.g., toppings, upgrades, customizations).
Show child attributes
lineItems.items[].options[]
group
string
<=100 characters
Optional group identifier to categorize related options (e.g., 'toppings').
imageIDs
array<string>
deprecated
Optional list of images associated with this line item option.
This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
Response
captureID
string
required
Identifier for the capture.
A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
amountDetails
object
description
string
<=256 characters
An optional description of the capture that is used on receipts and for your own internal use.
facilitatorFeeAmount
object
The facilitator fee applied to this capture.
The transfer's facilitator fee is the sum of its capture fees.
failureCode
string<enum>
Possible values:
call-issuer,
do-not-honor,
processing-error,
invalid-transaction,
invalid-amount,
no-such-issuer,
reenter-transaction,
cvv-mismatch,
lost-or-stolen,
insufficient-funds,
invalid-card-number,
invalid-merchant,
expired-card,
incorrect-pin,
transaction-not-allowed,
suspected-fraud,
amount-limit-exceeded,
velocity-limit-exceeded,
revocation-of-authorization,
card-not-activated,
issuer-not-available,
could-not-route,
cardholder-account-closed,
account-closed,
account-not-activated,
authentication-failed,
authentication-required,
cardholder-action-required,
format-error,
invalid-pin,
offline-approved,
offline-declined,
partial-approval,
payment-stopped,
pin-required,
record-not-found,
surcharge-not-permitted,
transaction-reversed,
verification-failed,
unknown-issue,
duplicate-transaction
foreignID
string
<=128 characters
Optional alias from a foreign/external system which can be used to reference this resource.
lineItems
object
An optional collection of line items for a transfer.
When line items are provided, their total plus tax must equal the transfer amount.
Show child attributes
lineItems
items
array<object>
required
The list of line items.
Show child attributes
lineItems.items[]
options
array<object>
Optional list of modifiers applied to this item (e.g., toppings, upgrades, customizations).
Show child attributes
lineItems.items[].options[]
group
string
<=100 characters
Optional group identifier to categorize related options (e.g., 'toppings').
images
array<object>
Optional list of images associated with this line item option.
Show child attributes
lineItems.items[].options[].images[]