001405

Error messageThe initial transaction occured less than 7 days ago
DescriptionA direct debit pay-in cannot be refunded within 7 calendar days of the pay-in CreationDate.
Categories
Refund
Direct debit

Causes

This error is triggered on a pay-in refund if the initial pay-in’s PaymentType is DIRECT_DEBIT and its CreationDate was in the last 7 full calendar days.

This limitation exists because of the possibility of late failures on direct debit pay-ins, which may occur on a successful pay-in.

What to do

Platforms must wait until the 8th day following the day of the pay-in’s CreationDate before initiating a refund for a direct debit pay-in.

Testing

In a testing scenario, platforms can use the mock available to avoid having to wait 7 days before initiating the refund.

Example

The Refund object with this error:

1{
2 "Id": "refund_m_01JP04JY9EN05G6SJJ0ZCM1PFG",
3 "Tag": "Custom meta",
4 "CreationDate": 1741605536,
5 "AuthorId": "user_m_01JP04K4CZ3WQQZYZK3Z604RQT",
6 "CreditedUserId": null,
7 "DebitedFunds": {
8 "Currency": "EUR",
9 "Amount": 5700
10 },
11 "CreditedFunds": {
12 "Currency": "EUR",
13 "Amount": 5350
14 },
15 "Fees": {
16 "Currency": "EUR",
17 "Amount": -350
18 },
19 "Status": "FAILED",
20 "ResultCode": "001405",
21 "ResultMessage": "The initial transaction occured less than 7 ago",
22 "ExecutionDate": null,
23 "Type": "PAYOUT",
24 "Nature": "REFUND",
25 "InitialTransactionId": "payin_m_01JP04NBJKBMPAZ0GQENNYJPJG",
26 "InitialTransactionType": "PAYIN",
27 "InitialTransactionNature": "REGULAR",
28 "DebitedWalletId": "wlt_m_01JP04NHXNQS04N7SQR36YPFN5",
29 "CreditedWalletId": null,
30 "RefundReason": {
31 "RefundReasonMessage": null,
32 "RefundReasonType": "INITIALIZED_BY_CLIENT"
33 },
34 "StatementDescriptor": null
35}