Skip to main content
GET
/
payment-methods
Returns payment methods for company
curl --request GET \
  --url https://api-dev.narrative.io/payment-methods \
  --header 'Authorization: Bearer <token>'
{
  "companyId": 123,
  "paymentMethodId": "<string>",
  "cardBrand": "<string>",
  "cardLast4": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

OK

companyId
integer

The ID of the company

paymentMethodId
string

The Stripe payment method ID

cardBrand
string

The type of credit card

cardLast4
string

The last four digits of the credit card