fixed mntx payout sequence
This commit is contained in:
@@ -21,7 +21,7 @@ enum PayoutStatus {
|
||||
|
||||
// Request to initiate a Monetix card payout.
|
||||
message CardPayoutRequest {
|
||||
string payout_id = 1; // internal payout id, mapped to Monetix payment_id
|
||||
string payout_id = 1; // alternate operation id mapped to Monetix payment_id
|
||||
int64 project_id = 2; // optional override; defaults to configured project id
|
||||
string customer_id = 3;
|
||||
string customer_first_name = 4;
|
||||
@@ -40,9 +40,10 @@ message CardPayoutRequest {
|
||||
uint32 card_exp_month = 17;
|
||||
string card_holder = 18;
|
||||
map<string, string> metadata = 30;
|
||||
string operation_ref = 31;
|
||||
string operation_ref = 31; // preferred operation id mapped to Monetix payment_id
|
||||
string idempotency_key = 32;
|
||||
string intent_ref = 33;
|
||||
string parent_payment_ref = 34;
|
||||
}
|
||||
|
||||
// Persisted payout state for retrieval and status updates.
|
||||
@@ -61,6 +62,7 @@ message CardPayoutState {
|
||||
string operation_ref = 12;
|
||||
string idempotency_key = 13;
|
||||
string intent_ref = 14;
|
||||
string parent_payment_ref = 15;
|
||||
}
|
||||
|
||||
// Response returned immediately after submitting a payout to Monetix.
|
||||
@@ -97,7 +99,7 @@ message ListGatewayInstancesResponse {
|
||||
|
||||
// Request to initiate a token-based card payout.
|
||||
message CardTokenPayoutRequest {
|
||||
string payout_id = 1;
|
||||
string payout_id = 1; // alternate operation id
|
||||
int64 project_id = 2;
|
||||
string customer_id = 3;
|
||||
|
||||
@@ -119,9 +121,10 @@ message CardTokenPayoutRequest {
|
||||
string card_holder = 16;
|
||||
string masked_pan = 17;
|
||||
map<string, string> metadata = 30;
|
||||
string operation_ref = 31;
|
||||
string operation_ref = 31; // preferred operation id
|
||||
string idempotency_key = 32;
|
||||
string intent_ref = 33;
|
||||
string parent_payment_ref = 34;
|
||||
}
|
||||
|
||||
// Response returned immediately after submitting a token payout to Monetix.
|
||||
|
||||
Reference in New Issue
Block a user