With the SDK installed, it’s time to create a transaction.Documentation Index
Fetch the complete documentation index at: https://docs.mattildapayments.com/llms.txt
Use this file to discover all available pages before exploring further.
Initialize the SDK
To initialize the SDK, call the.showPaymentSheet() method on the SDK to open the payment sheet
to prompt the buyer to pay.
Replace the
[TOKEN] with the JWT created in step 2.
Additional options can be provided when launching the SDK.Handle events
Once launched, the SDK will send events when a transaction was created and for some failures. To handle these events, add a new event listener to the SDK.Learn more about the events triggered by the React Native SDK in our events guide.