- API Introduction
- Error Code
- Payment Intents
- Charges
- Payment Methods
- Refunds
- Webhooks
- Events
- Files
- Disputes
- Payouts
- Balance
- Products
- Prices
- Payment Links
- Checkout
- Customers
- Setup Intents
- Invoices
- Invoice Items
- Invoice Line Item
- Subscriptions
- Subscription Items
- Issuing
- Coupons
- Promotion Code
- Accounts
- Fx Quote
Create an FX Quote
Developing
POST
/v1/fx_quotes
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Header Params
Accept
string
required
Default:
application/json
Content-Type
string
required
Default:
application/json
Body Params application/json
from_currencies
array[string]
required
to_currency
string
required
Example
{
"from_currencies": [
"string"
],
"to_currency": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apitest.wooshpay.com/v1/fx_quotes' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw ''
Responses
🟢200Success
application/json
Body
id
string
optional
object
string
optional
rates
object
optional
<from_currency>.exchange_rate
string
optional
to_currency
string
optional
created
string
optional
Example
{
"id": "string",
"object": "string",
"rates": {
"<from_currency>.exchange_rate": "string"
},
"to_currency": "string",
"created": "string"
}
Modified at 2025-04-22 08:20:28