post

/payments/deals/spot

A Spot Deal is a contract for buying or selling currency on the spot date (settlement date) which is normally 2 business days after the deal is booked (trade date). When creating a Spot Deal the following information needs to be included, Quote Id, Deal Information, Deal Beneficiary, Ordering Customer and Channel needs to be set to , Channel needs to be set to Wholesale. Deals are processed and managed as as a long running process, when the deal has been created the ID of the process it is being managed on will be returned. This processid can then be used by /deals/process/{processId} to obtain the actual id of the deal.

Authorization

oauth2 - application

Request Parameters

2 Headers

Request Body

Schema
object
quoteId
string
required
fundingSource
string
Allowed Values: Electronic, 3rd Party, Own account, BPay, Internet Banking, Branch, CHAPS, Cash, Direct Debit, BACS, Marketplace-Etailing, Other, Unknown
customer
object
title
string
firstName
string
required
middleName
string
lastName
string
required
companyName
string
branchName
string
accountNumber
string
required
address1
string
required
address2
string
city
string
required
state
string
required
postCode
string
required
countryISOCode
string
required
beneficiaries
array[object]
required
beneficiaryId
string
required
amount
number
required
payReason
string
payReference
string

Responses

The request has succeeded and returns a DealResponse that will contain the ProcessId of the deal.

Schema
object
processId
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
oauth_access_token