Docs
API 2026-05-27.dahlia Dashboard

API reference

10 operations, with parameters and examples.

A store turns Apple Pay and Google Pay on and off for its checkout, and names the websites where they may appear. The store's payment method configuration holds one switch per wallet; cards are always on and shown read only, and no other method is listed. A payment method domain registers one website, and validate asks again whether each wallet may show there. A wallet button appears only when the store has that wallet on and the page's domain is registered and active for it. A store that is rejected, suspended or closed is refused, and live mode needs an approved store. A wallet the store cannot offer stays off: turning it on is refused. A domain shows the registration status and any status details for each of its six wallets. A domain's registration status does not enable a wallet; the store's payment method configuration controls whether it may offer that wallet. An Apple Pay payment enters through POST /v1/tokens: send the Apple Pay payment data the device returned, then create a PaymentMethod from the token with card[token], or pay with it directly in payment_method_data[card][token]. A token is used once, and the card it makes shows its wallet in card.wallet. Apple Pay checks each domain with a domain association file: download it from the wallet domains in the Dashboard's settings and host it at https://<domain>/.well-known/apple-developer-merchantid-domain-association before you validate the domain. Every domain of a store hosts the same file.

Send every request to https://api.fluveo.com/v1 with your secret key as a Bearer token. This page lists only what Fluveo serves; the OpenAPI file holds the same operations.

An operation or a parameter marked Preview works, but it is not locked yet and may change: what Preview means.

Lists the store's payment method configuration: the one its checkout usesPreview#

GET/v1/payment_method_configurationsrak_payment_method_configurations_read

Preview: this operation works, but it is not locked yet; it may change.

Query parameters
  • activebooleanOptional

    Only configurations that are active (true) or not (false).

  • applicationstringOptional

    Only configurations made by this application. The store's own configuration names none, so any value lists nothing.

  • ending_beforestringOptional

    Cursor: the id of the first object of the current page, to get the previous page. Do not send it with starting_after.

  • limitintegerOptional

    How many objects to return, from 1 to 100. Default 10.

  • starting_afterstringOptional

    Cursor: the id of the last object of the previous page, to get the next page. Do not send it with ending_before.

Headers
  • Fluveo-VersionenumOptional

    Optional. The only version Fluveo serves is 2026-05-27.dahlia; any other value is refused with a 400. Every answer names that version in its own Fluveo-Version header, except the refusals Fluveo gives before it reads the request (no key, an unknown key, an unknown URL, a body that is not a form) and a file's bytes, which name no version and no Request-Id.

    One of: 2026-05-27.dahlia.

Returns a list of payment_method_configuration objects.

Request
curl https://api.fluveo.com/v1/payment_method_configurations \
  -H "Authorization: Bearer sk_test_..."
const response = await fetch("https://api.fluveo.com/v1/payment_method_configurations", {
  method: "GET",
  headers: {
    "Authorization": "Bearer sk_test_...",
  },
});
console.log(await response.json());
import requests

response = requests.get(
    "https://api.fluveo.com/v1/payment_method_configurations",
    headers={"Authorization": "Bearer sk_test_..."},
)
print(response.json())
<?php
$ch = curl_init("https://api.fluveo.com/v1/payment_method_configurations");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer sk_test_...",
    ],
]);
echo curl_exec($ch);

Creates a payment method domainPreview#

POST/v1/payment_method_domainsrak_payment_method_domain_write

Preview: this operation works, but it is not locked yet; it may change.

Headers
  • Idempotency-KeystringOptional

    Send a unique key, 1 to 255 characters, on every POST. A retry with the same key and the same body returns the first answer instead of acting twice (with Idempotent-Replayed: true); the same key with another body is refused. Keys are kept 7 days, except on POST /v1/checkout/sessions, POST /v1/checkout/sessions/{session} and POST /v1/webhook_endpoints, where a key holds 24 hours; webhook endpoint keys are also capped at the newest 32 per store and mode. Do not rely on a replay after that window. GET and DELETE ignore it.

  • Fluveo-VersionenumOptional

    Optional. The only version Fluveo serves is 2026-05-27.dahlia; any other value is refused with a 400. Every answer names that version in its own Fluveo-Version header, except the refusals Fluveo gives before it reads the request (no key, an unknown key, an unknown URL, a body that is not a form) and a file's bytes, which name no version and no Request-Id.

    One of: 2026-05-27.dahlia.

