Payments

Get payment method

Changed on

Returns the tenant's current payment provider and stored payment method metadata.

get/tenants/{tenant_id}/billing/payments/method

Request

  • Base URL
    https://api.laserdata.cloud
  • Auth
    • API key in header ld-api-key
    • or API key in cookie session

Path parameters

tenant_idinteger required
Example:7261845022003200000

Tenant identifier

Response

Payment method info

auto_chargeboolean required
card_brandstring nullable
card_exp_monthinteger nullable
card_exp_yearinteger nullable
card_last4string nullable
coupon_idstring nullable
currencystring nullable
customer_idstring nullable
discount_percentstring nullable
invoice_prefixstring nullable
metadatastring nullable
payment_method_idstring nullable
payment_terms_daysinteger nullable
provider'manual' | 'stripe' | 'pay_pal' | 'bank_transfer' | 'aws_marketplace' | 'gcp_marketplace' | 'unknown' required
subscription_idstring nullable
tax_exemptstring nullable

Changes

    • warning

      added the new gcp_marketplace enum value to the response property for the response status

    • warning

      added the new unknown enum value to the response property for the response status