captureAmount is not yet supported and is ignored. Every capture is for the full authorized amount. Send an empty body.
captureAmount
integer
Not yet supported. If sent, it is ignored and the full authorized amount is captured.
Required range: x >= 1
Example:
12997
Response
OK
paymentId
string
Unique identifier for the payment generated by the system.
Maximum string length: 32
Example:
"pay_1234567890abcdef"
merchantReference
string
Reference passed in by the merchant for correlation.
Example:
"ORDER-12345"
amount
integer
Amount processed in the smallest currency unit.
Example:
12997
currency
enum<string>
ISO 4217 currency code used in the payment. Currently only USD is supported.
Available options:
USD
Example:
"USD"
status
enum<string>
Current state of the payment.
Available options:
PENDING,
AUTHORIZED,
CAPTURED,
REFUNDED,
VOIDED,
FAILED
Example:
"CAPTURED"
paymentMethod
object
The chosen payment method details (e.g., card). Sensitive fields are masked in responses.
Show child attributes
captureNow
boolean
Determines how the payment is processed. Default: false → Authorization only (funds reserved, must capture later). If true → Sale (authorize and capture in one step).
Example:
true
descriptor
string
Not currently passed to the customer's statement. On Paymend MIDs, the statement shows the domain of the store in source.storeId.
Example:
"MyStore Online"
goodsType
enum<string>
Type of goods being purchased: PHYSICAL = tangible items, DIGITAL = non-physical items, MIXED = combination of both.
Available options:
PHYSICAL,
DIGITAL,
MIXED
Example:
"MIXED"
productItems
object[]
List of product or service items included in this payment.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Paymend API documentation","description":"Paymend is a revenue recovery engine that helps global merchants to unlock revenue from failed transactions.","colors":{"primary":"#BEB9FE","light":"#F5F3F9","dark":"#3D2E5F"},"logo":{"light":"https://mintcdn.com/paymend/cs7-Op59jD939zYw/images/icon_logo_black.png?fit=max\u0026auto=format\u0026n=cs7-Op59jD939zYw\u0026q=85\u0026s=eef12e728cbb57bd521991836b4134f7","dark":"https://mintcdn.com/paymend/cs7-Op59jD939zYw/images/icon_logo_white.png?fit=max\u0026auto=format\u0026n=cs7-Op59jD939zYw\u0026q=85\u0026s=4541a8e088e74212e715e0c472b80a53"},"favicon":{"light":"https://mintcdn.com/paymend/cs7-Op59jD939zYw/images/icon_lila_black.png?fit=max\u0026auto=format\u0026n=cs7-Op59jD939zYw\u0026q=85\u0026s=5c1c996a9cda828659a41dd9ecb64f4e","dark":"https://mintcdn.com/paymend/cs7-Op59jD939zYw/images/icon_black_white.png?fit=max\u0026auto=format\u0026n=cs7-Op59jD939zYw\u0026q=85\u0026s=de10a1aa7351c6f5fbc3abcd2c1f4e45"},"api":{"openapi":"api-reference/openapi.json"},"navbar":{},"footer":{},"seo":{"metatags":{"og:title":"Paymend API documentation","og:description":"Paymend is a revenue recovery engine that helps global merchants to unlock revenue from failed transactions.","og:image":"/images/Meta_Image-API.png"}},"fonts":{"family":"Geist"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"thumbnails":{"background":"https://mintcdn.com/paymend/cs7-Op59jD939zYw/images/Meta_Image-API.png?fit=max\u0026auto=format\u0026n=cs7-Op59jD939zYw\u0026q=85\u0026s=3a6944d653e3a745daac3b8d7fa75f69"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"paymend","hasAudioNarration":false,"actualSubdomain":"paymend","customDomains":["docs.paymend.com"],"gitSource":{"type":"github","owner":"paymend","repo":"public-api-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b04170393edbf63bed82809","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"API reference","count":24},{"language":"default","tag":"API Objects","count":18},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Process payments","count":16},{"language":"default","tag":"Reporting","count":8},{"language":"default","tag":"Endpoints","count":5},{"language":"default","tag":"API documentation","count":1},{"language":"default","tag":"Updates","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/capture","slug":"/api-reference/endpoint/capture","pageMetadata":{"title":"Capture payment","openapi":"POST /api/v1/payments/{paymentId}/capture","description":null,"href":"/api-reference/endpoint/capture"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Capture payment","openapi":"POST /api/v1/payments/{paymentId}/capture","description":null,"href":"/api-reference/endpoint/capture"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["payment-controller"],"operationId":"capturePayment","parameters":["5951bd98-7af4-458f-8080-b8bb9104e0da"],"requestBody":"1cb07cdf-8fe6-4e16-965a-72f202c45a72","responses":{"200":"9845e81a-9037-49ef-be86-dfc46890b7de","400":"544a14ee-f8c0-407d-86ff-069755677d6a","401":"111aa6ec-af02-4d5e-b3f2-d94db8efbe32","402":"f2471167-1b4a-44d6-ba59-b52306f4cc07","404":"e654ded0-dc36-45e5-9867-10da2630a52d","422":"d56b6985-3de0-40c3-a61b-b662fe5be698","429":"7cbd28f0-7215-4b75-b3e8-e629447a680a","500":"5d0e1e7d-4988-4743-82ef-9e9bd26937a9","503":"9eca992d-6c83-4fe8-bc16-7c4e9b4951c7"},"method":"post","type":"path","servers":["9f6ca6a6-d8a2-42e9-ba89-41e2a0395a60","38708d2c-c656-4e9e-a949-3bd132ac9bf8"],"security":["440fb063-faa4-483f-87b8-00a309dbd383"],"path":"/api/v1/payments/{paymentId}/capture","baseUrlOptions":["https://api.sandbox.paymend.com","https://api.prod.paymend.com"],"title":"","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"5951bd98-7af4-458f-8080-b8bb9104e0da":{"name":"paymentId","in":"path","required":true,"schema":{"type":"string","maxLength":32,"isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"`captureAmount` is not yet supported and is ignored. Every capture is for the full authorized amount. Send an empty body.","properties":{"captureAmount":{"type":"integer","minimum":1,"description":"Not yet supported. If sent, it is ignored and the full authorized amount is captured.","example":12997,"uniqueKey":"captureAmount","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"captureAmount":12997}}},"exampleType":"generated"}},"required":false,"exampleType":"generated"},"responses":{"9845e81a-9037-49ef-be86-dfc46890b7de":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"paymentId":{"type":"string","maxLength":32,"description":"Unique identifier for the payment generated by the system.","example":"pay_1234567890abcdef","uniqueKey":"paymentId","typeLabel":"string"},"merchantReference":{"type":"string","description":"Reference passed in by the merchant for correlation.","example":"ORDER-12345","uniqueKey":"merchantReference","typeLabel":"string"},"amount":{"type":"integer","description":"Amount processed in the smallest currency unit.","example":12997,"uniqueKey":"amount","typeLabel":"integer"},"currency":{"type":"string","enum":["USD"],"description":"ISO 4217 currency code used in the payment. Currently only USD is supported.","example":"USD","uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["PENDING","AUTHORIZED","CAPTURED","REFUNDED","VOIDED","FAILED"],"description":"Current state of the payment.","example":"CAPTURED","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"paymentMethod":{"type":"object","properties":{"type":{"type":"string","enum":["CARD","ENCRYPTED_CARD"],"description":"Payment method type. Supported values: CARD and ENCRYPTED_CARD.","example":"CARD","isRequired":true,"uniqueKey":"paymentMethod.type","typeLabel":"enum\u003cstring>"},"card":{"type":"object","properties":{"bin":{"type":"string","description":"Bank Identification Number (BIN) - first 8 digits for Visa/Mastercard, first 6 digits for Amex.","example":"41111111","isRequired":true,"uniqueKey":"paymentMethod.card.bin","typeLabel":"string"},"holderName":{"type":"string","description":"Name printed on the card.","example":"John Doe","isRequired":true,"uniqueKey":"paymentMethod.card.holderName","typeLabel":"string"},"expiryMonth":{"type":"string","pattern":"^(0[1-9]|1[0-2])$","description":"Expiry month of the card, in MM format (01–12).","example":"12","isRequired":true,"uniqueKey":"paymentMethod.card.expiryMonth","typeLabel":"string"},"expiryYear":{"type":"string","pattern":"^[0-9]{4}$","description":"Expiry year of the card, in YYYY format.","example":"2030","isRequired":true,"uniqueKey":"paymentMethod.card.expiryYear","typeLabel":"string"},"last4":{"type":"string","description":"Last 4 digits of the card number.","example":"1111","uniqueKey":"paymentMethod.card.last4","typeLabel":"string"},"cvvPresentDuringAttempt":{"type":"boolean","description":"Indicates whether CVV was provided during the payment attempt.","example":true,"uniqueKey":"paymentMethod.card.cvvPresentDuringAttempt","typeLabel":"boolean"},"brand":{"type":"string","enum":["MASTERCARD","VISA","AMEX","DISCOVER","JCB","DINERS"],"description":"Card brand. Accepted values: MASTERCARD, VISA, AMEX, DISCOVER, JCB, DINERS.","example":"VISA","uniqueKey":"paymentMethod.card.brand","typeLabel":"enum\u003cstring>"}},"required":["holderName","expiryMonth","expiryYear","bin"],"description":"Card details (required if type=CARD). Sensitive fields are masked in responses.","uniqueKey":"paymentMethod.card","typeLabel":"object"},"encryptedCard":{"type":"object","description":"Encrypted card details (required if type=ENCRYPTED_CARD). Sensitive fields are masked in responses.","properties":{"bin":{"type":"string","description":"Bank Identification Number (BIN) - first 8 digits for Visa/Mastercard, first 6 digits for Amex.","example":"55555555","isRequired":true,"uniqueKey":"paymentMethod.encryptedCard.bin","typeLabel":"string"},"holderName":{"type":"string","description":"Name printed on the card.","example":"Jane Smith","isRequired":true,"uniqueKey":"paymentMethod.encryptedCard.holderName","typeLabel":"string"},"expiryMonth":{"type":"string","pattern":"^(0[1-9]|1[0-2])$","description":"Expiry month of the card, in MM format (01–12).","example":"06","isRequired":true,"uniqueKey":"paymentMethod.encryptedCard.expiryMonth","typeLabel":"string"},"expiryYear":{"type":"string","pattern":"^[0-9]{4}$","description":"Expiry year of the card, in YYYY format.","example":"2030","isRequired":true,"uniqueKey":"paymentMethod.encryptedCard.expiryYear","typeLabel":"string"},"cvvPresentDuringAttempt":{"type":"boolean","description":"Indicates whether CVV was provided during the payment attempt.","example":false,"uniqueKey":"paymentMethod.encryptedCard.cvvPresentDuringAttempt","typeLabel":"boolean"},"brand":{"type":"string","enum":["MASTERCARD","VISA","AMEX","DISCOVER","JCB","DINERS"],"description":"Card brand. Accepted values: MASTERCARD, VISA, AMEX, DISCOVER, JCB, DINERS.","example":"MASTERCARD","uniqueKey":"paymentMethod.encryptedCard.brand","typeLabel":"enum\u003cstring>"}},"required":["holderName","expiryMonth","expiryYear","bin"],"uniqueKey":"paymentMethod.encryptedCard","typeLabel":"object"}},"required":["type"],"description":"The chosen payment method details (e.g., card). Sensitive fields are masked in responses.","uniqueKey":"paymentMethod","typeLabel":"object"},"captureNow":{"type":"boolean","description":"Determines how the payment is processed. Default: false → Authorization only (funds reserved, must capture later). If true → Sale (authorize and capture in one step).","example":true,"uniqueKey":"captureNow","typeLabel":"boolean"},"descriptor":{"type":"string","description":"Not currently passed to the customer's statement. On Paymend MIDs, the statement shows the domain of the store in `source.storeId`.","example":"MyStore Online","uniqueKey":"descriptor","typeLabel":"string"},"goodsType":{"type":"string","enum":["PHYSICAL","DIGITAL","MIXED"],"description":"Type of goods being purchased: PHYSICAL = tangible items, DIGITAL = non-physical items, MIXED = combination of both.","example":"MIXED","uniqueKey":"goodsType","typeLabel":"enum\u003cstring>"},"productItems":{"type":"array","description":"List of product or service items included in this payment.","items":{"type":"object","description":"Represents a single product or service item within a payment.","properties":{"id":{"type":"string","description":"Unique identifier of the product or service in the merchant's catalog.","example":"PROD-001","isRequired":true,"uniqueKey":"productItems.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Name or description of the item.","example":"Wireless Keyboard","isRequired":true,"uniqueKey":"productItems.items.[INDEX].name","typeLabel":"string"},"quantity":{"type":"integer","minimum":1,"description":"Quantity of this item being purchased.","example":2,"isRequired":true,"uniqueKey":"productItems.items.[INDEX].quantity","typeLabel":"integer"},"unitPrice":{"type":"integer","minimum":1,"description":"Unit price in the smallest currency unit (e.g., cents).","example":1999,"isRequired":true,"uniqueKey":"productItems.items.[INDEX].unitPrice","typeLabel":"integer"},"goodsType":{"type":"string","enum":["PHYSICAL","DIGITAL"],"description":"Type of item — physical or digital goods.","example":"PHYSICAL","isRequired":true,"uniqueKey":"productItems.items.[INDEX].goodsType","typeLabel":"enum\u003cstring>"}},"required":["id","name","quantity","unitPrice","goodsType"],"uniqueKey":"productItems.items.[INDEX]","typeLabel":"object"},"example":[{"id":"PROD-001","name":"Wireless Keyboard","quantity":2,"unitPrice":4999,"goodsType":"PHYSICAL"},{"id":"PROD-002","name":"E-Book Subscription","quantity":1,"unitPrice":2999,"goodsType":"DIGITAL"}],"uniqueKey":"productItems","typeLabel":"object[]"},"consumer":{"type":"object","properties":{"firstName":{"type":"string","description":"Consumer's first name.","example":"John","isRequired":true,"uniqueKey":"consumer.firstName","typeLabel":"string"},"email":{"type":"string","description":"Consumer's email address.","example":"john.doe@example.com","isRequired":true,"uniqueKey":"consumer.email","typeLabel":"string"},"lastName":{"type":"string","description":"Consumer's last name.","example":"Doe","uniqueKey":"consumer.lastName","typeLabel":"string"},"phone":{"type":"string","description":"Consumer's phone number (E.164 format recommended).","example":"+1234567890","uniqueKey":"consumer.phone","typeLabel":"string"},"ip":{"type":"string","description":"Consumer's IP address at the time of purchase.","example":"192.168.1.1","uniqueKey":"consumer.ip","typeLabel":"string"}},"required":["firstName","email"],"description":"Consumer details such as name, email, phone.","uniqueKey":"consumer","typeLabel":"object"},"billing":{"type":"object","properties":{"address":{"type":"object","properties":{"street":{"type":"string","description":"Street address line.","example":"123 Main Street","uniqueKey":"billing.address.street","typeLabel":"string"},"city":{"type":"string","description":"City or locality.","example":"San Francisco","uniqueKey":"billing.address.city","typeLabel":"string"},"country":{"type":"string","description":"Two-letter ISO 3166 country code (e.g., US, DE).","example":"US","uniqueKey":"billing.address.country","typeLabel":"string"},"state":{"type":"string","description":"State, province, or region.","example":"CA","uniqueKey":"billing.address.state","typeLabel":"string"},"zip":{"type":"string","description":"ZIP or postal code.","example":"94105","uniqueKey":"billing.address.zip","typeLabel":"string"}},"description":"Billing address details.","isRequired":true,"uniqueKey":"billing.address","typeLabel":"object"}},"required":["address"],"description":"Billing address information.","uniqueKey":"billing","typeLabel":"object"},"shipping":{"type":"object","properties":{"address":{"type":"object","properties":{"street":{"type":"string","description":"Street address line.","example":"123 Main Street","uniqueKey":"shipping.address.street","typeLabel":"string"},"city":{"type":"string","description":"City or locality.","example":"San Francisco","uniqueKey":"shipping.address.city","typeLabel":"string"},"country":{"type":"string","description":"Two-letter ISO 3166 country code (e.g., US, DE).","example":"US","uniqueKey":"shipping.address.country","typeLabel":"string"},"state":{"type":"string","description":"State, province, or region.","example":"CA","uniqueKey":"shipping.address.state","typeLabel":"string"},"zip":{"type":"string","description":"ZIP or postal code.","example":"94105","uniqueKey":"shipping.address.zip","typeLabel":"string"}},"description":"Shipping address details.","uniqueKey":"shipping.address","typeLabel":"object"},"firstName":{"type":"string","description":"Recipient's first name.","example":"Jane","uniqueKey":"shipping.firstName","typeLabel":"string"},"lastName":{"type":"string","description":"Recipient's last name.","example":"Smith","uniqueKey":"shipping.lastName","typeLabel":"string"}},"description":"Shipping address and recipient details.","uniqueKey":"shipping","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","description":"Timestamp when the payment was created.","example":"2024-01-15T10:30:00Z","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Timestamp when the payment was last updated.","example":"2024-01-15T11:00:00Z","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"transactions":{"type":"array","description":"Array of transaction attempts made for this payment.","items":{"type":"object","description":"Details about a transaction attempt made for a payment.","properties":{"id":{"type":"string","maxLength":32,"description":"Unique identifier for the transaction generated by the system.","example":"AUTH_eUfZ9n3BCPJo","uniqueKey":"transactions.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["SALE","AUTH","VALIDATE","CAPTURE","REFUND","VOID"],"description":"The type of transaction that has been processed.","example":"AUTH","uniqueKey":"transactions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"amount":{"type":"integer","description":"Amount processed in the smallest currency unit.","example":10000,"uniqueKey":"transactions.items.[INDEX].amount","typeLabel":"integer"},"result":{"type":"string","enum":["SUCCEEDED","FAILED"],"description":"Result of the transaction attempt.","example":"FAILED","uniqueKey":"transactions.items.[INDEX].result","typeLabel":"enum\u003cstring>"},"failure":{"type":"object","description":"Details about the cause of a failed transaction. Only present if result is FAILED.","properties":{"failureCode":{"type":"string","description":"Paymend-defined code indicating the reason for failure.","example":"INSUFFICIENT_FUNDS","isRequired":true,"uniqueKey":"transactions.items.[INDEX].failure.failureCode","typeLabel":"string"},"providerFailureCode":{"type":"string","description":"Provider-defined code indicating the reason for failure. On declines this is the scheme response code. On failures Paymend itself produced, such as `REFUND_IN_PROGRESS`, it carries an explanatory sentence instead of a code, so treat it as free text rather than something to match on. Omitted when there is nothing to report.","example":"51","uniqueKey":"transactions.items.[INDEX].failure.providerFailureCode","typeLabel":"string"}},"required":["failureCode"],"uniqueKey":"transactions.items.[INDEX].failure","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","description":"Timestamp when the transaction was created.","example":"2025-12-15T10:22:10Z","uniqueKey":"transactions.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"transactions.items.[INDEX]","typeLabel":"object"},"example":[{"id":"SALE_eUfZ9n3BCPJo","type":"SALE","amount":100,"result":"FAILED","failure":{"failureCode":"INSUFFICIENT_FUNDS","providerFailureCode":"51"},"createdAt":"2025-12-15T10:22:10Z"},{"id":"SALE_pU2HnmS8AcpI","type":"SALE","amount":100,"result":"SUCCEEDED","createdAt":"2025-12-16T10:00:00Z"},{"id":"REFN_KmOODVdcacz5","type":"REFUND","amount":100,"result":"SUCCEEDED","createdAt":"2025-12-17T14:14:14Z"}],"uniqueKey":"transactions","typeLabel":"object[]"},"source":{"type":"object","description":"Details related to where the payment originated.","properties":{"initiatedBy":{"type":"string","enum":["CONSUMER","MERCHANT"],"description":"Indicates who is initiating the payment, the CONSUMER or MERCHANT. Required on every payment: only MERCHANT payments can return PENDING and be retried later.","example":"MERCHANT","isRequired":true,"uniqueKey":"source.initiatedBy","typeLabel":"enum\u003cstring>"},"storeId":{"type":"string","description":"One identifier per website, created by Paymend during onboarding. Use `store_sandbox` in the sandbox.","example":"store_abc123","isRequired":true,"uniqueKey":"source.storeId","typeLabel":"string"},"externalMerchantId":{"type":"string","description":"Optional. Leave null if you use a separate auth token per merchant. Intended for partners who can't set up per-merchant tokens.","example":"merchant_identifier_123","uniqueKey":"source.externalMerchantId","typeLabel":"string"}},"required":["initiatedBy","storeId"],"uniqueKey":"source","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"captured_payment":{"title":"captured_payment","summary":"Successfully captured payment","value":{"paymentId":"pay_1234567890abcdef","merchantReference":"ORDER-12345","amount":12997,"currency":"USD","status":"CAPTURED","paymentMethod":{"type":"card","card":{"bin":"41111111","holderName":"John Doe","cvvPresentDuringAttempt":true,"expiryMonth":"12","expiryYear":"2030","brand":"VISA"}},"captureNow":false,"descriptor":"MyStore Online","goodsType":"MIXED","productItems":[{"id":"PROD-001","name":"Wireless Keyboard","quantity":2,"unitPrice":4999,"goodsType":"PHYSICAL"},{"id":"PROD-002","name":"E-Book Subscription","quantity":1,"unitPrice":2999,"goodsType":"DIGITAL"}],"consumer":{"firstName":"John","lastName":"Doe","email":"john.doe@example.com"},"billing":{"firstName":"John","lastName":"Doe","address":{"line1":"123 Main St","city":"New York","state":"NY","postalCode":"10001","country":"US"}},"shipping":{"firstName":"John","lastName":"Doe","address":{"line1":"123 Main St","city":"New York","state":"NY","postalCode":"10001","country":"US"}},"createdAt":"2024-01-15T10:30:00Z","updatedAt":"2024-01-15T11:00:00Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"544a14ee-f8c0-407d-86ff-069755677d6a":{"description":"Bad Request - Invalid request body or paymentId format. Also returned for a card validation (a payment created with amount `0`), which can't be captured, voided or refunded: the body is the payment with `status: FAILED` and `failure.failureCode` `INVALID_REQUEST`. `status` describes this request; the payment stays `AUTHORIZED`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"INVALID_REQUEST","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"The request body is invalid or paymentId format is invalid","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"example":["paymentId must be a valid string","captureAmount must be a positive integer","captureAmount must be a valid number"],"uniqueKey":"details","typeLabel":"string[]"},"timestamp":{"type":"string","format":"date-time","example":"2024-01-15T10:30:00Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"INVALID_REQUEST","message":"The request body is invalid or paymentId format is invalid","details":["paymentId must be a valid string","captureAmount must be a positive integer","captureAmount must be a valid number"],"timestamp":"2024-01-15T10:30:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"111aa6ec-af02-4d5e-b3f2-d94db8efbe32":{"description":"Unauthorized - Invalid or missing authorization","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"UNAUTHORIZED","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"Invalid or missing authorization token","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"example":["Authorization header is required","Token has expired","Invalid token format"],"uniqueKey":"details","typeLabel":"string[]"},"timestamp":{"type":"string","format":"date-time","example":"2024-01-15T10:30:00Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"UNAUTHORIZED","message":"Invalid or missing authorization token","details":["Authorization header is required","Token has expired","Invalid token format"],"timestamp":"2024-01-15T10:30:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"f2471167-1b4a-44d6-ba59-b52306f4cc07":{"description":"Payment Required - Capture declined. See `failure.failureCode`. `status: FAILED` describes this capture attempt, not the payment: the payment keeps its previous status (normally `AUTHORIZED`). Use `GET /v1/payments/{paymentId}` to read the payment's current status.","content":{"application/json":{"schema":{"type":"object","properties":{"paymentId":{"type":"string","maxLength":32,"description":"Unique identifier for the payment generated by the system.","example":"pay_1234567890abcdef","uniqueKey":"paymentId","typeLabel":"string"},"merchantReference":{"type":"string","description":"Reference passed in by the merchant for correlation.","example":"ORDER-12345","uniqueKey":"merchantReference","typeLabel":"string"},"amount":{"type":"integer","description":"Amount of the operation this request attempted, in the smallest currency unit. For a partial refund this is the refund amount requested, not the payment amount. Omitted when the request carried no amount, which is the case for a full refund.","example":12997,"uniqueKey":"amount","typeLabel":"integer"},"currency":{"type":"string","enum":["USD"],"description":"ISO 4217 currency code used in the payment. Currently only USD is supported.","example":"USD","uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["FAILED"],"description":"Result of the operation this request attempted (payment creation, capture, refund or void). Always `FAILED` in a `402` response. This is the status of the attempt, not always the status of the payment: for payment creation they are the same, but after a failed capture, refund or void the payment keeps its previous status. Use `GET /v1/payments/{paymentId}` to read the payment's current status.","example":"FAILED","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"failure":{"type":"object","description":"Details about why the attempted operation failed.","properties":{"failureCode":{"type":"string","description":"Paymend-defined code indicating the reason for failure.","example":"INSUFFICIENT_FUNDS","isRequired":true,"uniqueKey":"failure.failureCode","typeLabel":"string"},"providerFailureCode":{"type":"string","description":"Provider-defined code indicating the reason for failure. On declines this is the scheme response code. On failures Paymend itself produced, such as `REFUND_IN_PROGRESS`, it carries an explanatory sentence instead of a code, so treat it as free text rather than something to match on. Omitted when there is nothing to report.","example":"51","uniqueKey":"failure.providerFailureCode","typeLabel":"string"}},"required":["failureCode"],"uniqueKey":"failure","typeLabel":"object"},"timestamp":{"type":"string","description":"When the failure was produced, as an ISO 8601 date and time **without a zone offset**, in UTC. Don't parse it as local time.","example":"2026-11-09T18:12:19.302018273","uniqueKey":"timestamp","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"paymentId":"pay_1234567890abcdef","merchantReference":"ORDER-12345","amount":12997,"currency":"USD","status":"FAILED","failure":{"failureCode":"INSUFFICIENT_FUNDS","providerFailureCode":"51"},"timestamp":"2026-11-09T18:12:19.302018273"}}},"exampleType":"generated"}},"exampleType":"generated"},"e654ded0-dc36-45e5-9867-10da2630a52d":{"description":"Not Found - Payment not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"PAYMENT_NOT_FOUND","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"Payment not found","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"example":["No payment found with the specified paymentId"],"uniqueKey":"details","typeLabel":"string[]"},"timestamp":{"type":"string","format":"date-time","example":"2024-01-15T10:30:00Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"PAYMENT_NOT_FOUND","message":"Payment not found","details":["No payment found with the specified paymentId"],"timestamp":"2024-01-15T10:30:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"d56b6985-3de0-40c3-a61b-b662fe5be698":{"description":"Unprocessable Entity - Payment cannot be captured because it is not authorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"CAPTURE_NOT_ALLOWED","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"Capture cannot be processed","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"example":["Payment has not been authorized","Capture amount exceeds authorized amount","Payment has already been captured"],"uniqueKey":"details","typeLabel":"string[]"},"timestamp":{"type":"string","format":"date-time","example":"2024-01-15T10:30:00Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"CAPTURE_NOT_ALLOWED","message":"Capture cannot be processed","details":["Payment has not been authorized","Capture amount exceeds authorized amount","Payment has already been captured"],"timestamp":"2024-01-15T10:30:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"7cbd28f0-7215-4b75-b3e8-e629447a680a":{"description":"Too Many Requests - Rate limit of 1,500 requests per minute per source IP exceeded. Retry after a short wait.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"TOO_MANY_REQUESTS","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"Rate limit exceeded","uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","example":"2024-01-15T10:30:00Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"TOO_MANY_REQUESTS","message":"Rate limit exceeded","timestamp":"2024-01-15T10:30:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"5d0e1e7d-4988-4743-82ef-9e9bd26937a9":{"description":"Internal Server Error - Unexpected server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"INTERNAL_ERROR","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"An unexpected server error occurred","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"example":["Please try again later","Contact support if the issue persists"],"uniqueKey":"details","typeLabel":"string[]"},"timestamp":{"type":"string","format":"date-time","example":"2024-01-15T10:30:00Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"INTERNAL_ERROR","message":"An unexpected server error occurred","details":["Please try again later","Contact support if the issue persists"],"timestamp":"2024-01-15T10:30:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"9eca992d-6c83-4fe8-bc16-7c4e9b4951c7":{"description":"Service Unavailable - Temporarily unavailable. Nothing was processed; retry with backoff.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"PROVIDER_UNAVAILABLE","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"Payment capturing is temporarily unavailable","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"example":["Payment provider is experiencing issues","Please retry in a few minutes"],"uniqueKey":"details","typeLabel":"string[]"},"timestamp":{"type":"string","format":"date-time","example":"2024-01-15T10:30:00Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"PROVIDER_UNAVAILABLE","message":"Payment capturing is temporarily unavailable","details":["Payment provider is experiencing issues","Please retry in a few minutes"],"timestamp":"2024-01-15T10:30:00Z"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"440fb063-faa4-483f-87b8-00a309dbd383":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Enter your API token","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"9f6ca6a6-d8a2-42e9-ba89-41e2a0395a60":{"url":"https://api.sandbox.paymend.com","description":"Sandbox"},"38708d2c-c656-4e9e-a949-3bd132ac9bf8":{"url":"https://api.prod.paymend.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Enter your API token","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Enter your API token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"paymend","siteName":"Paymend API documentation","title":"Paymend API documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T08:26:04.381Z","originalFileLocation":"api-reference/endpoint/capture.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Paymend API documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/paymend/xHtwedxY4FLFiuup/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/paymend/xHtwedxY4FLFiuup/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/paymend/xHtwedxY4FLFiuup/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/paymend/xHtwedxY4FLFiuup/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/paymend/xHtwedxY4FLFiuup/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/paymend/xHtwedxY4FLFiuup/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/paymend/xHtwedxY4FLFiuup/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/paymend/xHtwedxY4FLFiuup/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/paymend/xHtwedxY4FLFiuup/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Paymend API documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Paymend is a revenue recovery engine that helps global merchants to unlock revenue from failed transactions.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Paymend API documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.paymend.com/api-reference/endpoint/capture\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://paymend.mintlify.site/images/Meta_Image-API.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Paymend API documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Paymend is a revenue recovery engine that helps global merchants to unlock revenue from failed transactions.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://paymend.mintlify.site/images/Meta_Image-API.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/paymend/xHtwedxY4FLFiuup/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Paymend API documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#BEB9FE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.paymend.com/api-reference/endpoint/capture\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/capture.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.paymend.com/#organization\",\"name\":\"Paymend API documentation\",\"url\":\"https://docs.paymend.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/paymend/cs7-Op59jD939zYw/images/icon_logo_black.png?fit=max\u0026auto=format\u0026n=cs7-Op59jD939zYw\u0026q=85\u0026s=eef12e728cbb57bd521991836b4134f7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.paymend.com#website\",\"name\":\"Paymend API documentation\",\"url\":\"https://docs.paymend.com\",\"publisher\":{\"@id\":\"https://docs.paymend.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.paymend.com/api-reference/endpoint/capture#webpage\",\"url\":\"https://docs.paymend.com/api-reference/endpoint/capture\",\"name\":\"Capture payment\",\"dateModified\":\"2026-11-10T08:26:04.381Z\",\"isPartOf\":{\"@id\":\"https://docs.paymend.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.paymend.com/api-reference/endpoint/capture#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.paymend.com/api-reference/endpoint/capture#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.paymend.com/api-reference/endpoint/payment\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Capture payment\",\"item\":\"https://docs.paymend.com/api-reference/endpoint/capture\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.paymend.com/api-reference/endpoint/capture#apireference\",\"headline\":\"Capture payment\",\"name\":\"Capture payment\",\"url\":\"https://docs.paymend.com/api-reference/endpoint/capture\",\"mainEntityOfPage\":{\"@id\":\"https://docs.paymend.com/api-reference/endpoint/capture#webpage\"},\"image\":\"https://docs.paymend.com/images/Meta_Image-API.png\",\"dateModified\":\"2026-11-10T08:26:04.381Z\",\"publisher\":{\"@id\":\"https://docs.paymend.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.paymend.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Paymend API documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Paymend API documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/capture.md","siteName":"Paymend API documentation","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/welcome-to-the-paymend-api"}]},{"tab":"API reference","groups":[{"group":"API documentation","pages":[{"title":"Failure Codes","href":"/api-reference/failure-codes"}]},{"group":"Endpoints","pages":[{"title":"Create payment","openapi":"POST /api/v1/payments","href":"/api-reference/endpoint/payment"},{"title":"Get payment","openapi":"GET /api/v1/payments/{paymentId}","description":null,"href":"/api-reference/endpoint/payment-details"},{"title":"Capture payment","openapi":"POST /api/v1/payments/{paymentId}/capture","href":"/api-reference/endpoint/capture"},{"title":"Refund payment","openapi":"POST /api/v1/payments/{paymentId}/refund","description":null,"href":"/api-reference/endpoint/refund"},{"title":"Void payment","openapi":"POST /api/v1/payments/{paymentId}/void","href":"/api-reference/endpoint/void"}]},{"group":"API Objects","pages":[{"title":"Payment","href":"/api-reference/objects/payment"},{"title":"PaymentResponse","href":"/api-reference/objects/payment-response"},{"title":"RefundRequest","href":"/api-reference/objects/refund-request"},{"title":"CaptureRequest","href":"/api-reference/objects/capture-request"},{"title":"Address","href":"/api-reference/objects/address"},{"title":"Billing","href":"/api-reference/objects/billing"},{"title":"Card","href":"/api-reference/objects/card"},{"title":"Card response","href":"/api-reference/objects/card-response"},{"title":"Consumer","href":"/api-reference/objects/consumer"},{"title":"Encrypted card","href":"/api-reference/objects/encrypted-card"},{"title":"Encrypted card response","href":"/api-reference/objects/encrypted-card-response"},{"title":"Failure","href":"/api-reference/objects/failure"},{"title":"PaymentMethod","href":"/api-reference/objects/payment-method"},{"title":"ProductItem","href":"/api-reference/objects/product-item"},{"title":"PreviousFailure","href":"/api-reference/objects/previous-failure"},{"title":"Source","href":"/api-reference/objects/source"},{"title":"Shipping","href":"/api-reference/objects/shipping"},{"title":"Transaction","href":"/api-reference/objects/transaction"}]}]}]},"basePath":"","title":"Paymend API documentation","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}