Body parameters
  • domain_namestringRequired

    The website where the store's checkout runs, as a bare host name such as shop.example.com: no scheme, port or path.

  • enabledbooleanOptional

    Whether wallets may show on this domain. Default true.

Use only the documented body parameters. Send a new Idempotency-Key with each new request, and the same key again only to retry that request.

Returns a payment_method_domain object.

Request
curl https://api.fluveo.com/v1/payment_method_domains \
  -H "Authorization: Bearer sk_test_..." \
  -H "Idempotency-Key: $(uuidgen)" \
  --data-urlencode "domain_name=shop.example.com"
const response = await fetch("https://api.fluveo.com/v1/payment_method_domains", {
  method: "POST",
  headers: {
    "Authorization": "Bearer sk_test_...",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: new URLSearchParams([["domain_name","shop.example.com"]]),
});
console.log(await response.json());
import uuid

import requests

response = requests.post(
    "https://api.fluveo.com/v1/payment_method_domains",
    headers={"Authorization": "Bearer sk_test_...", "Idempotency-Key": str(uuid.uuid4())},
    data=[("domain_name", "shop.example.com")],
)
print(response.json())
<?php
$ch = curl_init("https://api.fluveo.com/v1/payment_method_domains");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer sk_test_...",
        "Idempotency-Key: " . bin2hex(random_bytes(16)),
    ],
    CURLOPT_POSTFIELDS => "domain_name=shop.example.com",
]);
echo curl_exec($ch);

Lists payment method domain objects, newest firstPreview#

GET/v1/payment_method_domainsrak_payment_method_domain_read

Preview: this operation works, but it is not locked yet; it may change.

Query parameters
  • domain_namestringOptional

    Only the domain with this name.

  • enabledbooleanOptional

    Only domains that are on (true) or off (false).

  • ending_beforestringOptional

    Cursor: the id of the first object of the current page, to get the previous page. Do not send it with starting_after.

  • limitintegerOptional

    How many objects to return, from 1 to 100. Default 10.

  • starting_afterstringOptional

    Cursor: the id of the last object of the previous page, to get the next page. Do not send it with ending_before.

Headers
  • Fluveo-VersionenumOptional

    Optional. The only version Fluveo serves is 2026-05-27.dahlia; any other value is refused with a 400. Every answer names that version in its own Fluveo-Version header, except the refusals Fluveo gives before it reads the request (no key, an unknown key, an unknown URL, a body that is not a form) and a file's bytes, which name no version and no Request-Id.

    One of: 2026-05-27.dahlia.

Returns a list of payment_method_domain objects.

Request
curl https://api.fluveo.com/v1/payment_method_domains \
  -H "Authorization: Bearer sk_test_..."
const response = await fetch("https://api.fluveo.com/v1/payment_method_domains", {
  method: "GET",
  headers: {
    "Authorization": "Bearer sk_test_...",
  },
});
console.log(await response.json());
import requests

response = requests.get(
    "https://api.fluveo.com/v1/payment_method_domains",
    headers={"Authorization": "Bearer sk_test_..."},
)
print(response.json())
<?php
$ch = curl_init("https://api.fluveo.com/v1/payment_method_domains");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer sk_test_...",
    ],
]);
echo curl_exec($ch);

Creates a tokenPreview#

POST/v1/tokensNo restricted key

Preview: this operation works, but it is not locked yet; it may change.

