All URIs are relative to https://balanceplatform-api-test.adyen.com/bcl/v2
Method | HTTP request | Description |
---|---|---|
getGrantAccountsId | GET /grantAccounts/{id} | Get a grant account |
CapitalGrantAccount getGrantAccountsId(id)
Get a grant account
Returns the details of the grant account.
// Import classes:
//import com.adyen.client.infrastructure.*
//import com.adyen.model.balanceplatform.*
val apiInstance = GrantAccountsApi()
val id : kotlin.String = id_example // kotlin.String | The unique identifier of the grant account.
try {
val result : CapitalGrantAccount = apiInstance.getGrantAccountsId(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling GrantAccountsApi#getGrantAccountsId")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling GrantAccountsApi#getGrantAccountsId")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.String | The unique identifier of the grant account. |
Configure ApiKeyAuth: ApiClient.apiKey["X-API-Key"] = "" ApiClient.apiKeyPrefix["X-API-Key"] = "" Configure BasicAuth: ApiClient.username = "" ApiClient.password = ""
- Content-Type: Not defined
- Accept: application/json