Developer documentation
Build with dtcpay.
REST APIs for wallets, card issuing, payment acceptance, identity verification, and PSD2 open banking — secured by OAuth 2.0 and request signing, with consistent JSON envelopes and webhooks across products.
Pick an API to get started
Get API keys
Sandbox credentials are issued within 1 business day. Production keys are released after compliance review.
# Fetch an access token via the OAuth 2.0 Client Credentials grant
curl -X POST 'https://{host}/openapi/auth/oauth2/token' \
-H 'Content-Type: multipart/form-data' \
-F 'client_id=YOUR_API_KEY' \
-F 'client_secret=YOUR_API_SECRET' \
-F 'grant_type=client_credentials'
# Sample response
# {
# "access_token": "CkppLkyiqEUKITGdtCZRUZBl",
# "expires_in": 21600,
# "refresh_token": "CpCAhcCRtLU4kPjs54omWW3A",
# "rt_expires_in": 43200,
# "token_type": "bearer"
# }