Finance

Create a Payment method

Creates a new Payment method.

post/admin/finance/payment-methods

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/finance/payment-methods
  • Auth: HTTP basic

Request body

namestring required

Payment method's name.

is_activeboolean required

Values: true or false. Active or inactive.

name_1string

Payment method's field 1.

name_2string

Payment method's field 2.

name_3string

Payment method's field 3.

name_4string

Payment method's field 4.

name_5string

Payment method's field 5.

Example request

{
  "name": "Bank transfer",
  "is_active": true,
  "name_1": "Account",
  "name_2": "Transaction ID Bank transfer",
  "name_3": "field 3",
  "name_4": "field 4",
  "name_5": "field 5"
}

Response

idnumber

Payment method ID

Example response

{
  "id": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.