All URIs are relative to http://localhost:8087
Method | HTTP request | Description |
---|---|---|
AddCustomerAddress | Post /customers/{customerID}/address | Add Customer Address |
CreateCustomer | Post /customers | Create Customer |
DeleteCustomer | Delete /customers/{customerID} | Delete Customer |
DeleteCustomerAddress | Delete /customers/{customerID}/addresses/{addressID} | Delete Customer Address |
GetCustomer | Get /customers/{customerID} | Get Customer |
GetLatestOFACSearch | Get /customers/{customerID}/ofac | Latest Customer OFAC search |
Ping | Get /ping | Ping Customers Service |
RefreshOFACSearch | Put /customers/{customerID}/refresh/ofac | Refresh Customer OFAC search |
ReplaceCustomerMetadata | Put /customers/{customerID}/metadata | Update Customer Metadata |
SearchCustomers | Get /customers | Search Customers |
UpdateCustomer | Put /customers/{customerID} | Update Customer |
UpdateCustomerAddress | Put /customers/{customerID}/addresses/{addressID} | Update Customer Address |
UpdateCustomerStatus | Put /customers/{customerID}/status | Update Customer Status |
Customer AddCustomerAddress(ctx, customerID, createCustomerAddress, optional)
Add Customer Address
Add an Address onto an existing Customer record
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerID | string | customerID of the Customer to add the address onto | |
createCustomerAddress | CreateCustomerAddress | ||
optional | *AddCustomerAddressOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AddCustomerAddressOpts struct
Name | Type | Description | Notes |
---|
xRequestID | optional.String| Optional requestID allows application developer to trace requests through the systems logs | xOrganization | optional.String| Value used to separate and identify models |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Customer CreateCustomer(ctx, createCustomer, optional)
Create Customer
Create a Customer object from the given details of a human or business
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
createCustomer | CreateCustomer | ||
optional | *CreateCustomerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CreateCustomerOpts struct
Name | Type | Description | Notes |
---|
xRequestID | optional.String| Optional requestID allows application developer to trace requests through the systems logs | xOrganization | optional.String| Value used to separate and identify models |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteCustomer(ctx, customerID, optional)
Delete Customer
Remove a given Customer
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerID | string | customerID of the Customer to be deleted | |
optional | *DeleteCustomerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a DeleteCustomerOpts struct
Name | Type | Description | Notes |
---|
xRequestID | optional.String| Optional requestID allows application developer to trace requests through the systems logs | xOrganization | optional.String| Value used to separate and identify models |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteCustomerAddress(ctx, customerID, addressID)
Delete Customer Address
Deletes a customer's address
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerID | string | Customer ID | |
addressID | string | Address ID |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Customer GetCustomer(ctx, customerID, optional)
Get Customer
Retrieve the Customer object and metadata for the customerID.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerID | string | customerID that identifies this Customer | |
optional | *GetCustomerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetCustomerOpts struct
Name | Type | Description | Notes |
---|
xRequestID | optional.String| Optional requestID allows application developer to trace requests through the systems logs | xOrganization | optional.String| Value used to separate and identify models |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OfacSearch GetLatestOFACSearch(ctx, customerID, optional)
Latest Customer OFAC search
Get the latest OFAC search for a Customer
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerID | string | customerID of the Customer to get latest OFAC search | |
optional | *GetLatestOFACSearchOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetLatestOFACSearchOpts struct
Name | Type | Description | Notes |
---|
xRequestID | optional.String| Optional requestID allows application developer to trace requests through the systems logs | xOrganization | optional.String| Value used to separate and identify models |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Ping(ctx, )
Ping Customers Service
Check the Customers service to check if running
This endpoint does not need any parameter.
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OfacSearch RefreshOFACSearch(ctx, customerID, optional)
Refresh Customer OFAC search
Refresh OFAC search for a given Customer
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerID | string | customerID of the Customer to refresh OFAC search | |
optional | *RefreshOFACSearchOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RefreshOFACSearchOpts struct
Name | Type | Description | Notes |
---|
xRequestID | optional.String| Optional requestID allows application developer to trace requests through the systems logs | xOrganization | optional.String| Value used to separate and identify models |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Customer ReplaceCustomerMetadata(ctx, customerID, customerMetadata, optional)
Update Customer Metadata
Replace the metadata object for a customer. Metadata is a map of unique keys associated to values to act as foreign key relationships or arbitrary data associated to a Customer.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerID | string | customerID of the Customer to add the metadata onto | |
customerMetadata | CustomerMetadata | ||
optional | *ReplaceCustomerMetadataOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ReplaceCustomerMetadataOpts struct
Name | Type | Description | Notes |
---|
xRequestID | optional.String| Optional requestID allows application developer to trace requests through the systems logs | xOrganization | optional.String| Value used to separate and identify models |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Customer SearchCustomers(ctx, optional)
Search Customers
Search for customers using different filter parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *SearchCustomersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a SearchCustomersOpts struct
Name | Type | Description | Notes |
---|---|---|---|
query | optional.String | Optional parameter for searching by customer name | |
optional.String | Optional parameter for searching by customer email | ||
status | optional.String | Optional parameter for searching by customer status | |
type_ | optional.String | Optional parameter for searching by customer type | |
skip | optional.String | Optional parameter for searching for customers by skipping over an initial group | |
count | optional.String | Optional parameter for searching by specifying the amount to return | |
customerIDs | optional.String | Optional parameter for searching by customers' IDs |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Customer UpdateCustomer(ctx, customerID, createCustomer, optional)
Update Customer
Update a Customer object
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerID | string | customerID that identifies this Customer | |
createCustomer | CreateCustomer | ||
optional | *UpdateCustomerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a UpdateCustomerOpts struct
Name | Type | Description | Notes |
---|
xRequestID | optional.String| Optional requestID allows application developer to trace requests through the systems logs | xOrganization | optional.String| Value used to separate and identify models |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateCustomerAddress(ctx, customerID, addressID, updateCustomerAddress)
Update Customer Address
Updates the specified customer address
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerID | string | Customer ID | |
addressID | string | Address ID | |
updateCustomerAddress | UpdateCustomerAddress |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Customer UpdateCustomerStatus(ctx, customerID, updateCustomerStatus, optional)
Update Customer Status
Update the status for a customer, which can only be updated by authenticated users with permissions.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
customerID | string | customerID of the Customer to update the CustomerStatus | |
updateCustomerStatus | UpdateCustomerStatus | ||
optional | *UpdateCustomerStatusOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a UpdateCustomerStatusOpts struct
Name | Type | Description | Notes |
---|
xRequestID | optional.String| Optional requestID allows application developer to trace requests through the systems logs | xOrganization | optional.String| Value used to separate and identify models |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]