PaymentMethods

Fields

id

Payment Method Primary Key

url

Link to retrieve a specific payment method

plugin

Name of payment method

Current values are:

  • element
  • onaccount

name

name of payment type

description

description of payment type

image_url

image for payment type (logo or symbol)

is_default

Boolean to say if it is the default option

stored_credentials

List of stored credentials from the payment option. Not all payment processors offer this, in which case this will be an empty list

Endpoints

List

GET /api/paymentmethods/

Get a paginated list of available payment methods for the user

Retreive

GET /api/paymentmethods/:key/

Get a specific payment method.