> ## Documentation Index
> Fetch the complete documentation index at: https://primer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# submit

When the submit method is called, the SDK will attempt to create a payment based on the raw data set in the `setRawData` method. If no data is set, SDK will call the `onFailed` method.

```typescript TYPESCRIPT theme={"dark"}
submit(): Promise<void>
```
