Geoswift Quotation Create Interface

Description

Create the quotation

Request endpoint

https://api.geoswift.com/ofr/quotation/order

Name Type & Max Description Requirement
merchantId varchar(9) The unique identity of the merchant in Geoswift system M
requestId varchar(50) The requestId is an ID generated by the merchant. This ID is unique for each merchant and can be used for ensuring the uniqueness of the request. If the ID has been used previously, the system will respond "order already exists" M
originalCurrency - Original remittance currency
Refer to “Currency List.”
M
originalAmount long(18) Original remittance amount.It is required when the quotationType is ORIGINAL. UNIT is in cents C
targetCurrency varchar(3) Target remittance currency
Refer to “Currency List”
M
targetAmount long(18) Target remittance amount.It is required when the quotationType is TARGET. UNIT is in cents C
payerType - The payer type: O
INDIVIDUAL
COMPANY
payeeType - The payee type: O
INDIVIDUAL
COMPANY
quotationType - The quotation type: M
ORIGINAL
TARGET
tenor - The tenor date: M
TODAY(Real time)
TOM(T+1)
SPOT(T+2)
TOM and SPOT can be passed when the target currencies are USD, AUD, GBP, CAD, HKD, CNH, SGD, JPY, or EUR
includeFee - Service Fee: M
1 (Include remittance service fees)
0 (Exclude remittance service fees)
Can only be set to 1 when quoting in the target currency, which must be USD, AUD, GBP, CAD, HKD, CNH, SGD, JPY, or EUR.
payeeOrgCode varchar(50) The code of payee organization; See "OrganCode" in the attachment M
payeeOrgCountry - The country code of payee organization O
payeeBankNo varchar(50) The bank account number of payee O
partnerId varchar(9) The unique identifier of the secondary merchant under the main merchant in the Geoswift system. Note: this parameter can be omitted if the initiating merchant is the main merchant. C
hmac - The result of parameter signature,generated by the merchant.For the method of obtaining hmac,please reference to "Geoswift encryption and decryption process specification" M

Sample

{ "hmac": "gFAXxbBngiRqvA7YCdR7yl9AG835WPqvMcERSTvCeB+yHaPaeo1ooU7Aizo lg1eQgO2uBCMcqI1d2oUN6kXo7HQkJu2VBhLKJIK/kmLZ3+5TcR0DaTEBLijq12wld8o cyY21vDZCOQyZBS6pi+IMUDeRIqdcj6MK68pdiOY/KpE1llmHeAJTwcFZlbdN7UzdLQP pkk9vJygZahHEASxtYqE7HBIyEb30HE7o1D60iuSfRItojdfgNS3EB5LbsnScYmmRwTV TV2jCJOHn4mJzPWst6FSIEHtFvFIqbxMq+atGDpbgRx8AzdK6o1laOluo+zrIh9Yy4Ax vJt4Vm3yTbA==", "includeFee": "1", "merchantId": "896666110", "originalAmount": "", "originalCurrency": "USD", "payeeBankNo": "323423423423423", "payeeOrgCode": "000000", "payeeOrgCountry": "JPN", "payeeType": "INDIVIDUAL", "payerType": "INDIVIDUAL", "quotationType": "TARGET", "requestId": "17198885486236", "targetAmount": "1000", "targetCurrency": "JPY", "tenor": "TODAY" }

Response Fields

Name Description
merchantId The unique identity of the merchant in Geoswift system
requestId The requestId
serialNumber The unique identifier of quotation
originalCurrency Original remittance currency
originalAmount Original remittance amount.UNIT: China fen,1 Yuan=100 Fen
targetCurrency Target remittance currency
targetAmount Target remittance amount. UNIT is in cents
payerType The payer type:
INDIVIDUAL
COMPANY
payeeType The payee type:
INDIVIDUAL
COMPANY
quotationType The quotation type:
ORIGINAL
TARGET
payeeOrgCode The code of payee organization
payeeOrgCountry The country of payee organization
payeeBankNo The bank account number of payee
completionTime The completion time of the quotation request; GMT time,format: yyyy-mm-dd hh:mm:ss
quotationStatus The quotation status:
SUCCESS
FAILED
tenor Tenor Date
feeAmount Service fee amount;
Returned when includeFee is set to 1.
feeCurrency Service fee currency;
Returned when includeFee is set to 1.
status The response status:
SUCCESS
ERROR
listPrice FX rate,with eight reserved decimal places
expiredDateTime The expiry time of the quotation; Beijing time,format: yyyy-mm-dd hh:mm:ss
createDateTime The creation time of the quotation; Beijing time,format: yyyy-mm-dd hh:mm:ss
partnerId Same as the request parameter
hmac The result of parameter signature,generated by Geoswift.For the signature verification process,please reference to "Geoswift encryption and decryption process specification"

Sample

{ "completionTime": "2021-11-09 02:10:53", "createDateTime": "2021-11-09 02:10:53", "expiredDateTime": "2021-11-09 06:10:54", "hmac": "osbgFouuYB/ZJihyhux9aQWJsICM7AWhUiNuWued6FtkhEYJLnHcP/8KA9v WCo3X64/ETid2u+LOHq4fGrMo7E7iCIAepUPIDw3UX5EqOqD0vxBbfrkIZO9/mrLbilM rYF7qqZN5NEY5scjxtM/ePWbpnF8uHW8HBlqTjek5YhheIaTm3dKkoOYLqWQtd2Po7l3 MxysLTw70zqt4TdSfj1vMVV9orCtslDp7MAHEmDt9t/JRgJCKDxW7B2oalWHVrBsad8O NEzJ5CfqM/8xnmFTHiz9lMm68pNKnUk0TPJ4gmm0yvq4Hjlwo2gaAj+pH2UngadaEXzX 4cjL02MGHUA==", "listPrice": 61.06167467, "merchantId": "G30000001", "originalAmount": "1", "originalCurrency": "USD", "payeeBankNo": "", "payeeOrgCountry": "PHL", "payeeOrgCode": "00048", "payeeType": "INDIVIDUAL", "payerType": "INDIVIDUAL", { "completionTime": "2021-11-09 02:10:53", "createDateTime": "2021-11-09 02:10:53", "expiredDateTime": "2021-11-09 06:10:54", "hmac": "osbgFouuYB/ZJihyhux9aQWJsICM7AWhUiNuWued6FtkhEYJLnHcP/8KA9vWCo3X 64/ETid2u+LOHq4fGrMo7E7iCIAepUPIDw3UX5EqOqD0vxBbfrkIZO9/mrLbilMrYF7qqZN5NE Y5scjxtM/ePWbpnF8uHW8HBlqTjek5YhheIaTm3dKkoOYLqWQtd2Po7l3MxysLTw70zqt4TdSf j1vMVV9orCtslDp7MAHEmDt9t/JRgJCKDxW7B2oalWHVrBsad8ONEzJ5CfqM/8xnmFTHiz9lMm 68pNKnUk0TPJ4gmm0yvq4Hjlwo2gaAj+pH2UngadaEXzX4cjL02MGHUA==", "listPrice": 61.06167467, "merchantId": "G30000001", "originalAmount": "1", "originalCurrency": "USD", "payeeBankNo": "", "payeeOrgCountry": "PHL", "payeeOrgCode": "00048", "payeeType": "INDIVIDUAL", "payerType": "INDIVIDUAL", "quotationStatus": "SUCCESS", "quotationType": "ORIGINAL", "requestId": "16364234661431004", "serialNumber": "20211109648633642667420405927936", "status": "SUCCESS", "targetAmount": "61", "targetCurrency": "PHP" } { "completionTime": "2024-07-02 11:51:19", "createDateTime": "2024-07-02 11:51:18", "expiredDateTime": "2024-07-02 11:51:33", "feeAmount": "10", "feeCurrency": "JPY", "hmac": "yJH47B+Nvi4PoMulFl3bI/+ol/RJyOip+MrlGNxOGxx4Nt/NEvdaKy5AUk4/vJvy/R Y2e48eDfuolP5+OcyeGnnMLFB6Gjj2lePQ8KzpsMn6MWrizNrAeFMC2U5dDZdcaZE+0b8keHpra 7cnopM4O9QHeHsyXRy46jdGinJI0ANqaSQroUOGIwbXrioVrGB0GzcX1BPQebMfKMjXsgzm1AE3 H9A/f/t/qQ5lEzZnUnPm8jbyg8v5ylMvsJhtU/RZh+N24vSvrXKHauk1IoaiV9Xs2B5eN4KsVvw CMqyeBwDZSoec0lBeZ70I2q5vh7ZpUS9LlCrB2g2XmRF5FDePhg==", "listPrice": 109.7, "merchantId": "896666110", "originalAmount": "9", "originalCurrency": "USD", "payeeBankNo": "323423423423423", "payeeOrgCountry": "JPN", "payeeType": "INDIVIDUAL", "payerType": "INDIVIDUAL", "quotationStatus": "SUCCESS", "quotationType": "TARGET", "requestId": "17198885486236", "serialNumber": "20240702307198992759368376184832", "status": "SUCCESS", "targetAmount": "1000", "targetCurrency": "JPY", "tenor": "TODAY" }