List Payouts
GET/payouts
List Payouts
Request
Query Parameters
Default value: 1
Page to list
Responses
- 200
- 401
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
- 1.00 SAR = 100
- 1.00 KWD = 1000
- 1 JPY = 1
- BankDestination
- WalletDestination
]
payouts
object[]
required
The payout account's id to be used as the source account
A 16 digits string reference for the payout. If omitted, Moyasar will generate one for you
A positive integer representing the payout amount in the smallest currency unit.
Examples:
Possible values: [bills_or_rent
, expenses_services
, purchase_assets
, saving_investment
, government_dues
, money_exchange
, credit_card_loan
, gift_or_reward
, personal
, investment_transaction
, family_assistance
, donation
, payroll_benefits
, online_purchase
, hajj_and_umra
, dividend_payment
, government_payment
, investment_house
, payment_to_merchant
, own_account_transfer
]
destination
object
required
Contains the beneficiary's information.
oneOf
Should always be "bank"
The IBAN of the beneficiary
the beneficiary's name
the beneficiary's mobile
the beneficiary's country
the beneficiary's city
Should always be "wallet"
the beneficiary's mobile
The comment you provided when creating the payout
metadata
object
A set of key-value pairs where both key and value are strings. Metadata allows you to add more information to the object that will be returned later on in responses and webhook messages.
Metadata is searchable using the Payment List API.
meta
object
required
{
"payouts": [
{
"source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
"sequence_number": "6244377266243449",
"amount": 100,
"purpose": "bills_or_rent",
"destination": {},
"comment": "my comment",
"metadata": {
"cart_id": "72e470a5-cbc4-47b3-a52a-e89fda6adb19",
"customer_email": "[email protected]",
"customer_id": "23432"
}
}
],
"meta": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 1
}
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [authentication_error
]
Possible values: [Invalid authorization credentials
]
{
"type": "authentication_error",
"message": "Invalid authorization credentials",
"errors": null
}
Invalid authorization credentials
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [api_error
]
Possible values: [User not authorized
]
{
"type": "api_error",
"message": "User not authorized",
"errors": null
}