forked from Increase/increase-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheck-transfers.ts
More file actions
20 lines (18 loc) · 781 Bytes
/
check-transfers.ts
File metadata and controls
20 lines (18 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from '../../resource';
import * as Core from '../../core';
import * as CheckTransfersAPI from '../check-transfers';
export class CheckTransfers extends APIResource {
/**
* Simulates the mailing of a [Check Transfer](#check-transfers), which happens
* periodically throughout the day in production but can be sped up in sandbox.
* This transfer must first have a `status` of `pending_approval` or
* `pending_submission`.
*/
mail(
checkTransferId: string,
options?: Core.RequestOptions,
): Core.APIPromise<CheckTransfersAPI.CheckTransfer> {
return this._client.post(`/simulations/check_transfers/${checkTransferId}/mail`, options);
}
}