Method | HTTP request | Description |
---|---|---|
IdentifyMember | Post /users/{user_guid}/members/{member_guid}/identify | Identify |
ListAccountOwners | Get /users/{user_guid}/members/{member_guid}/account_owners | List member account owners |
MemberResponseBody IdentifyMember(ctx, memberGUID, userGUID) Identify
The identify endpoint begins an identification process for an already-existing member.
package main
import (
"context"
"fmt"
"github.com/mxenabled/atrium-go/v2"
)
func main() {
client := atrium.AtriumClient("YOUR_API_KEY", "YOUR_CLIENT_ID")
ctx := context.Background()
memberGUID := "MBR-123" // string | The unique identifier for a `member`.
userGUID := "USR-123" // string | The unique identifier for a `user`.
response, _, err := client.Identity.IdentifyMember(ctx, memberGUID, userGUID, )
if err != nil {
fmt.Printf("Error: %v\n", err)
} else {
fmt.Printf("Response: %s\n", response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
memberGUID | string | The unique identifier for a `member`. | |
userGUID | string | The unique identifier for a `user`. |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AccountOwnersResponseBody ListAccountOwners(ctx, memberGUID, userGUID) List member account owners
This endpoint returns an array with information about every account associated with a particular member.
package main
import (
"context"
"fmt"
"github.com/mxenabled/atrium-go/v2"
)
func main() {
client := atrium.AtriumClient("YOUR_API_KEY", "YOUR_CLIENT_ID")
ctx := context.Background()
memberGUID := "MBR-123" // string | The unique identifier for a `member`.
userGUID := "USR-123" // string | The unique identifier for a `user`.
response, _, err := client.Identity.ListAccountOwners(ctx, memberGUID, userGUID, )
if err != nil {
fmt.Printf("Error: %v\n", err)
} else {
fmt.Printf("Response: %s\n", response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
memberGUID | string | The unique identifier for a `member`. | |
userGUID | string | The unique identifier for a `user`. |
[Back to top] [Back to API list] [Back to Model list] [Back to README]