v4
latestSwagger 2.02026-08-0343714211.7 MBpayments
Account Line Items
Show Payment
Show Payment
get/payments/{id}
Path parameters
idinteger required
Payment ID.
Response
The Payments object.
Example response
{
"id": 1,
"amount": "1.0",
"balance": "1.0",
"created_at": "2000-01-01T01:00:00Z",
"currency": "USD",
"download_uri": "https://url...",
"invoice_line_items": [
{
"id": 1,
"amount": "1.0",
"created_at": "2000-01-01T01:00:00Z",
"description": "Service from 2019-01-01 through 2019-12-31",
"type": "invoice",
"service_end_at": "2000-01-01T01:00:00Z",
"service_start_at": "2000-01-01T01:00:00Z",
"plan": "Enterprise",
"site": "My site",
"prepaid_bytes": 1,
"prepaid_bytes_expire_at": "2000-01-01T01:00:00Z",
"prepaid_bytes_used": 1,
"prepaid_bytes_available": 1
}
],
"method": "paypal",
"payment_line_items": [
{
"amount": "1.0",
"created_at": "2000-01-01T01:00:00Z",
"invoice_id": 1,
"payment_id": 1
}
],
"payment_reversed_at": "2000-01-01T01:00:00Z",
"payment_type": "example",
"site_name": "My Site",
"type": "invoice"
}