Get all payment methods registered within a company
GET/v1/auth/consumer-users/company/:company_id/payment-methods
Request
Path Parameters
company_id stringrequired
Unique ID of the company in scope.
Responses
- 200
- 401
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id uuid
The unique identifier of the object
alias stringrequired
User-friendly alias name
external_id stringrequired
Company id of the round up source
provider stringrequired
Possible values: [company, cents, stripe, mastercard]
Provider of the payment method
type stringrequired
Possible values: [credit_card, debit_card, prepaid_card, main_account, saving_account]
Type of the round up source
default boolean
If true this is the default payment method used if no payment is specified
[
{
"id": "66b4a07d-16f8-40f3-b983-add003e1c278",
"alias": "Credit Card 1",
"external_id": "5978267912746348169827",
"provider": "company",
"type": "credit_card",
"default": false
}
]
Unauthorized
Loading...