Skip to content

Commit 9bd27d6

Browse files
Chore: Update the response code for initialize transaction and create customer
1 parent ca03ca6 commit 9bd27d6

File tree

5 files changed

+4
-79
lines changed

5 files changed

+4
-79
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.gitignore
22
.gitlab-ci.yml
3-
.openapi-generator-ignore
43
.travis.yml
54
README.md
65
docs/Balance.md
@@ -164,78 +163,4 @@ setup.cfg
164163
setup.py
165164
test-requirements.txt
166165
test/__init__.py
167-
test/test_balance_.py
168-
test/test_bank.py
169-
test/test_bulk_charge_.py
170-
test/test_bulk_charge_initiate.py
171-
test/test_charge_.py
172-
test/test_charge_create.py
173-
test/test_charge_submit_address.py
174-
test/test_charge_submit_birthday.py
175-
test/test_charge_submit_otp.py
176-
test/test_charge_submit_phone.py
177-
test/test_charge_submit_pin.py
178-
test/test_customer_.py
179-
test/test_customer_create.py
180-
test/test_customer_deactivate_authorization.py
181-
test/test_customer_risk_action.py
182-
test/test_customer_update.py
183-
test/test_customer_validate.py
184-
test/test_customer_validation.py
185-
test/test_dedicated_virtual_account_.py
186-
test/test_dedicated_virtual_account_create.py
187-
test/test_dedicated_virtual_account_split.py
188-
test/test_dispute_.py
189-
test/test_dispute_evidence.py
190-
test/test_dispute_resolve.py
191-
test/test_dispute_update.py
192-
test/test_eft.py
193-
test/test_error.py
194-
test/test_integration_.py
195-
test/test_mobile_money.py
196-
test/test_page_.py
197-
test/test_page_create.py
198-
test/test_page_product.py
199-
test/test_page_update.py
200-
test/test_payment_request_.py
201-
test/test_payment_request_create.py
202-
test/test_payment_request_update.py
203-
test/test_plan_.py
204-
test/test_plan_create.py
205-
test/test_plan_update.py
206-
test/test_product_.py
207-
test/test_product_create.py
208-
test/test_product_update.py
209-
test/test_refund_.py
210-
test/test_refund_create.py
211-
test/test_response.py
212-
test/test_settlement_.py
213-
test/test_split_.py
214-
test/test_split_create.py
215-
test/test_split_subaccounts.py
216-
test/test_split_update.py
217-
test/test_subaccount_.py
218-
test/test_subaccount_create.py
219-
test/test_subaccount_update.py
220-
test/test_subscription_.py
221-
test/test_subscription_create.py
222-
test/test_subscription_toggle.py
223-
test/test_transaction_.py
224-
test/test_transaction_charge_authorization.py
225-
test/test_transaction_check_authorization.py
226-
test/test_transaction_initialize.py
227-
test/test_transaction_partial_debit.py
228-
test/test_transfer_.py
229-
test/test_transfer_bulk.py
230-
test/test_transfer_finalize.py
231-
test/test_transfer_finalize_disable_otp.py
232-
test/test_transfer_initiate.py
233-
test/test_transfer_recipient_.py
234-
test/test_transfer_recipient_bulk.py
235-
test/test_transfer_recipient_create.py
236-
test/test_transfer_recipient_update.py
237-
test/test_transfer_resend_otp.py
238-
test/test_ussd.py
239-
test/test_verification_.py
240-
test/test_verification_bvn_match.py
241166
tox.ini

docs/Customer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Name | Type | Description | Notes
8787
### HTTP response details
8888
| Status code | Description | Response headers |
8989
|-------------|-------------|------------------|
90-
**201** | Resource created | - |
90+
**200** | Resource created | - |
9191
**401** | Unauthorized operation | - |
9292
**0** | Server error | - |
9393

docs/Transaction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ Name | Type | Description | Notes
505505
### HTTP response details
506506
| Status code | Description | Response headers |
507507
|-------------|-------------|------------------|
508-
**201** | Resource created | - |
508+
**200** | Resource created | - |
509509
**401** | Unauthorized operation | - |
510510
**0** | Server error | - |
511511

paystack/api/customer_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def create(cls, email, **kwargs): # noqa: E501
9696

9797

9898
response_types_map = {
99-
201: "Response",
99+
200: "Response",
100100
401: "Error",
101101
}
102102

paystack/api/transaction_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ def initialize(cls, email, amount, **kwargs): # noqa: E501
522522

523523

524524
response_types_map = {
525-
201: "Response",
525+
200: "Response",
526526
401: "Error",
527527
}
528528

0 commit comments

Comments
 (0)