Delete a buy instruction
Changed onRetires a buy instruction you no longer intend to use, so a fiat payment arriving later with its memo can never mint against it. Because instructions never expire, this is the only way to retire an unused one - an abandoned instruction left alone stays UNUSED and claimable indefinitely.
Deletion is permanent and there is no un-delete: create a new instruction with a new id, which gets a new memo. Transactions already produced from the instruction are unaffected and keep their fiatInstructionId and memo.
Only your own UNUSED buy instructions can be deleted. A redemption (FIAT) instruction is reported as 404, since this operation only addresses your CRYPTO instructions.
Request
- Base URLhttps://api.ripple.com
- AuthOAuth 2Client credentialsToken URLhttps://api.ripple.com/v2/oauth/tokenScopesrlusd_customers:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Fiat instruction UUID
Response
Instruction deleted. The body is empty, and a subsequent GET or DELETE on the id returns 404 FIAT_INSTRUCTION_NOT_FOUND.
Changes
- info
endpoint added
- info