payments
Capture Payment
post/v2/payments/{id}/capture
Path parameters
idstring required
Example:paym_yWYfCSzsUUhr9KwMv7vuLZHX
Response
Successful Response
Example response
{
"id": "paym_yWYfCSzsUUhr9KwMv7vuLZHX",
"amount": 50,
"auth": {
"device": {
"city": "Paris",
"country": "France",
"http_accept": "application/json",
"ip": "127.0.0.1",
"languages": "en-US,en;q=0.5",
"user_agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0",
"zip_code": "75001"
}
},
"capture": true,
"created": "1512518400",
"currency": "eur",
"customer": {
"id": "cust_yWYfCSzsUUhr9KwMv7vuLZHX",
"country": "FR",
"created": "UniqueId123",
"date_birth": "1950-05-04",
"email": "test@test.com",
"external_id": "UniqueId123",
"legal_id": "AA732A82C93V20",
"mobile": "+33100000000",
"name": "Arthur Martin",
"billing_address": "addr_yWYfCSzsUUhr9KwMv7vuLZHX",
"shipping_address": "addr_yWYfCSzsUUhr9KwMv7vuLZHX"
},
"date_settlement": "2021-09-10",
"date_bank": "2021-09-11",
"description": "A simple description",
"device": {
"city": "Paris",
"country": "France",
"http_accept": "application/json",
"ip": "127.0.0.1",
"languages": "en-US,en;q=0.5",
"user_agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0",
"zip_code": "75001"
},
"fee": 2,
"methods_allowed": [
"card",
"sepa"
],
"order_id": "NonUniqueId123",
"unique_id": "UniqueId123",
"response": "00",
"return_url": "https://stancer.com",
"card": {
"brand": "visa",
"country": "FR",
"created": "1512518400",
"exp_month": 12,
"exp_year": 2022,
"external_id": "UniqueId123",
"id": "card_yWYfCSzsUUhr9KwMv7vuLZHX",
"last4": "4242",
"name": "My card",
"zip_code": "75001"
},
"sepa": {
"bic": "TESTFRPP",
"date_mandate": "2023-04-18",
"id": "sepa_yWYfCSzsUUhr9KwMv7vuLZHX",
"last4": "2606",
"mandate": "5439018654a7585dfghj637192Dfdf5867604gs528",
"name": "Sepa1",
"customer": "cust_yWYfCSzsUUhr9KwMv7vuLZHX"
},
"payout": "pout_yWYfCSzsUUhr9KwMv7vuLZHX",
"billing_address": "addr_yWYfCSzsUUhr9KwMv7vuLZHX",
"shipping_address": "addr_yWYfCSzsUUhr9KwMv7vuLZHX",
"payment_intent": "pi_yWYfCSzsUUhr9KwMv7vuLZHX"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.