RETM | REST API
  1. Payment Methods
RETM | REST API
  • Developer guide
  • New to our DevPortal 🤔
  • Authentication
    • Token
      POST
  • Webhook
    • Overview
    • Invoice Webhooks
      • Webhook Events
      • Invoice Created
    • Orders Webhooks
      • Webhook Events
      • Order Triggeres
    • Menu Webhooks
      • Menu Updates
      • Menu Changed
    • Loyalty Webhooks
      • Promotional Coupon
      • Check Reward
      • Redeem Reward
    • Customer webhook
      • Customer Data
      • Customer hook
    • Error webhook
      • Stay Alert to Connectivity Issues
      • Error webhook
  • Orders
    • Orders
      GET
    • Create Order
      POST
    • Cancel Order
      POST
    • Update delivery order status
      POST
  • Menu
    • Categories
      • List Categories
      • Single Categoy
    • Products
      • Products
      • Single Product
      • Simple List
    • Menu
      GET
  • Branches
    • Branches
      GET
  • Devices
    • Devices
      GET
  • Order type
    • Order types
      GET
    • Create order type
      POST
  • Price Lists
    • Price Lists
  • Payment Methods
    • Payment methods
      GET
    • Create pay method
      POST
  • Order Charges
    • order charges
    • Create order charges
  • Taxes
    • Tax list
    • Create tax
  • Customers
    • Customers
  1. Payment Methods

Create pay method

POST
https://{serviceID}.retm.sa/api/v2/payments/create
Payment Method Types Type Description 1 Cash 2 Card 3 Other 4 Gift Card 5 Credit Account 6 3rd party

Request

Body Params application/json
name
object 
required
en
string 
required
ar
string 
required
type
string 
required
auto_open_drawer
string 
required
ecr_enabled
string 
required
zatca_payment_code
string 
required
Example
{
    "name": {
        "en": "string|required",
        "ar": "string|required"
    },
    "type": "int|required",
    "auto_open_drawer": "bool",
    "ecr_enabled": "bool",
    "zatca_payment_code": "int|required"
}

Responses

🟢200Create pay method
application/json
Body
uuid
string 
required
name
object 
required
en
string 
required
ar
string 
required
type
string 
required
ecr_enabled
boolean 
required
auto_open_drawer
boolean 
required
Example
{
    "uuid": "01h6p1n6rmmad6cqy2gqba60fs",
    "name": {
        "en": "Cash 2",
        "ar": "كاش"
    },
    "type": "1",
    "ecr_enabled": true,
    "auto_open_drawer": true
}
Modified at 2023-12-24 21:03:47
Previous
Payment methods
Next
order charges
Built with