Capture invoice payment on full delivery

As said before, when you offer invoice payment to your customers, you need to inform us for every delivery of such a transaction. You also need to inform us about the final delivery, since we need this for the payout, and sometimes to send a reminder notice. You can also store more details that help you and us to trace back the transaction later.

No matter if you use the sale or authorization flow, when the payment method is invoice, you must tell us, that we can execute the payment process now. This is done with a POST request to the /capture endpoint.

Note: If the payment method is invoice you must call this endpoint in order to receive the payout. But you must not call this endpoint before you have delivered fully.

Request
POST /payment/tujevzgobryk3303/capture HTTP/1.1
Host: api-testing.secupay-ag.de
Content-Type: application/json; charset=utf-8;
Accept: application/json
Accept-Charset: utf-8
 
{
"data": {
"apikey": "6801fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx7ace",
"tracking": {
"provider": "DHL",
"number": "TC123456789"
},
"invoice_number": "90001234555",
"shipping_date": "2018-11-12 08:50:40"
}
}

You find a description of these parameters in the previous section. It is the same format.