Payment Methods

Manage payment methods. Ability to create, edit, view, delete, and sort payment methods.

Available Endpoints

Method Path Description
GET /api/payment-methods List payment methods
GET /api/payment-methods/{id} View payment method details
POST /api/payment-methods Create new payment method
PUT /api/payment-methods/{id} Full update of a payment method
PATCH /api/payment-methods/{id} Partial update of a payment method
DELETE /api/payment-methods/{id} Delete a payment method
POST /api/payment-methods/sort Sort payment methods

Example Request

curl -X GET "https://example.com/api/payment-methods" \
  -H "Authorization: Bearer {token}"

Success Response (200)

{
  "records": [],
  "meta": {
    "total": 0,
    "current_page": 1,
    "per_page": 20
  }
}

Errors

Code Description
401 Invalid token
403 Access denied
404 Record not found
422 Validation error
Type to search...