Headers
  • Idempotency-KeystringOptional

    Send a unique key, 1 to 255 characters, on every POST. A retry with the same key and the same body returns the first answer instead of acting twice (with Idempotent-Replayed: true); the same key with another body is refused. Keys are kept 7 days, except on POST /v1/checkout/sessions, POST /v1/checkout/sessions/{session} and POST /v1/webhook_endpoints, where a key holds 24 hours; webhook endpoint keys are also capped at the newest 32 per store and mode. Do not rely on a replay after that window. GET and DELETE ignore it.

  • Fluveo-VersionenumOptional

    Optional. The only version Fluveo serves is 2026-05-27.dahlia; any other value is refused with a 400. Every answer names that version in its own Fluveo-Version header, except the refusals Fluveo gives before it reads the request (no key, an unknown key, an unknown URL, a body that is not a form) and a file's bytes, which name no version and no Request-Id.

    One of: 2026-05-27.dahlia.

Body parameters
  • pk_tokenstringRequired

    The Apple Pay payment data the device returned (PKPayment's token.paymentData), as JSON. It makes a single-use card token and is never stored. In test mode, a pk_token_transaction_id of ApplePayStubs~<test card number>~<amount>~<currency>~<anything> makes a token of that test card whatever pk_token holds; live mode refuses it.

  • The card's name as Apple Pay shows it (PKPaymentMethod displayName). Optional.

  • The card network as Apple Pay names it (PKPaymentMethod network), such as Visa or MasterCard. Optional.

  • Apple Pay's transaction identifier (PKPaymentToken transactionIdentifier). Optional; see pk_token for its test mode use.

Use only the documented body parameters. Send a new Idempotency-Key with each new request, and the same key again only to retry that request.

Returns a token object.

Request
curl https://api.fluveo.com/v1/tokens \
  -H "Authorization: Bearer sk_test_..." \
  -H "Idempotency-Key: $(uuidgen)" \
  --data-urlencode "pk_token={\"version\":\"EC_v1\",\"data\":\"...\",\"signature\":\"...\",\"header\":{}}" \
  --data-urlencode "pk_token_instrument_name=Visa 4242" \
  --data-urlencode "pk_token_payment_network=Visa" \
  --data-urlencode "pk_token_transaction_id=..."
const response = await fetch("https://api.fluveo.com/v1/tokens", {
  method: "POST",
  headers: {
    "Authorization": "Bearer sk_test_...",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: new URLSearchParams([["pk_token","{\"version\":\"EC_v1\",\"data\":\"...\",\"signature\":\"...\",\"header\":{}}"],["pk_token_instrument_name","Visa 4242"],["pk_token_payment_network","Visa"],["pk_token_transaction_id","..."]]),
});
console.log(await response.json());
import uuid

import requests

response = requests.post(
    "https://api.fluveo.com/v1/tokens",
    headers={"Authorization": "Bearer sk_test_...", "Idempotency-Key": str(uuid.uuid4())},
    data=[("pk_token", "{\"version\":\"EC_v1\",\"data\":\"...\",\"signature\":\"...\",\"header\":{}}"), ("pk_token_instrument_name", "Visa 4242"), ("pk_token_payment_network", "Visa"), ("pk_token_transaction_id", "...")],
)
print(response.json())
<?php
$ch = curl_init("https://api.fluveo.com/v1/tokens");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer sk_test_...",
        "Idempotency-Key: " . bin2hex(random_bytes(16)),
    ],
    CURLOPT_POSTFIELDS => "pk_token=%7B%22version%22%3A%22EC_v1%22%2C%22data%22%3A%22...%22%2C%22signature%22%3A%22...%22%2C%22header%22%3A%7B%7D%7D&pk_token_instrument_name=Visa%204242&pk_token_payment_network=Visa&pk_token_transaction_id=...",
]);
echo curl_exec($ch);

Updates a payment method configuration#

POST/v1/payment_method_configurations/{configuration}rak_payment_method_configurations_write

Path parameters
  • configurationstringRequired

    The payment method configuration's id.

