Payments
Find one Payment
Retrieve a Payment by its ID
get/payments/{id}
Path parameters
idstring required
Response
OK
Example response
{
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"id": "pay_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"status": "succeeded",
"displayStatus": "succeeded",
"amount": 1500,
"note": "This is a note for the payment",
"currency": "usd",
"amountCaptured": 1500,
"isCaptured": true,
"isRecovered": true,
"isRetrying": true,
"chargebackRecordedAt": "2026-01-15T10:30:00.000Z",
"authorizedAt": "2026-01-15T10:30:00.000Z",
"capturedAt": "2026-01-15T10:35:00.000Z",
"reversedAt": "2026-01-20T14:00:00.000Z",
"initiator": "customer",
"offSessionType": "recurring",
"statementDescriptor": "Some product",
"latestMessage": "Payment was declined by the issuing bank.",
"latestDeclineType": "hard_decline",
"action": {
"redirectUrl": "https://example.com"
},
"checkoutKey": "ck_live_abc123def456",
"metadata": {},
"attribution": {
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "summer_sale",
"utm_term": "running+shoes",
"utm_content": "banner_a",
"utm_id": "utm_123",
"utm_contentid": "content_123",
"ref_id": "ref_abc",
"fbclid": "fbclid_abc",
"cmpid": "cmp_123"
},
"retry": {
"attempts": 2,
"nextAmount": 999
},
"cart": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"currency": "eur",
"items": [
{
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"currency": "usd",
"description": "Pro Plan",
"amount": 1500,
"lineAmount": 3000,
"quantity": 2,
"price": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "price_2R4e2xDqbww8ewmkIYWE1A6Zcfp",
"type": "recurring",
"active": true,
"name": "My Digital Subscription",
"amount": 1500,
"quantity": 1,
"currency": "usd",
"product": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "prod_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"active": true,
"name": "My product",
"description": "Best selling product",
"statementDescriptor": "Face Yoga subscription",
"category": "digital",
"sku": "FY-YOGA-MAT-01"
},
"recurringSchedule": {
"intervalUnit": "month",
"intervalCount": 1,
"trial": {
"intervalUnit": "day",
"intervalCount": 7,
"amount": 199
}
}
}
}
]
},
"paymentMethodOptions": {
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7,
"card": {
"mode": "cascade",
"gatewayProfile": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "gwp_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"active": true,
"title": "Profile #1",
"integration": "stripe",
"environment": "test"
},
"cascade": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"name": "My Cascade",
"description": "Simple cascade",
"active": true,
"algorithm": "weightedRoundRobin"
},
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7
},
"paypal": {
"mode": "direct",
"gatewayProfile": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "gwp_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"active": true,
"title": "Profile #1",
"integration": "stripe",
"environment": "test"
},
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7
},
"applePay": {
"mode": "direct",
"gatewayProfile": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "gwp_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"active": true,
"title": "Profile #1",
"integration": "stripe",
"environment": "test"
},
"captureMethod": "automatic",
"captureDelay": 7,
"recurringCaptureMethod": "automatic",
"recurringCaptureDelay": 7
}
},
"customer": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "cus_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"email": "user@gmail.com",
"name": "John Doe",
"phoneNumber": "+1234567890",
"dateOfBirth": "2020-01-01",
"gender": "male",
"restrictReason": "Customer restricted due to suspicious activity",
"isRestricted": true
},
"paymentMethod": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "pm_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"type": "card",
"customer": "cus_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"card": {
"brand": "amex",
"lastFour": "1234",
"bin": "123456",
"expMonth": "12",
"expYear": "2025",
"cardholderName": "John Doe"
},
"applePay": {
"displayName": "MasterCard 1234"
}
},
"latestTransaction": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"status": "authorized",
"authentication": "not_requested",
"amount": 1500,
"initiator": "customer",
"statementDescriptor": "Hello World",
"amountCaptured": 1500,
"isCaptured": true,
"chargebackRecordedAt": "2026-01-15T10:30:00.000Z",
"captureMethod": "automatic",
"currency": "usd",
"processorId": "ch_1J8lZpJ9j1bSv2Jr6sVjXZ1N",
"gatewayProfile": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "gwp_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"active": true,
"title": "Profile #1",
"integration": "stripe",
"environment": "test"
},
"paymentMethod": {
"createdAt": "2024-02-18T12:00:00Z",
"updatedAt": "2024-02-21T12:15:00Z",
"metadata": {
"key1": "value1",
"key2": "value2"
},
"id": "pm_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"type": "card",
"customer": "cus_2QC7PqoUeOxQEWscJJt6B3PkvyL",
"card": {
"brand": "amex",
"lastFour": "1234",
"bin": "123456",
"expMonth": "12",
"expYear": "2025",
"cardholderName": "John Doe"
},
"applePay": {
"displayName": "MasterCard 1234"
}
}
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.