Update a payment instruction
1 min
PATCH
https://api.fictive.com/REST/api/accounts/{accountReference}/payment-instructions/{paymentInstructionReference}
accountReferencestringThe account reference
paymentInstructionReferencestringThe payment instruction reference
X-TokenIdstringThe eSuite Token Id
X-SessionIdstringThe eSuite Session Id
X-VersionstringThe eSuite Version
OriginstringThe eSuite Origin
patchRequestarray
204No Content
400Bad Request
<br />• The cancellation code is too long
<br />• Unable to amend payment instruction
<br />• The status can only be set to 'Cancelled'
401Unauthorized
<br />• API Authentication Failure: Invalid Authentication Type/Credentials Provided
403Forbidden
<br />• Cart is already in use and/or bound to another account
404Not Found
<br />• Account cannot be found
<br />• Payment instruction cannot be found
412Precondition Failed
<br />• Can not amend payment instruction status that has already been cancelled
<br />• PATCH data validation failed.
<br />• Carts must contain a minimum of 1 line item.
curl --request PATCH \
--url https://api.fictive.com/REST/api/accounts/{accountReference}/payment-instructions/{paymentInstructionReference} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-version: string' \
--data '[
{}
]'Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.