Headers
  • Idempotency-KeystringOptional

    Send a unique key, 1 to 255 characters, on every POST. A retry with the same key and the same body returns the first answer instead of acting twice (with Idempotent-Replayed: true); the same key with another body is refused. Keys are kept 7 days, except on POST /v1/checkout/sessions, POST /v1/checkout/sessions/{session} and POST /v1/webhook_endpoints, where a key holds 24 hours; webhook endpoint keys are also capped at the newest 32 per store and mode. Do not rely on a replay after that window. GET and DELETE ignore it.

  • Fluveo-VersionenumOptional

    Optional. The only version Fluveo serves is 2026-05-27.dahlia; any other value is refused with a 400. Every answer names that version in its own Fluveo-Version header, except the refusals Fluveo gives before it reads the request (no key, an unknown key, an unknown URL, a body that is not a form) and a file's bytes, which name no version and no Request-Id.

    One of: 2026-05-27.dahlia.

Body parameters
  • apple_payobjectOptional

    Apple Pay for this store: display_preference[preference] on or off. Card stays on while either wallet is on.

    1 child field
  • boletoobjectOptionalPreview

    Boleto: display_preference[preference] on. Boleto stays on, and a store that does not take Boleto cannot turn it on.

    1 child field
  • cardobjectOptionalPreview

    Cards for this store: display_preference[preference] on, off or none. Card stays on while either wallet is on, and on a store that offers no wallet.

    1 child field
  • google_payobjectOptional

    Google Pay for this store: display_preference[preference] on or off. Card stays on while either wallet is on.

    1 child field
  • pixobjectOptionalPreview

    Pix: display_preference[preference] on. Pix stays on, and a store that does not take Pix cannot turn it on.

    1 child field

Use only the documented body parameters. Send a new Idempotency-Key with each new request, and the same key again only to retry that request.

Returns a payment_method_configuration object.

Request
curl https://api.fluveo.com/v1/payment_method_configurations/pmc_123 \
  -H "Authorization: Bearer sk_test_..." \
  -H "Idempotency-Key: $(uuidgen)" \
  --data-urlencode "apple_pay[display_preference][preference]=on"
const response = await fetch("https://api.fluveo.com/v1/payment_method_configurations/pmc_123", {
  method: "POST",
  headers: {
    "Authorization": "Bearer sk_test_...",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: new URLSearchParams([["apple_pay[display_preference][preference]","on"]]),
});
console.log(await response.json());
import uuid

import requests

response = requests.post(
    "https://api.fluveo.com/v1/payment_method_configurations/pmc_123",
    headers={"Authorization": "Bearer sk_test_...", "Idempotency-Key": str(uuid.uuid4())},
    data=[("apple_pay[display_preference][preference]", "on")],
)
print(response.json())
<?php
$ch = curl_init("https://api.fluveo.com/v1/payment_method_configurations/pmc_123");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer sk_test_...",
        "Idempotency-Key: " . bin2hex(random_bytes(16)),
    ],
    CURLOPT_POSTFIELDS => "apple_pay%5Bdisplay_preference%5D%5Bpreference%5D=on",
]);
echo curl_exec($ch);

Retrieves a payment method configurationPreview#

GET/v1/payment_method_configurations/{configuration}rak_payment_method_configurations_read

Preview: this operation works, but it is not locked yet; it may change.

Path parameters
  • configurationstringRequired

    The payment method configuration's id.

Headers
  • Fluveo-VersionenumOptional

    Optional. The only version Fluveo serves is 2026-05-27.dahlia; any other value is refused with a 400. Every answer names that version in its own Fluveo-Version header, except the refusals Fluveo gives before it reads the request (no key, an unknown key, an unknown URL, a body that is not a form) and a file's bytes, which name no version and no Request-Id.

    One of: 2026-05-27.dahlia.

Returns a payment_method_configuration object.

Request
curl https://api.fluveo.com/v1/payment_method_configurations/pmc_123 \
  -H "Authorization: Bearer sk_test_..."
const response = await fetch("https://api.fluveo.com/v1/payment_method_configurations/pmc_123", {
  method: "GET",
  headers: {
    "Authorization": "Bearer sk_test_...",
  },
});
console.log(await response.json());
import requests

