Payment intents
Change tips amount
Changes tip amount for a payment intent. Available if you enabled tipping when creating the payment intent.
<!-- Check if tips or gratuity exists>post/payment-intents/{paymentIntentId}/tips-amount
Request
- Base URLhttps://api.dojo.tech
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
paymentIntentIdstring nullable required
The unique identifier of the payment intent.
Headers
versionstring date required
The API version with format yyyy-mm-dd. The current version is 2026-02-27.
Request body
Example request
{
"value": 500,
"currencyCode": "GBP"
}Response
OK
Example response
{
"customer": {
"emailAddress": "support@dojo.com",
"phoneNumber": "+448000443550"
},
"requestSecurity": {
"userAgent": null,
"ipAddress": null,
"device": null
},
"billingAddress": {
"address1": "The Brunel Building",
"address2": "2 Canalside Walk",
"city": "London",
"postcode": "W2 1DG",
"countryCode": "GB",
"county": "UK"
},
"shippingDetails": {
"address": {
"address1": "The Brunel Building",
"address2": "2 Canalside Walk",
"city": "London",
"postcode": "W2 1DG",
"countryCode": "GB",
"county": "UK"
}
},
"actionLink": {
"url": "https://docs.dojo.tech/payments/getting-started",
"label": "docs-link"
},
"terminalSessionHistory": [
{
"terminalSession": {
"details": {
"sale": {
"paymentIntentId": "pi_sandbox_RBMHTJ4fIkmSppDILZVCGw"
}
}
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.