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

# EmbeddedOfframpCredentials

> Swift Structure

**Structure**

The credentials of one offramp session.

```swift theme={null}
struct EmbeddedOfframpCredentials
```

Create the session on your server with Create Offramp Session, then pass the `sessionId` and `clientSecret` of the response. You can also decode the credentials from that response.

## Initializers

### init(from:)

Inherited from `Decodable.init(from:)`.

```swift theme={null}
init(from decoder: any Decoder) throws
```

### init(sessionId:clientSecret:)

Creates the credentials of an offramp session.

```swift theme={null}
init(sessionId: String, clientSecret: String)
```

## Instance Properties

| Property | Type | Description |
| - | - | - |
| `id` | `String` | The stable identity of the credentials: the session identifier. |
| `sessionId` | `String` | The identifier of the offramp session. |