response = requests.get(
    "https://api.fluveo.com/v1/payment_method_configurations/pmc_123",
    headers={"Authorization": "Bearer sk_test_..."},
)
print(response.json())
<?php
$ch = curl_init("https://api.fluveo.com/v1/payment_method_configurations/pmc_123");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer sk_test_...",
    ],
]);
echo curl_exec($ch);

Turns a domain on or off for Apple Pay and Google Pay, and returns the domainPreview#

POST/v1/payment_method_domains/{payment_method_domain}rak_payment_method_domain_write

Preview: this operation works, but it is not locked yet; it may change.

Path parameters
Headers
  • Idempotency-KeystringOptional

    Send a unique key, 1 to 255 characters, on every POST. A retry with the same key and the same body returns the first answer instead of acting twice (with Idempotent-Replayed: true); the same key with another body is refused. Keys are kept 7 days, except on POST /v1/checkout/sessions, POST /v1/checkout/sessions/{session} and POST /v1/webhook_endpoints, where a key holds 24 hours; webhook endpoint keys are also capped at the newest 32 per store and mode. Do not rely on a replay after that window. GET and DELETE ignore it.

  • Fluveo-VersionenumOptional

    Optional. The only version Fluveo serves is 2026-05-27.dahlia; any other value is refused with a 400. Every answer names that version in its own Fluveo-Version header, except the refusals Fluveo gives before it reads the request (no key, an unknown key, an unknown URL, a body that is not a form) and a file's bytes, which name no version and no Request-Id.

    One of: 2026-05-27.dahlia.

Body parameters
  • enabledbooleanOptional

    Whether wallets may show on this domain: false turns the domain off, true turns it on again.

Use only the documented body parameters. Send a new Idempotency-Key with each new request, and the same key again only to retry that request.

Returns a payment_method_domain object.

Request
curl https://api.fluveo.com/v1/payment_method_domains/pmd_123 \
  -H "Authorization: Bearer sk_test_..." \
  -H "Idempotency-Key: $(uuidgen)" \
  --data-urlencode "enabled=false"
const response = await fetch("https://api.fluveo.com/v1/payment_method_domains/pmd_123", {
  method: "POST",
  headers: {
    "Authorization": "Bearer sk_test_...",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: new URLSearchParams([["enabled","false"]]),
});
console.log(await response.json());
import uuid

import requests

response = requests.post(
    "https://api.fluveo.com/v1/payment_method_domains/pmd_123",
    headers={"Authorization": "Bearer sk_test_...", "Idempotency-Key": str(uuid.uuid4())},
    data=[("enabled", "false")],
)
print(response.json())
<?php
$ch = curl_init("https://api.fluveo.com/v1/payment_method_domains/pmd_123");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer sk_test_...",
        "Idempotency-Key: " . bin2hex(random_bytes(16)),
    ],
    CURLOPT_POSTFIELDS => "enabled=false",
]);
echo curl_exec($ch);

Retrieves a payment method domainPreview#

GET/v1/payment_method_domains/{payment_method_domain}rak_payment_method_domain_read

Preview: this operation works, but it is not locked yet; it may change.

Path parameters
Headers
  • Fluveo-VersionenumOptional

    Optional. The only version Fluveo serves is 2026-05-27.dahlia; any other value is refused with a 400. Every answer names that version in its own Fluveo-Version header, except the refusals Fluveo gives before it reads the request (no key, an unknown key, an unknown URL, a body that is not a form) and a file's bytes, which name no version and no Request-Id.

    One of: 2026-05-27.dahlia.

Returns a payment_method_domain object.

Request
curl https://api.fluveo.com/v1/payment_method_domains/pmd_123 \
  -H "Authorization: Bearer sk_test_..."
const response = await fetch("https://api.fluveo.com/v1/payment_method_domains/pmd_123", {
  method: "GET",
  headers: {
    "Authorization": "Bearer sk_test_...",
  },
});
console.log(await response.json());
import requests

response = requests.get(
    "https://api.fluveo.com/v1/payment_method_domains/pmd_123",
    headers={"Authorization": "Bearer sk_test_..."},
)
print(response.json())
<?php
$ch = curl_init("https://api.fluveo.com/v1/payment_method_domains/pmd_123");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer sk_test_...",
    ],
]);
echo curl_exec($ch);

