curl --request POST \
--url https://commerce1.on-hellgate.dev/payments/{payment_id}/capture \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"amount": 123,
"currency_code": "<string>",
"distributions": [
{
"amount": 123,
"description": "<string>",
"seller_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
'{
"additional_information": {},
"amount": 123,
"continuation": {
"error": "<string>",
"success": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"currency": "<string>",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"distributions": [
{
"amount": 123,
"description": "<string>",
"seller_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"order_id": "<string>",
"payment_method": {
"created_at": "2023-11-07T05:31:56Z",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"data": {},
"holder": "<string>",
"status": "<string>",
"token": "<string>",
"type": "CARD"
},
"processing": {
"requirement": {
"action": "<string>",
"message": "<string>",
"options": [
{}
]
},
"status": "ACTION_REQUIRED"
},
"processor": {
"amount_authorized": 123,
"amount_captured": 123,
"amount_refunded": 123,
"merchant_id": "<string>",
"name": "<string>"
},
"refunds": [
{
"amount": 123,
"created_at": "2023-11-07T05:31:56Z",
"currency_code": "<string>",
"distributions": [
{
"amount": 123,
"description": "<string>",
"seller_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>"
}
],
"settlements": [
{
"amount": 123,
"currency_code": "<string>",
"date": "2023-11-07T05:31:56Z",
"settlement_item_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"settlement_report_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
],
"status": "OPEN",
"transactions": [
{
"amount": 123,
"ended_at": "2023-11-07T05:31:56Z",
"failure_reasons": [
{
"classifier": "<string>",
"message": "<string>"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processor_name": "<string>",
"processor_transaction_id": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"status": "PENDING",
"transaction_type": "AUTHORIZE"
}
]
}Idempotency key
Payment ID
Body
Success
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
OPEN, AUTHORIZED, ACCEPTED, FAILED, COMPLETED, VOIDED Show child attributes
curl --request POST \
--url https://commerce1.on-hellgate.dev/payments/{payment_id}/capture \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"amount": 123,
"currency_code": "<string>",
"distributions": [
{
"amount": 123,
"description": "<string>",
"seller_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
'{
"additional_information": {},
"amount": 123,
"continuation": {
"error": "<string>",
"success": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"currency": "<string>",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"distributions": [
{
"amount": 123,
"description": "<string>",
"seller_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"order_id": "<string>",
"payment_method": {
"created_at": "2023-11-07T05:31:56Z",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"data": {},
"holder": "<string>",
"status": "<string>",
"token": "<string>",
"type": "CARD"
},
"processing": {
"requirement": {
"action": "<string>",
"message": "<string>",
"options": [
{}
]
},
"status": "ACTION_REQUIRED"
},
"processor": {
"amount_authorized": 123,
"amount_captured": 123,
"amount_refunded": 123,
"merchant_id": "<string>",
"name": "<string>"
},
"refunds": [
{
"amount": 123,
"created_at": "2023-11-07T05:31:56Z",
"currency_code": "<string>",
"distributions": [
{
"amount": 123,
"description": "<string>",
"seller_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>"
}
],
"settlements": [
{
"amount": 123,
"currency_code": "<string>",
"date": "2023-11-07T05:31:56Z",
"settlement_item_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"settlement_report_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
],
"status": "OPEN",
"transactions": [
{
"amount": 123,
"ended_at": "2023-11-07T05:31:56Z",
"failure_reasons": [
{
"classifier": "<string>",
"message": "<string>"
}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processor_name": "<string>",
"processor_transaction_id": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"status": "PENDING",
"transaction_type": "AUTHORIZE"
}
]
}