DOCS
API reference

Payments API reference

Every operation in the published Payments API, generated from Swagger at build time.

Payments API

This reference is generated when the docs site builds. The build reads the production Swagger document, then the sandbox document, and uses the committed snapshot if neither can be fetched. Field names and descriptions come from that document.

Live documents:

Calls use HTTP Basic authentication, with the API key as the username and the API secret as the password. Many operations also accept an accountKey header, so a platform credential can act for a merchant account, and a few accept the accountKey header on its own. See API authentication for which credentials to send for each case. Pay, payout, authorize, capture, and refund accept an Idempotency-Key header.

Sandbox base URL: https://api.dhangodemo.com. Production base URL: https://api.dhango.com.