List payment session captures
Changed onReturns a paginated list of captures for a payment session. Each capture includes its status, amount, associated onchain transactions, and timestamps. Only captures accessible by the current API key are returned.
Request
- Base URLhttps://api.cdp.coinbase.com/platform
- AuthHTTP bearer
Path parameters
The ID of the payment session, a UUID prefixed by paymentSession_.
The unique identifier of the payment session.
Query parameters
The number of resources to return per page.
The token for the next page of resources, if any.
Response
Successfully listed captures.
The list of captures.
Example response
{
"captures": [
{
"captureId": "capture_82c879c1-84e1-44ed-a8c2-1ac239cf09ad",
"paymentSessionId": "paymentSession_82c879c1-84e1-44ed-a8c2-1ac239cf09ad",
"status": "succeeded",
"amount": "1.00",
"finalCapture": true,
"metadata": {
"customer_id": "cust_12345",
"order_reference": "order-67890"
},
"onchainTransactions": [
{
"transactionHash": "0xdef456abc789012345678901234567890abcdef1234567890abcdef12345678",
"network": "base"
}
],
"createdAt": "2025-06-15T12:20:00.000Z",
"updatedAt": "2025-06-15T12:21:00.000Z"
}
],
"nextPageToken": "eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="
}Changes
- warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status
2 more changes in this revision
- warning