Update an instrument

Update an instrument.

Path Params
uuid
required

Identifier of the resource in Payrails.

Body Params
string
enum

New status of the Instrument. If you want to change to "deleted", you should use the DELETE endpoint instead. Also, note that some status are internal and cannot be changed via API, e.g. transient, etc. Status update requests can also be rejected if an instrument status cannot be changed to the desired one, e.g. deleted instruments.

Allowed:
string

Identifier of the initial payment made with this instrument on the Networks, e.g. Mastercard Trace ID or Visa Transaction ID.

string

Merchant-provided reference for the instrument.

string
enum

New payment method of the instrument. Only the methods supporting instruments are accepted.

Allowed:
boolean | null

True if the holder wants to make this instrument as default.

Headers
uuid
required

Idempotency key to be used. Sending again the same key would return the same result without re-executing the update.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Choose an example:
application/json