Initial commit
This is definitely not functional yet. Signed-off-by: Jacob Kiers <code@kiers.eu>
This commit is contained in:
165
gocardless-bankaccount-data-api/docs/AgreementsApi.md
Normal file
165
gocardless-bankaccount-data-api/docs/AgreementsApi.md
Normal file
@@ -0,0 +1,165 @@
|
||||
# \AgreementsApi
|
||||
|
||||
All URIs are relative to *https://bankaccountdata.gocardless.com*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**accept_eua**](AgreementsApi.md#accept_eua) | **PUT** /api/v2/agreements/enduser/{id}/accept/ |
|
||||
[**create_eua**](AgreementsApi.md#create_eua) | **POST** /api/v2/agreements/enduser/ |
|
||||
[**delete_eua_by_id**](AgreementsApi.md#delete_eua_by_id) | **DELETE** /api/v2/agreements/enduser/{id}/ |
|
||||
[**retrieve_all_euas_for_an_end_user**](AgreementsApi.md#retrieve_all_euas_for_an_end_user) | **GET** /api/v2/agreements/enduser/ |
|
||||
[**retrieve_eua_by_id**](AgreementsApi.md#retrieve_eua_by_id) | **GET** /api/v2/agreements/enduser/{id}/ |
|
||||
|
||||
|
||||
|
||||
## accept_eua
|
||||
|
||||
> models::EndUserAgreement accept_eua(id, enduser_acceptance_details_request)
|
||||
|
||||
|
||||
Accept an end-user agreement via the API
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**id** | **uuid::Uuid** | A UUID string identifying this end user agreement. | [required] |
|
||||
**enduser_acceptance_details_request** | [**EnduserAcceptanceDetailsRequest**](EnduserAcceptanceDetailsRequest.md) | | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
[**models::EndUserAgreement**](EndUserAgreement.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[jwtAuth](../README.md#jwtAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
## create_eua
|
||||
|
||||
> models::EndUserAgreement create_eua(end_user_agreement_request)
|
||||
|
||||
|
||||
API endpoints related to end-user agreements.
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**end_user_agreement_request** | [**EndUserAgreementRequest**](EndUserAgreementRequest.md) | | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
[**models::EndUserAgreement**](EndUserAgreement.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[jwtAuth](../README.md#jwtAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
## delete_eua_by_id
|
||||
|
||||
> delete_eua_by_id(id)
|
||||
|
||||
|
||||
Delete an end user agreement
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**id** | **uuid::Uuid** | A UUID string identifying this end user agreement. | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[jwtAuth](../README.md#jwtAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
## retrieve_all_euas_for_an_end_user
|
||||
|
||||
> models::PaginatedEndUserAgreementList retrieve_all_euas_for_an_end_user(limit, offset)
|
||||
|
||||
|
||||
API endpoints related to end-user agreements.
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**limit** | Option<**i32**> | Number of results to return per page. | |[default to 100]
|
||||
**offset** | Option<**i32**> | The initial zero-based index from which to return the results. | |[default to 0]
|
||||
|
||||
### Return type
|
||||
|
||||
[**models::PaginatedEndUserAgreementList**](PaginatedEndUserAgreementList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[jwtAuth](../README.md#jwtAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
## retrieve_eua_by_id
|
||||
|
||||
> models::EndUserAgreement retrieve_eua_by_id(id)
|
||||
|
||||
|
||||
Retrieve end user agreement by ID
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**id** | **uuid::Uuid** | A UUID string identifying this end user agreement. | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
[**models::EndUserAgreement**](EndUserAgreement.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[jwtAuth](../README.md#jwtAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
Reference in New Issue
Block a user