Increase the Amount of a Payment Transaction

You can increase the amount of a prepayment transaction before it is paid.

The endpoint to increase the amount of a Payment Transaction is POST /api/v2/Payment/Transactions/{id}/increaseAmount:

Request
POST /api/v2/Payment/Transactions/PCI_UA2B5NRRKBJN9JXVTQZT82545CXPNG/cancel HTTP/1.1
Host: connect-testing.secupay-ag.de
Authorization: Bearer qb56tjj1bcvo9n2nj4u38k84lo
Content-Type: application/json
Accept: application/json
 
{
"amount": 1000
}

The passed amount is the new amount. It must be greater than the current amount.

If everything is fine, the API responds with HTTP status 200, and the representation of the Payment Transaction:

Response
HTTP/1.1 200 OK
Content-Type: application/json
...
 
{
"object": "payment.transactions",
"id": "PCI_UA2B5NRRKBJN9JXVTQZT82545CXPNG",
// ...
"amount": 1000,
"currency": "EUR",
// ...
"status": 25,
"status_text": "Vorkasse wartend",
"details": {
"cleared": "open",
"status": 25,
"status_text": "Vorkasse wartend",
"status_simple": 10,
"status_simple_text": "pending",
"amount": 1000,
// ...
},
// ...
}