Skip to main content

Create Bulk Payout

POST 

/payout/bulk

Create Bulk Payout

Request

Body

required
    source_id uuidrequired

    The payout account's id to be used as the source account

    payoutsobject[]required
  • Array [

  • sequence_number string

    A 16 digits string reference for the payout. If omitted, Moyasar will generate one for you

    amount integerrequired

    A positive integer representing the payout amount in the smallest currency unit.

    Examples:

    • 1.00 SAR = 100
    • 1.00 KWD = 1000
    • 1 JPY = 1
    purpose stringrequired

    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]

    destinationobjectrequired

    Contains the beneficiary's information.

    oneOf

    type stringrequired

    Should always be "bank"

    iban stringrequired

    The IBAN of the beneficiary

    name stringrequired

    the beneficiary's name

    mobile stringrequired

    the beneficiary's mobile

    country stringrequired

    the beneficiary's country

    city stringrequired

    the beneficiary's city

    comment string

    The comment you provided when creating the payout

    metadataobject

    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.

    property name* string
  • ]

Responses

Successful operation
Schema
    payoutsobject[]required
  • Array [

  • id uuidrequired

    The payout's id

    source_id uuidrequired

    The payout account's id used as the source account

    sequence_number stringrequired

    The reference number either created by you or generated by Moyasar

    channel stringrequired

    Possible values: [internal, ips, sarie]

    The type of the channel which such payout is sent through

    status stringrequired

    Possible values: [queued, initiated, paid, failed, canceled, returned]

    amount integerrequired

    A positive integer representing the payout amount in the smallest currency unit.

    Examples:

    • 1.00 SAR = 100
    • 1.00 KWD = 1000
    • 1 JPY = 1
    currency Currency (string)required

    ISO-4217 three-letter currency code.

    purpose stringrequired

    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]

    comment stringrequired

    The comment you provided when creating the payout

    destination

    objectrequired

    Contains the beneficiary's information.

    oneOf

    type stringrequired

    Should always be "bank"

    iban stringrequired

    The IBAN of the beneficiary

    name stringrequired

    the beneficiary's name

    mobile stringrequired

    the beneficiary's mobile

    country stringrequired

    the beneficiary's country

    city stringrequired

    the beneficiary's city

    message stringrequired

    A human readable message to explain the status

    failure_reason stringrequired

    A classification of failure if any

    created_at timestamprequired
    updated_at timestamprequired
    metadataobjectrequired

    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.

    property name* string
  • ]

Loading...