Created
April 1, 2025 17:19
-
-
Save slicksammy/62c4c28fdd0366b02bdaa184dd8e3dd3 to your computer and use it in GitHub Desktop.
3 Updated Events Per Transfer - Why?
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
# These events are listed order I received, starting with the most recent | |
# The first event has a parent_transfer which I assume it means moving money into the operator account | |
# The other 2 transfers have a tag "charge_id" which is my internal refernce ID | |
# Why are there 2 events? | |
[{"id"=>"event_o3gYzLdRB8io5pZmwdLfxR", | |
"type"=>"updated", | |
"entity"=>"transfer", | |
"_embedded"=> | |
{"transfers"=> | |
[{"id"=>"TRm3wXgnrj1ALv3vqYxEhdQi", | |
"fee"=>0, | |
"raw"=>nil, | |
"tags"=>{}, | |
"type"=>"FEE", | |
"state"=>"SUCCEEDED", | |
"amount"=>100, | |
"source"=>nil, | |
"subtype"=>"PLATFORM_FEE", | |
"currency"=>"USD", | |
"fee_type"=>"ACH_FIXED", | |
"merchant"=>"MUd3YsPpEp6HRXUXhL8xu3xV", | |
"messages"=>[], | |
"trace_id"=>"c9298aa3-7cca-4308-a17d-0c0c931c0da9", | |
"created_at"=>"2025-04-01T17:12:04.07Z", | |
"tip_amount"=>nil, | |
"updated_at"=>"2025-04-01T17:12:04.07Z", | |
"application"=>"AP3HhpJDxXLQaoF8LGA15UeT", | |
"destination"=>nil, | |
"fee_profile"=>"FPmtT4MYmiAs1qjLjneQmk4d", | |
"failure_code"=>nil, | |
"operation_key"=>nil, | |
"idempotency_id"=>nil, | |
"failure_message"=>nil, | |
"parent_transfer"=>"TRcUM3vqjhouceep57F4ZfcU", | |
"split_transfers"=>[], | |
"amount_requested"=>100, | |
"supplemental_fee"=>nil, | |
"externally_funded"=>"FALSE", | |
"merchant_identity"=>"IDowzvCieHhiP7NVKoufYftS", | |
"ready_to_settle_at"=>"2025-04-02T17:12:04.36Z", | |
"address_verification"=>nil, | |
"statement_descriptor"=>nil, | |
"receipt_last_printed_at"=>nil, | |
"additional_buyer_charges"=>nil, | |
"additional_purchase_data"=>nil, | |
"parent_transfer_trace_id"=>"0ed11697-6155-4a63-98c5-148deb99fabb", | |
"additional_healthcare_data"=>nil, | |
"security_code_verification"=>nil}]}, | |
"occurred_at"=>"2025-04-01T17:12:22.041064997", | |
"system_generated_idempotency_id"=>"o3gYzLdRB8io5pZmwdLfxR"}, | |
{"id"=>"event_9xEsBRvjk6jdKJ3S7bosJh", | |
"type"=>"updated", | |
"entity"=>"transfer", | |
"_embedded"=> | |
{"transfers"=> | |
[{"id"=>"TRcUM3vqjhouceep57F4ZfcU", | |
"fee"=>0, | |
"raw"=>nil, | |
"tags"=>{"charge_id"=>"ch_To9TMCZ1Jz92gxkyXtMY8DYt99VzxDrq"}, | |
"type"=>"DEBIT", | |
"state"=>"SUCCEEDED", | |
"amount"=>2500, | |
"source"=>"PItbn4ExWqrDjSBfbkyyVRG5", | |
"subtype"=>"API", | |
"currency"=>"USD", | |
"merchant"=>"MUd3YsPpEp6HRXUXhL8xu3xV", | |
"messages"=>[], | |
"trace_id"=>"0ed11697-6155-4a63-98c5-148deb99fabb", | |
"created_at"=>"2025-04-01T17:11:40.01Z", | |
"tip_amount"=>nil, | |
"updated_at"=>"2025-04-01T17:12:04.30Z", | |
"application"=>"AP3HhpJDxXLQaoF8LGA15UeT", | |
"destination"=>nil, | |
"fee_profile"=> | |
"FeeProfile(super=AbstractAuditableEntity(super=AbstractBaseEntity(super=AbstractEntity(id=a5db533d-5268-4383-8788-a40c49b891e6), createdAt=2021-08-24T20:52:01.969Z), updatedAt=2021-08-24T20:52:01.822284Z), fixedFee=30.000000000000, basisPoints=290.000000000000, externallyFundedBasisPoints=null, externallyFundedFixedFee=null, achFixedFee=100.000000000000, achBasisPoints=0E-12, chargeInterchange=false, tags={}, application=null, feeProfileType=null, platformId=b885380b-2133-456f-aa55-b441500cc97e, disputeInquiryFixedFee=null, disputeFixedFee=null, chargebackFixedFee=null, achDebitReturnFixedFee=null, achCreditReturnFixedFee=null, authorizationSuccessfulAttemptFixedFee=null, authorizationFailedAttemptFixedFee=null, voidAuthorizationFixedFee=null, cardReversalFixedFee=null, unreferencedRefundFixedFee=null, achReversalFixedFee=null, achCreditFixedFee=null, visaBasisPoints=null, visaFixedFee=null, visaChargeInterchange=null, visaAssessmentsBasisPoints=null, visaAcquirerProcessingFixedFee=null, visaCreditVoucherFixedFee=null, visaBaseIISystemFileTransmissionFixedFee=null, visaBaseIICreditVoucherFixedFee=null, visaKilobyteAccessFixedFee=null, discoverBasisPoints=null, discoverFixedFee=null, discoverChargeInterchange=null, discoverExternallyFundedBasisPoints=null, discoverExternallyFundedFixedFee=null, discoverAssessmentsBasisPoints=null, discoverDataUsageFixedFee=null, discoverNetworkAuthorizationFixedFee=null, dinersClubBasisPoints=null, dinersClubFixedFee=null, dinersClubChargeInterchange=null, mastercardBasisPoints=null, mastercardFixedFee=null, mastercardChargeInterchange=null, mastercardAcquirerFeesBasisPoints=null, mastercardAssessmentsUnder1kBasisPoints=null, mastercardAssessmentsOver1kBasisPoints=null, jcbBasisPoints=null, jcbFixedFee=null, jcbChargeInterchange=null, americanExpressBasisPoints=null, americanExpressFixedFee=null, americanExpressChargeInterchange=null, americanExpressExternallyFundedBasisPoints=null, americanExpressExternallyFundedFixedFee=null, americanExpressAssessmentBasisPoints=null, roundingMode=AGGREGATE, qualifiedTiers=null, ancillaryFixedFeePrimary=null, ancillaryFixedFeeSecondary=null)", | |
"failure_code"=>nil, | |
"operation_key"=>"CARD_NOT_PRESENT_SALE", | |
"idempotency_id"=>"ch_To9TMCZ1Jz92gxkyXtMY8DYt99VzxDrq", | |
"failure_message"=>nil, | |
"parent_transfer"=>nil, | |
"split_transfers"=>[], | |
"amount_requested"=>2500, | |
"supplemental_fee"=>nil, | |
"externally_funded"=>"UNKNOWN", | |
"merchant_identity"=>"IDowzvCieHhiP7NVKoufYftS", | |
"ready_to_settle_at"=>nil, | |
"address_verification"=>nil, | |
"statement_descriptor"=>"FLX*FLEX", | |
"receipt_last_printed_at"=>nil, | |
"additional_buyer_charges"=>nil, | |
"additional_purchase_data"=>nil, | |
"parent_transfer_trace_id"=>nil, | |
"additional_healthcare_data"=>nil, | |
"security_code_verification"=>nil}]}, | |
"occurred_at"=>"2025-04-01T17:12:14.492291369", | |
"system_generated_idempotency_id"=>"9xEsBRvjk6jdKJ3S7bosJh"}, | |
{"id"=>"event_f2PR2hnYFsEpN48iLu666S", | |
"type"=>"updated", | |
"entity"=>"transfer", | |
"_embedded"=> | |
{"transfers"=> | |
[{"id"=>"TRcUM3vqjhouceep57F4ZfcU", | |
"fee"=>0, | |
"raw"=>nil, | |
"tags"=>{"charge_id"=>"ch_To9TMCZ1Jz92gxkyXtMY8DYt99VzxDrq"}, | |
"type"=>"DEBIT", | |
"state"=>"SUCCEEDED", | |
"amount"=>2500, | |
"source"=>"PItbn4ExWqrDjSBfbkyyVRG5", | |
"subtype"=>"API", | |
"currency"=>"USD", | |
"merchant"=>"MUd3YsPpEp6HRXUXhL8xu3xV", | |
"messages"=>[], | |
"trace_id"=>"0ed11697-6155-4a63-98c5-148deb99fabb", | |
"created_at"=>"2025-04-01T17:11:40.01Z", | |
"tip_amount"=>nil, | |
"updated_at"=>"2025-04-01T17:12:04.30Z", | |
"application"=>"AP3HhpJDxXLQaoF8LGA15UeT", | |
"destination"=>nil, | |
"fee_profile"=>"FPmtT4MYmiAs1qjLjneQmk4d", | |
"failure_code"=>nil, | |
"operation_key"=>"CARD_NOT_PRESENT_SALE", | |
"idempotency_id"=>"ch_To9TMCZ1Jz92gxkyXtMY8DYt99VzxDrq", | |
"failure_message"=>nil, | |
"parent_transfer"=>nil, | |
"split_transfers"=>[], | |
"amount_requested"=>2500, | |
"supplemental_fee"=>nil, | |
"externally_funded"=>"UNKNOWN", | |
"merchant_identity"=>"IDowzvCieHhiP7NVKoufYftS", | |
"ready_to_settle_at"=>"2025-04-02T17:12:04.36Z", | |
"address_verification"=>nil, | |
"statement_descriptor"=>"FLX*FLEX", | |
"receipt_last_printed_at"=>nil, | |
"additional_buyer_charges"=>nil, | |
"additional_purchase_data"=>nil, | |
"parent_transfer_trace_id"=>nil, | |
"additional_healthcare_data"=>nil, | |
"security_code_verification"=>nil}]}, | |
"occurred_at"=>"2025-04-01T17:12:08.536391009", | |
"system_generated_idempotency_id"=>"f2PR2hnYFsEpN48iLu666S"}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment