Accept new quote

Description: Accept the new quote. Allowed when the order status is 12 (new quote awaiting confirmation) and allowedActions contains ACCEPT_NEW_QUOTE.

Preconditions:

  1. Signature required
  2. Request parameters must be encrypted

Notes:

  1. quoteNo is required: the new quote quote.quoteNo returned by /api/v1/payout/order/quote/info.
  2. Accepting means agreeing to the refund policy.
  3. Data is re-checked before accepting: missing data returns 8046 (msg lists the fields; call /order/profile/complete first, which is available in status 12); values the channel does not support return 8045; SWIFT order data containing non-English characters also returns 8045.
  4. A quoteNo different from the current new quote returns 8002 (msg "The new quote has been updated to {quoteNo}; refresh and accept it"); 8020 is no longer used for this.

Error codes:

  • 1000: order does not exist
  • 10123: quoteNo is empty, or both orderNo and thirdOrderNo are empty
  • 8012: order does not exist
  • 8031: the new quote cannot be processed in the current order status
  • 8037: refund policy not agreed
  • 8045: values not supported by the channel
  • 8046: supplement data before accepting the new quote
  • 8002: quoteNo differs from the current new quote (msg gives the latest quoteNo)
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Order number (provide at least one of orderNo or thirdOrderNo)

string

Third-party order number (provide at least one of orderNo or thirdOrderNo)

string

New quote number (required when accepting)

Headers
string
required

Unique request ID (maximum 64 characters)

int64
required

Request timestamp (milliseconds)

string
required

API KEY

string
required

Signature string

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json