GET
/
suppliers
/
{id}
/
payment-methods
cURL
curl --request GET \
  --url https://api.daraa.io/suppliers/{id}/payment-methods
[
  {
    "id": 123,
    "supplierId": "<string>",
    "name": "<string>",
    "type": 0,
    "data": {},
    "currency": {
      "id": 123,
      "name": "<string>",
      "description": "<string>",
      "rate": "<string>",
      "base": true,
      "active": true
    },
    "isActive": true
  }
]

Path Parameters

id
string
required

Query Parameters

type
enum<number>
Available options:
0,
1,
2,
3,
4
currency
number

Response

200 - application/json

Ok

id
number
required

Unique identifier for the payment method

supplierId
string
required

ID of the supplier

name
string
required

Payment method name

type
enum<number>
required

Payment method type: 0=OTHER, 1=CHECK, 2=ACH, 3=EFT, 4=WIRE

Available options:
0,
1,
2,
3,
4
currency
object
required
isActive
boolean
required

Whether payment method is active

data
object

Payment method specific data