Skip to content

Commit

Permalink
(chore): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-bot authored Jul 17, 2024
1 parent c7ee411 commit bfd3de2
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ following namespace:
import { Crossmint } from "crossmint";

const request: Crossmint.CheckoutCreateOrderRequest = {
...
payment: {
method: Crossmint.EvmPaymentMethods.ArbitrumSepolia,
currency: Crossmint.EvmPaymentCurrency.Eth,
},
lineItems: {
collectionLocator: "crossmint:<collectionId>",
}
};
```

Expand All @@ -62,6 +68,15 @@ try {
}
```

Error codes are as followed:

| Status Code | Error Type |
| ----------- | -------------------------- |
| 400 | `BadRequestError` |
| 403 | `ForbiddenError` |
| 404 | `NotFoundError` |
| 503 | `ServiceUnavailableError` |

## Advanced

### Retries
Expand Down Expand Up @@ -117,6 +132,7 @@ runtimes:
- Deno v1.25+
- Bun 1.0+
- React Native
- Browser

### Customizing Fetch Client

Expand Down

0 comments on commit bfd3de2

Please sign in to comment.