Accept stablecoin pay-ins with real-time settlement. Issue on-chain refunds.
Example: Sandbox Credentials
client_id
) and secret (client_secret
) in the authentication request to https://oauth.sandbox.paxos.com/oauth2/token:access_token
to use in the request authorization header (-H "Authorization: Bearer access_token"
).Example: Seller Profile
id
(profile_id
) from the response, it will be used throughout this guide.Example: Buyer's Wallet
conversion_target_asset
to USD
to automatically convert stablecoin pay-ins to USD on the Paxos Platform.
ref_id
.
Doing so helps to protect against submitting the same request twice, as the second request with the same ref_id
will be rejected with 409 already exists
.
The ref_id
can also be used in many query parameters.SOLANA
as the crypto_network
.
If needed, use either ETHEREUM
or POLYGON_POS
for crypto_network
.
address
and compatible_crypto_networks
values for distribution to potential Buyers.
Also store the id
to use when looking up pay-ins.
identity_id
and account_id
values appear in the response.
Onboarding Questions? See the onboarding FAQ for details about user Identity and Account requirements. Contact Support to help determine the best onboarding approach.
Example: Buyer's Wallet
profile_id
, filtered by on the CRYPTO_DEPOSIT
type and updated_at.gte
parameters.
updated_at.gte
as a synchronization checkpoint.total
of 7.06
PYUSD (asset
) was converted to USD (balance_asset
) when the pay-in reached the Paxos Platform.
If you need to create a fiat account Paxos may need to enable some API functionality. C> ontact Support for assistance.
If you need to create a fiat account Paxos may need to enable some API functionality. Contact Support for assistance.For simplicity, this guide uses Create Sandbox Deposit to simulate funding the designated Seller Profile with USD. Include the Seller’s Profile ID (
profile_id
) as a path parameter, as well as the deposit asset
and amount
as query parameters.
activity_id
.
107.06
, reflecting both the previously received pay-in and the current USD deposit.
balance_asset
to USD
to automatically convert fiat to stablecoin and issue a refund in a single request.destination_address
) using the same /guides/stablecoin/network pair:
asset
is PYUSD
, the balance_asset
is USD
, and the crypto_network
is SOLANA
.profile_id
) used earlier.
ref_id
.
Doing so helps to protect against submitting the same request twice, as the second request with the same ref_id
will be rejected with 409 already exists
.
The ref_id
can also be used in many query parameters.status
of PENDING
, since the on-chain transaction has not yet been confirmed.
Create a refund monitoring request to check that the refund was successful.
profile_id
, filtering by on the CRYPTO_WITHDRAWAL
type and updated_at.gte
parameters.
updated_at.gte
as a synchronization checkpoint.total
of 7.06
PYUSD (asset
) was sent to the Buyer’s wallet address.
100.00
, where previously it was 7.06
.