B2B Edition
Payment

Payment

Get Company Payments Methods

GET /companies/{companyId}/payments
⚠️
This endpoint is deprecated.

Request

Get company payments methods, include inactive

Authentication

  • authToken in header

Parameters

  • companyId in path - string
    required
  • authToken in header - string
    required
    Auth token in header.

example

Response

Response Success

Body

object | application/json
  • code
    number

    Response status code
  • data
    array[object]

  • message
    string

    Response message

example

Update Company Payments Methods

PUT /companies/{companyId}/payments
⚠️
This endpoint is deprecated.

Request

Update Company payments methods' status, change them active or not

Authentication

  • authToken in header

Parameters

  • companyId in path - string
    required
  • authToken in header - string
    required
    Auth token in header.

Body

object | application/json
Request body
  • payments
    array[object]

example

Response

Response Success

Body

object | application/json
  • code
    number

    Response status code
  • data
    object

    Response data
  • message
    string

    Response message

example

Get Store's All Payments

GET /store/payments
⚠️
This endpoint is deprecated.

Request

Get store's all payments

Authentication

  • authToken in header

Parameters

  • authToken in header - string
    required
    Auth token in header.

example

Response

Response Success

Body

object | application/json
  • code
    number

    Response status code
  • data
    object

    Response data
  • message
    string

    Response message

example

Did you find what you were looking for?