| Field | Type | Required | Description | Example |
|---|---|---|---|---|
paymentId |
String | ✔️ | Provide the ID of the related payment. | tr_5B8cwPMGnU |
refundId |
String | ✔️ | Provide the ID of the related refund. | re_5B8cwPMGnU |
embed |
JsonNullable<String> | ➖ | This endpoint allows embedding related API items by appending the following values via the embed query stringparameter. |
|
testmode |
Optional<Boolean> | ➖ | Most API credentials are specifically created for either live mode or test mode. In those cases the testmode queryparameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true.Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa. |
|
idempotencyKey |
Optional<String> | ➖ | A unique key to ensure idempotent requests. This key should be a UUID v4 string. | 123e4567-e89b-12d3-a456-426 |