put
https://prod.api.getborderless.com/external-contacts//payment-methods
Introduction
This endpoint updates the preferred receive method for an external contact. Once updated, all subsequent payments to this contact will be routed to this method.
Data Requirements
Provide the following data requirements when sending a PUT request to the Update Method endpoint.
The body of the request should contain the following properties (you must provide one of the listed unique identifiers):
| Parameter | Required? | Description | Type |
|---|---|---|---|
| bankAccountId | No | The unique identifier of the bank account associated with the external contact. | String |
| cardId | No | The unique identifier of the card associated with the external contact. | String |
| walletId | No | The unique identifier of the wallet associated with the external contact. | String |
The url of this request should contain the following path parameter:
| Parameter | Required? | Description | Type |
|---|---|---|---|
| handle | Yes | Account @handle of the external contact without the “@” symbol. Special characters must be URL-encoded before using in the endpoint URL (e.g., ^example => %5Eexample). Read more about borderless™ @handles. | String |
