Skip to main content
GET
/
subscriptions
/
cp
/
api
/
v2
/
data
/
currencies
List enabled presentment currencies for the shop
curl --request GET \
  --url https://www.myshop.com/apps/subscriptions/cp/api/v2/data/currencies
import requests

url = "https://www.myshop.com/apps/subscriptions/cp/api/v2/data/currencies"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://www.myshop.com/apps/subscriptions/cp/api/v2/data/currencies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
const url = 'https://www.myshop.com/apps/subscriptions/cp/api/v2/data/currencies';
const options = {method: 'GET'};

fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://www.myshop.com/apps/subscriptions/cp/api/v2/data/currencies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://www.myshop.com/apps/subscriptions/cp/api/v2/data/currencies"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
require 'uri'
require 'net/http'

url = URI("https://www.myshop.com/apps/subscriptions/cp/api/v2/data/currencies")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
[]

Response

200 - */*

OK

Available options:
USD,
EUR,
GBP,
CAD,
AFN,
ALL,
DZD,
AOA,
ARS,
AMD,
AWG,
AUD,
BBD,
AZN,
BDT,
BSD,
BHD,
BIF,
BYN,
BZD,
BMD,
BTN,
BAM,
BRL,
BOB,
BWP,
BND,
BGN,
MMK,
KHR,
CVE,
KYD,
XAF,
CLP,
CNY,
COP,
KMF,
CDF,
CRC,
HRK,
CZK,
DKK,
DJF,
DOP,
XCD,
EGP,
ERN,
ETB,
FKP,
XPF,
FJD,
GIP,
GMD,
GHS,
GTQ,
GYD,
GEL,
GNF,
HTG,
HNL,
HKD,
HUF,
ISK,
INR,
IDR,
ILS,
IRR,
IQD,
JMD,
JPY,
JEP,
JOD,
KZT,
KES,
KID,
KWD,
KGS,
LAK,
LVL,
LBP,
LSL,
LRD,
LYD,
LTL,
MGA,
MKD,
MOP,
MWK,
MVR,
MRU,
MXN,
MYR,
MUR,
MDL,
MAD,
MNT,
MZN,
NAD,
NPR,
ANG,
NZD,
NIO,
NGN,
NOK,
OMR,
PAB,
PKR,
PGK,
PYG,
PEN,
PHP,
PLN,
QAR,
RON,
RUB,
RWF,
WST,
SHP,
SAR,
RSD,
SCR,
SLL,
SGD,
SDG,
SOS,
SYP,
ZAR,
KRW,
SSP,
SBD,
LKR,
SRD,
SZL,
SEK,
CHF,
TWD,
THB,
TJS,
TZS,
TOP,
TTD,
TND,
TRY,
TMT,
UGX,
UAH,
AED,
UYU,
UZS,
VUV,
VES,
VND,
XOF,
YER,
ZMW,
USDC,
BYR,
STD,
STN,
VED,
VEF,
XXX,
$UNKNOWN