Flavours API Documentation
  1. Payment Methods
Flavours API Documentation
  • Readme
  • Developer Guide
  • Authorization
  • Includables
  • Pagination
  • Sorting
  • Retrieve Market Information
  • Retrieve Branch Information
  • Me
    • Overview
    • Detail
      GET
  • Branches
    • Overview
    • List
      GET
    • Detail
      GET
    • Create
      POST
    • Update
      POST
    • Delete
      DELETE
  • Orders
    • Overview
    • List
      GET
    • Detail
      GET
    • Create
      POST
    • Calculate
      POST
    • Checkout
      POST
    • Update
      POST
    • Sync
      POST
  • Customers
    • Overview
    • List
    • Detail
    • Create
    • Update
  • Products
    • Overview
    • List
    • Detail
    • Create
    • Update
    • Delete
  • Product Categories
    • Overview
    • List
    • Detail
  • Discounts
    • Overview
    • List
    • Detail
    • Verify
  • Payment Methods
    • Overview
    • List
      GET
    • Detail
      GET
  • Table
    • Overview
    • List
    • Detail
    • Create
    • Update
    • Delete
  • Printer
  • Webhook
    • Orders Webhooks
      • Webhook Events
      • Payload
    • Product Webhooks
      • Webhook Events
      • Payload
    • Loyalty Webhooks
      • Promotional Coupon
    • Customers Webhooks
      • Webhook Events
      • Payload
    • Error Webhook
      • Stay Alert to Connectivity Issues
    • Third-Party
      • Ballurh
        • Install Ballurh
      • Loyapro
        • Loyalty
          • Check Reward
          • Redeem Reward
      • Bonat
        • Check Reward
        • Redeem Reward
      • Fai
        • Register Entity
  1. Payment Methods

List

Developing
DEVELOPMENT
https://api.flavours.sa/dev/api/v2
DEVELOPMENT
https://api.flavours.sa/dev/api/v2
GET
https://api.flavours.sa/dev/api/v2
/payment-methods

Request Body#

Validation :#

FieldTypeRuleDescription
pageintegernullable min:1Read more on the Pagination page
per_pageintegernullable min:1Read more on the Pagination page
sortstringnullableRead more on the Sorting page
includesarraynullableRead more on the Includables page
filter.is_onlinebooleannullable

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
page
integer 
optional
Example:
1
per_page
integer 
optional
Example:
20
sort
string 
optional
includes
array[string]
optional
Example:
[""]
filter[is_online]
integer 
optional

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.flavours.sa/dev/api/v2/payment-methods?page=1&per_page=20&sort=&includes=&filter[is_online]='

Responses

🟢200OK
application/json
Body
meta
object 
required
code
integer 
required
status
string 
required
message
string 
required
data
object 
required
current_page
integer 
required
data
array [object {4}] 
required
first_page_url
string 
required
from
integer 
required
last_page
integer 
required
last_page_url
string 
required
links
array [object {3}] 
required
next_page_url
string  | null 
required
path
string 
required
per_page
integer 
required
prev_page_url
null 
required
to
integer 
required
total
integer 
required
Example
{"meta":{"code":200,"status":"success","message":"Data Loaded Successfully"},"data":{"current_page":1,"data":[{"key":"CASH","name":"Cash","is_online":false,"logo_img":"http://localhost:8000/img/payment-methods/CASH.png"},{"key":"COFE","name":"Cofe","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/COFE.png"},{"key":"HUNGERSTATION","name":"HungerStation","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/HUNGERSTATION.png"},{"key":"JAHEZ","name":"Jahez","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/JAHEZ.png"},{"key":"MADA","name":"Mada","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/MADA.png"},{"key":"MARSOOL","name":"Marsool","is_online":false,"logo_img":"https://api-v2.flavours.sa/img/payment-methods/MARSOOL.png"},{"key":"MASTERCARD","name":"MasterCard","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/MASTERCARD.png"},{"key":"N_GO","name":"N.Go","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/N_GO.png"},{"key":"NOON_PAYMENT","name":"Noon Payment","is_online":true,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/NOON_PAYMENT.png"},{"key":"PAY_LATER","name":"Pay Later","is_online":false,"logo_img":null},{"key":"SHGARDI","name":"Shgardi","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/SHGARDI.png"},{"key":"TAP_PAYMENT","name":"Tap Payment","is_online":true,"logo_img":"http://localhost:8000/img/payment-methods/TAP_PAYMENT.png"},{"key":"THE_CHEFZ","name":"The Chefz","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/THE_CHEFZ.png"},{"key":"TKYR","name":"Tkyr","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/TKYR.png"},{"key":"TOYOU","name":"ToYou","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/TOYOU.png"},{"key":"VISA","name":"Visa","is_online":false,"logo_img":"http://api-dev.flavours.sa/img/payment-methods/VISA.png"}],"first_page_url":"http://localhost:8000/api/v2/payment-methods?page=1","from":1,"last_page":1,"last_page_url":"http://localhost:8000/api/v2/payment-methods?page=1","links":[{"url":null,"label":"« Previous","active":false},{"url":"http://localhost:8000/api/v2/payment-methods?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"next_page_url":null,"path":"http://localhost:8000/api/v2/payment-methods","per_page":20,"prev_page_url":null,"to":16,"total":16}}
Previous
Overview
Next
Detail
Built with