feat(connector): [Truelayer] Implementation - #2047
Open
THE-CORE-BUG wants to merge 2 commits into
Open
Conversation
THE-CORE-BUG
force-pushed
the
Truelayer-payouts
branch
from
August 7, 2026 11:15
b9c9ebf to
cbf0540
Compare
THE-CORE-BUG
force-pushed
the
Truelayer-payouts
branch
from
August 7, 2026 12:48
cbf0540 to
b402c13
Compare
Comment on lines
+60
to
+63
| _ => Err(IntegrationError::FailedToObtainAuthType { | ||
| context: Default::default(), | ||
| } | ||
| .into()), |
Contributor
There was a problem hiding this comment.
add addtional context
Comment on lines
+81
to
+94
| IntegrationError::MissingRequiredField { | ||
| field_name: "merchant_account_id", | ||
| context: Default::default(), | ||
| }, | ||
| )?, | ||
| private_key: auth | ||
| .private_key | ||
| .ok_or(IntegrationError::MissingRequiredField { | ||
| field_name: "private_key", | ||
| context: Default::default(), | ||
| })?, | ||
| kid: auth.kid.ok_or(IntegrationError::MissingRequiredField { | ||
| field_name: "kid", | ||
| context: Default::default(), |
Contributor
There was a problem hiding this comment.
additional context
Comment on lines
+476
to
+485
| Err(ErrorResponse { | ||
| code: reason.clone(), | ||
| message: reason.clone(), | ||
| reason: Some(reason), | ||
| attempt_status: None, | ||
| connector_transaction_id: Some(connector_payout_id), | ||
| status_code: http_code, | ||
| network_advice_code: None, | ||
| network_decline_code: None, | ||
| network_error_message: None, |
Contributor
There was a problem hiding this comment.
a TrueLayer payout in failed is never actually delivered
| TruelayerPayoutStatus::Pending | ||
| | TruelayerPayoutStatus::AuthorizationRequired | ||
| | TruelayerPayoutStatus::Authorizing => Self::Pending, | ||
| TruelayerPayoutStatus::Authorized | TruelayerPayoutStatus::Executed => Self::Success, |
Contributor
There was a problem hiding this comment.
ince confirm that we should mark authorized as success
Author
There was a problem hiding this comment.
Confirming — this mirrors the existing hyperswitch implementation exactly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
Integrating Payout Connector
Additional Changes
Motivation and Context
How did you test it?
MCA:
Request:
Response:
Payouts-Create:
Payouts-FulFill:
Payouts-Sync:
Webhooks: