Skip to content
meniodevelopermenio Dashboard

POST: Initiate refund · POS API · Legacy

POST: Initiate refund

POS API · Legacy Mobile Payment
Marked as obsolete and unused in the documentation index.
POST/refunds/{pid_pz}?descr={descr}

Refunds are only available for supported payment providers. Check the IsRefundable field in the payment confirmation.

Refunds are only available for supported payment providers. Check the IsRefundable field in the payment confirmation.

Parameter

pid_pzstringRequired

See the original Blueprint for the historical parameter definition.

descrstring

See the original Blueprint for the historical parameter definition.

Request headers

Accept
application/json oder application/xml
DevKey
{Ihr DeveloperKey}
SubmitterId
{transactionSubmitterId} welchen die Kasse bei der Aktivierung zugewiesen bekommen hat
Context: Mobile Payment

Historical reference. Consult the original Blueprint for the complete source text.

Original Blueprint excerpt
API Blueprint
### POST: Rückerstattung starten [POST]

+ Parameters
    + pid_pz (string, required) ... ein String, der aus dem PID und seiner Prüfsumme besteht (siehe dazu das Kapitel [Prüfsummenberechnung](#checksum).
    + descr (string, optional) ... optionaler Hinweis, z.B. Grund für die Erstattungsanfrage

+ Request
    
    + Headers
    
            Accept: application/json oder application/xml
            DevKey: {Ihr DeveloperKey}
            SubmitterId: {transactionSubmitterId} welchen die Kasse bei der Aktivierung zugewiesen bekommen hat


+ Response 200

        // Alles OK. Beleg über Rückerstattung kann gedruckt werden.

+ Response 412

        // HTTP-Error 412 = PreconditionFailed
        {
            "reason_id":2,
            "reason_text":"further error details as text"
        }
        
        // Hier die möglichen Gründe:
        // 1 | Prüfsumme des PIDs falsch
        // 2 | PID nicht gefunden
        // 3 | Wurde schon zurückerstattet
        // 4 | Zahlung noch nicht erfolgt
        // 99 | Sonstiges (in diesem Fall wird das Feld reason_text genauere Angaben enthalten.