Sepa Direct Debit

The SEPA direct debit (SDD) enables creditors to carry out debit transactions in euros in customer (debtor) accounts in all the countries within the SEPA zone.

The customer must approve the transaction for the merchant (Sepa Direct Debit Mandate). To do this, the first thing to do is request a tokenization operation (preapproval) to start the Mandate with the data required for the transaction.


        {
    "operationType": 107,
    "language": "es",
    "terminal": 1234,
    "payment": {
        "terminal": 1234,
        "order": "preapproval1234",
        "methods": [
            35
        ],
        "urlOk": "https://www.paycomet.com?OK=1",
        "urlKo": "https://www.paycomet.com?OK=0",
        "merchantData": {
            "customer": {
                "name": "John",
                "surname": "Doe",
                "email": "john@doe.com",
                "mobilePhone": {
                    "cc": "34",
                    "subscriber": "654654654"
                }
            },
            "billing": {
                "billAddrCity": "Torrelodones",
                "billAddrCountry": 724,
                "billAddrLine1": "Camino de Valladolid",
                "billAddrLine2": "2, Local",
                "billAddrPostCode": "28250",
                "billAddrState": "ES"
            }
        }
    }
}
            
        

If the client confirms the mandate, the notification will be received with the token (iduser/tokenuser) with which we can execute the collection orders to the client.


    {
    "payment": {
        "terminal": 1234,
        "order": "order_1234",
        "amount": "1274",
        "currency": "EUR",
        "methodId": "35",
        "originalIp": "127.0.0.1",
        "idUser": "XXXXXXXX",
        "tokenUser": "YYYYYYYYYYY",
        "urlOk": "https://www.paycomet.com/OK",
        "urlKo": "https://www.paycomet.com/KO",
        "notifyDirectPayment": 1,
        "merchantData": {
            "customer": {
                "name": "John",
                "surname": "Doe",
                "email": "john@doe.com",
                "mobilePhone": {
                    "cc": "34",
                    "subscriber": "654654654"
                }
            },
            "billing": {
                "billAddrCity": "Torrelodones",
                "billAddrCountry": 724,
                "billAddrLine1": "Camino de Valladolid, 2",
                "billAddrLine2": "2222",
                "billAddrPostCode": "28250",
                "billAddrState": "ES"
            }
        }
    }
}
            
        

Funds are transferred to the client's account. The time depends on the provider (normally 1, 2 days) from the request.

In Sandbox, if you need the payment request to be approved, you must request it by email to tecnico@paycomet.com

Back