Payment instruments
Update payment instrument details
Set an existing payment instrument as default. This will make it the destination instrument when a scheduled payout is made. You can also update the label of a payment instrument.
patch/accounts/entities/{entityId}/payment-instruments/{id}
Request
- Base URLhttps://{prefix}.api.sandbox.checkout.com
- Auth
- OAuth 2Client credentialsToken URLstringScopesaccounts
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"label": "Peter's Personal Account",
"headers": {
"if-match": "Y3Y9MCZydj0w"
}
}Response
Payment instrument updated successfully
Example response
{
"_links": {
"self": {
"href": "https://{prefix}.api.checkout.com/accounts/entities/ent_wxglze3wwywujg4nna5fb7ldli"
}
},
"id": "ppi_qn4nis4k3ykpzzu7cvtuvhqqga"
}Changes
No recorded changes to this operation across all 1 revision of this API.