Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Fields in InitiateTransferResponse #29

Open
Victor-Ndulue opened this issue Nov 21, 2024 · 0 comments
Open

Missing Fields in InitiateTransferResponse #29

Victor-Ndulue opened this issue Nov 21, 2024 · 0 comments

Comments

@Victor-Ndulue
Copy link

Description:
When initiating a transfer via Paystack, the response contains critical fields such as the transfer_code, which is essential for transfer verification and tracking. However, the current implementation of the InitiateTransferResponse class does not include these fields. This makes it difficult to fully utilize the transfer details provided by Paystack's API.

Current Behavior:
The InitiateTransferResponse class only includes the following fields:

public class InitiateTransferResponse : HasRawResponse, IApiResponse
{
[JsonProperty("status")]
public bool Status { get; set; }

[JsonProperty("message")]
public string Message { get; set; }

}

Expected Behavior:
The InitiateTransferResponse should include all relevant fields from Paystack's API response, such as:
transfer_code
recipient
amount
Other key fields for comprehensive transfer data

Supporting Evidence:
Screenshot 2024-11-21 125703

Impact:
Adding these fields will ensure the library's compatibility with Paystack's API and allow developers to access all necessary information directly from the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant