Split Payments
Ask Sales for more information
There is currently limited functionality build in which supports this.
How to create a Split payment request
Step 1: Request a payment
The first step is that the merchant sends a POST request to Globadyme.
Expected is a JSON body containing the transaction data with an additional affiliate section.
Url: https://sandbox.globadyme.com/api/globadymeGateway/transaction/v2/requestPayment
Authorization: JWT
Request example for one-time payment:
{
"amount": "12.34",
"currency": "EUR",
"country": "NL",
"emailAddress" : "chappy@payhap.py",
"description": "Interesting payment",
"accountHolderName": "Chappy Payhappy",
"affiliate": {
"splitPayments": [{
"merchantId": "100004962", // contact sales about the merchant-id to use
"amountOrPercentage": 10.0,
"type": "percentage",
"description": "10% split"
}, {
"merchantId": "10000xxxx", // contact sales about the merchant-id to use
"amountOrPercentage": 5.00,
"type": "fixed",
"description": "5 EUR fixed"
}]
}
}
The following transaction fields are mandatory for all payments:
- amount
- currency
- country
- description (provided by the merchant. NB: this description will show up on bank statements and such)
- accountHolderName (provided by merchant)
The following fields are mandatory for Split payments:
- affiliate: To create a Split payment the following elements need to be filled.
- splitPayments: The splits that are needed:
- merchantId: contact sales about the merchant-id to use
- amountOrPercentage: the percentage or of fixed amount of the total amount, note that the total of the splits cannot exceed the amount of the payment itself!
- type: either fixed or percentage
- description: a textual description for this split
Step 2: Receive a response
From here on you can follow the flow as documented in One-time payment