Entity

Generate Onboarding Link

GET
Generate an onboarding link for the entity.

Path parameters

entityIdstringRequired

Query parameters

typeenumRequired
The type of onboarding link to generate. If not provided, the default is payee. The onboarding options are determined by your organization's onboarding configuration.
Allowed values: PAYEEPAYOR
expiresInstringOptional
Expressed in seconds or a string describing a time span. The default is 24h.
connectedEntityIdstringOptional
The ID of the entity to connect to. If onboarding a payee, this should be the payor entity ID. If onboarding a payor, this should be the payee entity ID. If no connected entity ID is provided, the onboarding link will be for a standalone entity.

Response

This endpoint returns a string
GET
1curl -G https://api.mercoa.com/entity/:entityId/onboarding \
2 -H "Authorization: Bearer <token>" \
3 -d type=PAYEE \
4 -d expiresIn=string \
5 -d connectedEntityId=string
200
Retrieved
1"string"