List split partners
Changed onReturn the companies your account may split payments with, in both directions, for the environment of the API key. A pair is created in the dashboard: the originating company invites the recipient by company ID and the recipient accepts. There is no API to invite, accept, decline or revoke — accepting is a human act. The one exception is an approved split platform, which connects a seller on the seller's first payment by sending X-Split-Platform-Key on POST /v1/payments, in production and in sandbox. Use this endpoint to discover which companyId values you may send as recipientCompanyId in splits[]: only a partner whose status is ACCEPTED is usable. The list carries the live row for each pair, plus the most recent answered row for a pair that has no live one, so a rejected or revoked pair is still visible. Every partner is returned in one response, newest first, unless limit is sent: then at most limit relationships are read per call, a page can carry fewer partners than limit, and you pass nextCursor back as cursor until it is null. Requires the payments:read scope.
Request
- Base URLhttps://api.yuvexpay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Return only partners in this state.
OUTGOING lists companies you may split to; INCOMING lists companies that split to you.
Maximum number of relationships read for this page. A page can carry fewer partners than limit. Omit it to get every partner in one response. When cursor is sent without limit, a page reads up to 100 relationships.
The nextCursor of the previous page. Omit it for the first page.
Response
Partners listed.
Example response
{
"partners": [
{
"feeCap": "4.00"
}
]
}Changes
- info
added the new optional
queryrequest parametercursor - info
added the new optional
queryrequest parameterlimit - info
added the required property
to the response with the status - info
added the required property
//to the response with the status
- info
- info
endpoint added
- info