API reference
Payer Fees
Payments API operations for Payer Fees.
These operations are generated from the Payments API Swagger document. Use the sandbox host https://api.dhangodemo.com while testing and https://api.dhango.com in production.
GET /v1/payerFees
Calculates the payer fees so the fees can be displayed to a user prior to payment.
| Parameter | In | Required | Description |
|---|---|---|---|
amount |
query | The amount of the payment from which to calculate the payer fees. | |
cardNumber |
query | The card number to calculate the payer fees. This is useful when calculating payer fees based on compliant surcharging rules. The card token Id should be null if this value is passed in. | |
tokenId |
query | The token identifier for the card. The card number should be null if this value is passed in. | |
accountKey |
header | Used to make API calls on behalf of another account. | |
culture |
header | The culture to be used when setting the language for error messages. |
Responses:
| Status | Description | Schema |
|---|---|---|
| 200 | The payer fees were calculated and are in the response body. | GetPayerFeesResponse |