Create a refund Payment Intent

Accepts a refund Payment Intent for a processed charge Payment Intent.
refundTargetIdent must refer to a charge Payment Intent in status PROCESSED, and amount must be less than or equal to the part of that charge Payment Intent's amount that is not yet refunded.
ident must be unique.
The response contains that ident and status PENDING.

Body Params

Request body for a refund Payment Intent.

amount
object
required

A monetary amount along with a currency.

string
required
length between 1 and 100
^[a-zA-Z0-9_.~/ -]*$

Ident of the document this refund belongs to, for example a credit note.
Must not be null.
Size must be between 1 and 100.
Must match with the regular expression '^[a-zA-Z0-9_.~/ -]*$'.

string
required
length between 1 and 255
^[a-zA-Z0-9_.~-]*$

Ident of the refund Payment Intent.
Must not be null.
Size must be between 1 and 255.
Must match with the regular expression '^[a-zA-Z0-9_.~-]*$'.

string
required
length between 1 and 255
^[a-zA-Z0-9_.~-]*$

Ident of the processed charge Payment Intent to refund.
Must not be null.
Size must be between 1 and 255.
Must match with the regular expression '^[a-zA-Z0-9_.~-]*$'.

string
required

Text shown on the customer's payment statement.
Must not be null.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Choose an example:
application/json