### Perform GET Request with HttpClient Source: https://developer.briqpay.com/docs/3.0.0/api/get-token Example of executing a GET request to the token endpoint using C# HttpClient with Basic Authentication. ```csharp var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, "https://playground-api.briqpay.com/v3/token/:tokenId"); request.Headers.Add("Accept", "application/json"); request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+"); var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await response.Content.ReadAsStringAsync()); ``` -------------------------------- ### Module State Change Data Examples Source: https://developer.briqpay.com/docs/3.0.0/sdk/sdk/update_events Examples of data received for module state changes, indicating a locked payment module or a completed payment. ```json { "payment": "locked_by_merchant" } ``` ```json { "payment": "completed" } ``` -------------------------------- ### Example Session Status Webhook Payload Source: https://developer.briqpay.com/docs/3.0.0/guides/guides/quick_guides/signup_steps/completed_session An example of the JSON payload received when a session is completed. ```APIDOC ## Webhook Payload Example ### Description This is an example of the `session_status` webhook payload received when a signup session is completed. ### Response Example ```json { "event": "session_status", "status": "completed", "sessionId": "61c16f84-b42e-4e1c-a114-a117a6e1e27d" } ``` ``` -------------------------------- ### Example Session Object Source: https://developer.briqpay.com/docs/3.0.0/api/read-session A comprehensive JSON representation of a Briqpay session, including product details, customer information, and webhook configurations. ```json { "createdAt": "2023-04-12T13:16:08.647Z", "sessionId": "c5674f4f-7e84-405c-a44b-c83736bb7209", "status": "started", "product": { "type": "payment", "intent": "payment_one_time", "variantId": "a8a7acb2-4c65-4a91-a8e5-d8125bf64fd4" }, "customerType": "business", "country": "SE", "locale": "sv-se", "urls": { "terms": "https://example.com/terms", "redirect": "https://example.com/redirect" }, "references": { "reference1": "000", "orderId": "12345", "customerId": "54321" }, "hooks": [ { "eventType": "session_status", "statuses": [ "completed" ], "method": "POST", "url": "https://example.com/notifications" }, { "eventType": "order_status", "statuses": [ "order_pending", "order_rejected", "order_cancelled", "order_approved_not_captured" ], "method": "POST", "url": "https://example.com/notifications" }, { "eventType": "capture_status", "statuses": [ "pending", "approved", "rejected" ], "method": "POST", "url": "https://example.com/notifications" }, { "eventType": "refund_status", "statuses": [ "pending", "approved", "rejected" ], "method": "POST", "url": "https://example.com/notifications" } ], "htmlSnippet": "