Transfers
Cancel a Transfer
Changed onTransfers must be canceled by the originating Customer (or Authorized Representative).
Transfers can only enter the canceled state if Newline receives a request while the Transfer is in queued or pending states.
A cancellation request during the pending state is not guaranteed, as this state may include payment execution. At that stage, a cancel request will result in an error.
put/transfers/{uid}/cancel
Request
- Base URLhttps://sandbox.newline53.com/api/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"authorized_representative_name": "Swee'Pea",
"cancellation_reason": "Transfer submitted by accident"
}Response
The updated Transfer resource is returned
Schema required(unresolved $ref)
Changes
- warning
added the new
TRADenum value to the//response property for the response status - info
the
////response's property pattern was changed from^.{1,80}$to^[^\r\n]{1,80}$for the status
- warning
- warning
removed the optional property
////from the response with the status
- warning