diff --git a/dist/api/preauthorization/list/response.json b/dist/api/preauthorization/list/response.json index 843db8d..276f7b1 100644 --- a/dist/api/preauthorization/list/response.json +++ b/dist/api/preauthorization/list/response.json @@ -7,7 +7,7 @@ "data": [ { "domain": "test", - "status": "success", + "status": "failed", "reference": "ctbaq5z6fkzsk2f", "amount": 1200, "created_at": "2023-08-21T06:30:31.000Z", @@ -20,14 +20,62 @@ "id": 180063193, "first_name": null, "last_name": null, - "email": "test@paystack.com", + "email": "test@example.com", "customer_code": "CUS_zi5os4fs31qxao0", "phone": null, "metadata": null, "risk_action": "default", "international_format_phone": null }, - "id": 436 + "id": 10321309 + }, + { + "domain": "test", + "status": "captured", + "reference": "adoiasdiruvme", + "amount": 500, + "created_at": "2025-01-08T10:51:24.000Z", + "transaction_id": 4563444462, + "captured_at": "2025-01-08T10:53:31.000Z", + "released_at": null, + "currency": "ZAR", + "fees": 115, + "customer": { + "id": 226230427, + "first_name": null, + "last_name": null, + "email": "chonky@example.com", + "customer_code": "CUS_6bklfq9zapdbdpp", + "phone": null, + "metadata": null, + "risk_action": "default", + "international_format_phone": null + }, + "id": 153028 + }, + { + "domain": "test", + "status": "released", + "reference": "abcoeii-123adoi", + "amount": 8888, + "created_at": "2025-01-08T12:48:02.000Z", + "transaction_id": null, + "captured_at": null, + "released_at": "2025-01-08T13:21:35.000Z", + "currency": "ZAR", + "fees": 115, + "customer": { + "id": 226271601, + "first_name": null, + "last_name": null, + "email": "test@example.com", + "customer_code": "CUS_l3hkvdfhxaxdad", + "phone": null, + "metadata": null, + "risk_action": "default", + "international_format_phone": null + }, + "id": 53041032 } ], "meta": { diff --git a/dist/api/preauthorization/verify/response.json b/dist/api/preauthorization/verify/response.json index 072f40c..c764b1b 100644 --- a/dist/api/preauthorization/verify/response.json +++ b/dist/api/preauthorization/verify/response.json @@ -7,7 +7,7 @@ "data": { "id": 523, "domain": "live", - "status": "authorized", + "status": "captured", "reference": "pre_p0xpfge2", "amount": 1600, "created_at": "2023-08-24T19:00:18.000Z", @@ -45,6 +45,7 @@ "merchant_id": 210002, "merchant_name": "ABC merchant", "expire_action": "release", + "captured_at": "2023-08-28T10:53:31.000Z", "split_code": null, "split": null } diff --git a/src/api/preauthorization/list/response.json b/src/api/preauthorization/list/response.json index 843db8d..276f7b1 100644 --- a/src/api/preauthorization/list/response.json +++ b/src/api/preauthorization/list/response.json @@ -7,7 +7,7 @@ "data": [ { "domain": "test", - "status": "success", + "status": "failed", "reference": "ctbaq5z6fkzsk2f", "amount": 1200, "created_at": "2023-08-21T06:30:31.000Z", @@ -20,14 +20,62 @@ "id": 180063193, "first_name": null, "last_name": null, - "email": "test@paystack.com", + "email": "test@example.com", "customer_code": "CUS_zi5os4fs31qxao0", "phone": null, "metadata": null, "risk_action": "default", "international_format_phone": null }, - "id": 436 + "id": 10321309 + }, + { + "domain": "test", + "status": "captured", + "reference": "adoiasdiruvme", + "amount": 500, + "created_at": "2025-01-08T10:51:24.000Z", + "transaction_id": 4563444462, + "captured_at": "2025-01-08T10:53:31.000Z", + "released_at": null, + "currency": "ZAR", + "fees": 115, + "customer": { + "id": 226230427, + "first_name": null, + "last_name": null, + "email": "chonky@example.com", + "customer_code": "CUS_6bklfq9zapdbdpp", + "phone": null, + "metadata": null, + "risk_action": "default", + "international_format_phone": null + }, + "id": 153028 + }, + { + "domain": "test", + "status": "released", + "reference": "abcoeii-123adoi", + "amount": 8888, + "created_at": "2025-01-08T12:48:02.000Z", + "transaction_id": null, + "captured_at": null, + "released_at": "2025-01-08T13:21:35.000Z", + "currency": "ZAR", + "fees": 115, + "customer": { + "id": 226271601, + "first_name": null, + "last_name": null, + "email": "test@example.com", + "customer_code": "CUS_l3hkvdfhxaxdad", + "phone": null, + "metadata": null, + "risk_action": "default", + "international_format_phone": null + }, + "id": 53041032 } ], "meta": { diff --git a/src/api/preauthorization/verify/response.json b/src/api/preauthorization/verify/response.json index 072f40c..c764b1b 100644 --- a/src/api/preauthorization/verify/response.json +++ b/src/api/preauthorization/verify/response.json @@ -7,7 +7,7 @@ "data": { "id": 523, "domain": "live", - "status": "authorized", + "status": "captured", "reference": "pre_p0xpfge2", "amount": 1600, "created_at": "2023-08-24T19:00:18.000Z", @@ -45,6 +45,7 @@ "merchant_id": 210002, "merchant_name": "ABC merchant", "expire_action": "release", + "captured_at": "2023-08-28T10:53:31.000Z", "split_code": null, "split": null }