The integration flow
1
Check that Easy Split is enabled and note the
psp_provider_id of your provider.2
Register each vendor’s bank and KYC details with that
psp_provider_id, and note the returned id.3
Wait until the vendor is ACTIVE
Verification happens in the background. Check the vendor’s status until it shows up as
ACTIVE, or use Sync Vendor to force a refresh.4
Create a payment link and choose each vendor’s share, passing the vendor’s
id as vendor_id.5
Share payment_url with the customer
Send the returned
payment_url to your customer, and track all your split links from one place.Response format
Every response uses the same envelope.status is success or error; status_code mirrors the HTTP status; data holds the payload (or null on errors).
All failure codes returned by the Easy Split APIs:
Invalid request: a validation error, a bad query parameter or
vendor_id, or an invalid split.Returned by: Create Vendor, List Vendors, Get Vendor, Sync Vendor, Create Split Link, List Split LinksThe
x-api-key header is missing or invalid.Returned by: Get ProvidersEasy Split is not enabled for your account on this payment provider, or the request was made as a sub-merchant.Returned by: Create Vendor, Create Split Link, List Split Links
No vendor with this ID exists on your account.Returned by: Get Vendor, Sync Vendor
The vendor has not been registered with the provider yet, or a payment link with this
order_id already exists.Returned by: Sync Vendor, Create Split LinkThe provider needs fields you did not send.
data.missing_fields lists them.Returned by: Create VendorUnexpected server error. Retry after a short delay.Returned by: Get Providers, List Vendors, Get Vendor, Sync Vendor, Create Split Link, List Split Links
The payment provider could not be reached or returned an error.Returned by: Sync Vendor