Create Direct Payment

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.

attributetypedescription
successbooleanResponse status
dataobjectDirect Payment Object
errorsarray

If success is false, errors contains a list of error objects.

Show child attributes message type: string description: Error message status type: number description: HTTP response code code type: number description: Error code (see Error codes)

Language
Credentials
Header
Click Try It! to start a request and see the response here!