Sandbox
Approve risk reserve proof of payment
Approves a risk reserve proof of payment without the intervention of a Remote admin.
Triggers an employment.cor_hiring.proof_of_payment_accepted webhook event.
This endpoint is only available in Sandbox, otherwise it will respond with a 404.
Authentication
This endpoint accepts any one of the following token types:
- Company-scoped access token (OAuth2AuthorizationCode) — obtained by a company manager through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
- Company-scoped access token (assertion) (OAuth2CompanyManagerAssertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant for a company manager. See OAuth Assertion.
- Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page, with the scopes they choose there. See Authorization for customers.
post/v1/sandbox/employments/{employment_id}/risk-reserve-proof-of-payments/approve
Request
- Base URLhttps://gateway.remote.com
- URLhttps://gateway.remote.com/v1/sandbox/employments/{employment_id}/risk-reserve-proof-of-payments/approve
- Auth
- OAuth 2Authorization code: /auth/oauth2/authorizeToken URL: /auth/oauth2/token
- or OAuth 2Client credentialsToken URL: /auth/oauth2/token
- or HTTP bearer
Path parameters
employment_idstring required
Employment ID
Response
Success
Example response
{
"data": {
"slug": "5b44799c-e845-4d5c-9c52-b6e5f7c3d4e1",
"status": "pending"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.