GET
/
v5
/
company
/
payments
/
{id}
curl --request GET \
  --url https://{defaultHost}/v5/company/payments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "membership_id": "<string>",
  "product_id": "<string>",
  "user_id": "<string>",
  "plan_id": "<string>",
  "company_id": "<string>",
  "line_item_id": 123,
  "created_at": 123,
  "paid_at": "<string>",
  "refunded_at": "<string>",
  "last_payment_attempt": "<string>",
  "next_payment_attempt": "<string>",
  "status": "draft",
  "subtotal": 123,
  "final_amount": 123,
  "currency": "usd",
  "refunded_amount": 123,
  "payments_failed": 123,
  "checkout_id": "<string>",
  "card_brand": "<string>",
  "card_last_4": "<string>",
  "funding_method": "<string>",
  "wallet_type": "apple_pay",
  "calculated_statement_descriptor": "<string>",
  "issuer_identification_number": "<string>",
  "billing_usage_ids": [
    "<string>"
  ],
  "company_buyer_id": 123,
  "billing_address": {
    "name": "<string>",
    "line1": "<string>",
    "line2": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postal_code": "<string>",
    "country": "<string>"
  },
  "user_email": "<string>",
  "user_username": "<string>",
  "membership_metadata": "<any>",
  "affiliate": "<any>"
}

Authorizations

Authorization
string
header
required

App API key for /v5/app and /v5/company endpoints

Path Parameters

id
string
required

The ID of the Payment, which will look like pay_*************

Response

200 - application/json

payment found

The response is of type object.