All URIs are relative to https://kyc-test.adyen.com/lem/v3
Method | HTTP request | Description |
---|---|---|
deleteTransferInstrumentsId | DELETE /transferInstruments/{id} | Delete a transfer instrument |
getTransferInstrumentsId | GET /transferInstruments/{id} | Get a transfer instrument |
patchTransferInstrumentsId | PATCH /transferInstruments/{id} | Update a transfer instrument |
postTransferInstruments | POST /transferInstruments | Create a transfer instrument |
deleteTransferInstrumentsId(id)
Delete a transfer instrument
Deletes a transfer instrument.
// Import classes:
//import com.adyen.client.infrastructure.*
//import com.adyen.model.legalentitymanagement.*
val apiInstance = TransferInstrumentsApi()
val id : kotlin.String = id_example // kotlin.String | The unique identifier of the transfer instrument to be deleted.
try {
apiInstance.deleteTransferInstrumentsId(id)
} catch (e: ClientException) {
println("4xx response calling TransferInstrumentsApi#deleteTransferInstrumentsId")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TransferInstrumentsApi#deleteTransferInstrumentsId")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.String | The unique identifier of the transfer instrument to be deleted. |
null (empty response body)
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
TransferInstrument getTransferInstrumentsId(id)
Get a transfer instrument
Returns the details of a transfer instrument.
// Import classes:
//import com.adyen.client.infrastructure.*
//import com.adyen.model.legalentitymanagement.*
val apiInstance = TransferInstrumentsApi()
val id : kotlin.String = id_example // kotlin.String | The unique identifier of the transfer instrument.
try {
val result : TransferInstrument = apiInstance.getTransferInstrumentsId(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling TransferInstrumentsApi#getTransferInstrumentsId")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TransferInstrumentsApi#getTransferInstrumentsId")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.String | The unique identifier of the transfer instrument. |
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
TransferInstrument patchTransferInstrumentsId(id, xRequestedVerificationCode, transferInstrumentInfo)
Update a transfer instrument
Updates a transfer instrument.
// Import classes:
//import com.adyen.client.infrastructure.*
//import com.adyen.model.legalentitymanagement.*
val apiInstance = TransferInstrumentsApi()
val id : kotlin.String = id_example // kotlin.String | The unique identifier of the transfer instrument.
val xRequestedVerificationCode : kotlin.String = 0_0001 // kotlin.String | Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment.
val transferInstrumentInfo : TransferInstrumentInfo = // TransferInstrumentInfo |
try {
val result : TransferInstrument = apiInstance.patchTransferInstrumentsId(id, xRequestedVerificationCode, transferInstrumentInfo)
println(result)
} catch (e: ClientException) {
println("4xx response calling TransferInstrumentsApi#patchTransferInstrumentsId")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TransferInstrumentsApi#patchTransferInstrumentsId")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.String | The unique identifier of the transfer instrument. | |
xRequestedVerificationCode | kotlin.String | Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment. | [optional] |
transferInstrumentInfo | TransferInstrumentInfo | [optional] |
Configure ApiKeyAuth: ApiClient.apiKey["X-API-Key"] = "" ApiClient.apiKeyPrefix["X-API-Key"] = "" Configure BasicAuth: ApiClient.username = "" ApiClient.password = ""
- Content-Type: application/json
- Accept: application/json
TransferInstrument postTransferInstruments(xRequestedVerificationCode, transferInstrumentInfo)
Create a transfer instrument
Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts).
// Import classes:
//import com.adyen.client.infrastructure.*
//import com.adyen.model.legalentitymanagement.*
val apiInstance = TransferInstrumentsApi()
val xRequestedVerificationCode : kotlin.String = 1_7002 // kotlin.String | Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.
val transferInstrumentInfo : TransferInstrumentInfo = // TransferInstrumentInfo |
try {
val result : TransferInstrument = apiInstance.postTransferInstruments(xRequestedVerificationCode, transferInstrumentInfo)
println(result)
} catch (e: ClientException) {
println("4xx response calling TransferInstrumentsApi#postTransferInstruments")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TransferInstrumentsApi#postTransferInstruments")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
xRequestedVerificationCode | kotlin.String | Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment. | [optional] |
transferInstrumentInfo | TransferInstrumentInfo | [optional] |
Configure ApiKeyAuth: ApiClient.apiKey["X-API-Key"] = "" ApiClient.apiKeyPrefix["X-API-Key"] = "" Configure BasicAuth: ApiClient.username = "" ApiClient.password = ""
- Content-Type: application/json
- Accept: application/json