Transactions

Splits transaction to other merchant accounts

post/api/v1/Transactions/Splits/{id}

Request

  • Base URL: https://api.payex.io
  • URL: https://api.payex.io/api/v1/Transactions/Splits/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

amountinteger

Values should be in cents or multiplied by 100. For example, MYR 10.00 should be inputed as 1000, and 1.00% should be inputed as 100

split_type'abs' | 'pct'

Whether split should be absolute amount or percentage amount

destinationstring

Payex Registered Merchant email for transaction split to

typestring

Type of split

descriptionstring

Description of split

Example request

[
  {
    "amount": 1000,
    "destination": "contact@payex.io",
    "type": "platform",
    "description": "Platform commission fees"
  }
]

Response

Success

status'00' | '99'
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.