Payment Methods

Lists all payment methods.

get
Responses
200Success
application/json
get
GET /v1/om/payment-methods HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "items": [
      {
        "locales": {
          "ar": {
            "name": "text",
            "description": "text"
          },
          "en": {
            "name": "text",
            "description": "text"
          }
        },
        "visible": true,
        "createdAt": "text",
        "createdVia": "text",
        "createdBy": "text",
        "updatedAt": "text",
        "updatedVia": "text",
        "updatedBy": "text",
        "id": "text"
      }
    ]
  }
}

Creates a new payment method.

post
Body
Responses
200Success
application/json
post
POST /v1/om/payment-methods HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 135

{
  "params": {
    "id": "text",
    "locales": {
      "ar": {
        "name": "text",
        "description": "text"
      },
      "en": {
        "name": "text",
        "description": "text"
      }
    },
    "visible": true
  }
}
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "item": {}
  }
}

Returns a payment method.

get
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/om/payment-methods/{id} HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "item": {}
  }
}

Exports all orders with support for incremental fetching.

get
Path parameters
updatedSincestringRequired
offsetstringRequired
Responses
200Success
application/json
Responseobject
get
GET /v1/om/payment-methods/export HTTP/1.1
Host: 
Accept: */*
200Success
{}

Was this helpful?