Retrieves a tokenPreview#

GET/v1/tokens/{token}No restricted key

Preview: this operation works, but it is not locked yet; it may change.

Path parameters
  • tokenstringRequired

    The id of the token.

Headers
  • Fluveo-VersionenumOptional

    Optional. The only version Fluveo serves is 2026-05-27.dahlia; any other value is refused with a 400. Every answer names that version in its own Fluveo-Version header, except the refusals Fluveo gives before it reads the request (no key, an unknown key, an unknown URL, a body that is not a form) and a file's bytes, which name no version and no Request-Id.

    One of: 2026-05-27.dahlia.

Returns a token object.

Request
curl https://api.fluveo.com/v1/tokens/tok_123 \
  -H "Authorization: Bearer sk_test_..."
const response = await fetch("https://api.fluveo.com/v1/tokens/tok_123", {
  method: "GET",
  headers: {
    "Authorization": "Bearer sk_test_...",
  },
});
console.log(await response.json());
import requests

response = requests.get(
    "https://api.fluveo.com/v1/tokens/tok_123",
    headers={"Authorization": "Bearer sk_test_..."},
)
print(response.json())
<?php
$ch = curl_init("https://api.fluveo.com/v1/tokens/tok_123");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer sk_test_...",
    ],
]);
echo curl_exec($ch);

Asks again whether Apple Pay and Google Pay may show on this domain, and returns the domain with each wallet's statusPreview#

POST/v1/payment_method_domains/{payment_method_domain}/validaterak_payment_method_domain_write

Preview: this operation works, but it is not locked yet; it may change.

Path parameters
Headers
  • Idempotency-KeystringOptional

    Send a unique key, 1 to 255 characters, on every POST. A retry with the same key and the same body returns the first answer instead of acting twice (with Idempotent-Replayed: true); the same key with another body is refused. Keys are kept 7 days, except on POST /v1/checkout/sessions, POST /v1/checkout/sessions/{session} and POST /v1/webhook_endpoints, where a key holds 24 hours; webhook endpoint keys are also capped at the newest 32 per store and mode. Do not rely on a replay after that window. GET and DELETE ignore it.

  • Fluveo-VersionenumOptional

    Optional. The only version Fluveo serves is 2026-05-27.dahlia; any other value is refused with a 400. Every answer names that version in its own Fluveo-Version header, except the refusals Fluveo gives before it reads the request (no key, an unknown key, an unknown URL, a body that is not a form) and a file's bytes, which name no version and no Request-Id.

    One of: 2026-05-27.dahlia.

Use only the documented body parameters. Send a new Idempotency-Key with each new request, and the same key again only to retry that request.

Returns a payment_method_domain object.

Request
curl -X POST https://api.fluveo.com/v1/payment_method_domains/pmd_123/validate \
  -H "Authorization: Bearer sk_test_..." \
  -H "Idempotency-Key: $(uuidgen)"
const response = await fetch("https://api.fluveo.com/v1/payment_method_domains/pmd_123/validate", {
  method: "POST",
  headers: {
    "Authorization": "Bearer sk_test_...",
    "Idempotency-Key": crypto.randomUUID(),
  },
});
console.log(await response.json());
import uuid

import requests

response = requests.post(
    "https://api.fluveo.com/v1/payment_method_domains/pmd_123/validate",
    headers={"Authorization": "Bearer sk_test_...", "Idempotency-Key": str(uuid.uuid4())},
)
print(response.json())
<?php
$ch = curl_init("https://api.fluveo.com/v1/payment_method_domains/pmd_123/validate");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer sk_test_...",
        "Idempotency-Key: " . bin2hex(random_bytes(16)),
    ],
    CURLOPT_POSTFIELDS => "",
]);
echo curl_exec($ch);

The payment_method_configuration object#

Attributes

The payment_method_domain object#

Attributes

The token object#

Ids start with tok_.

Attributes