post https://api.zeal.com/directPayments
This endpoint accepts the companyID, worker ID, and the amount of the transaction. Zeal will create a payment transaction to the appropriate destination and respond with a newly created Direct Payment Object .
Return
Returns response status and a Direct Payment Object.
attribute | type | description |
---|---|---|
success | boolean | Response status |
data | object | Direct Payment Object |
errors | array | If success is false, errors contains a list of error objects.Show child attributesmessagetype: string description: Error messagestatus type: number description: HTTP response codecode type: number description: Error code (see Error codes ) |