Amazon Selling Partner API (SP-API)-中文
工具首页问答社区广告API开发者申请AI智能助手官方文档TokenApi Reference
工具首页问答社区广告API开发者申请AI智能助手官方文档TokenApi Reference
  1. Seller Wallet Open Banking API Spec
  • Auth Token
    • 获取Token
    • 刷新Token
    • 获取无授权Token
  • Api Reference
    • A+ Content Management
      • searchContentDocuments
      • createContentDocument
      • getContentDocument
      • updateContentDocument
      • listContentDocumentAsinRelations
      • postContentDocumentAsinRelations
      • validateContentDocumentAsinRelations
      • searchContentPublishRecords
      • postContentDocumentApprovalSubmission
      • postContentDocumentSuspendSubmission
    • Application Management
      • rotateApplicationClientSecret
    • AWD
      • getInboundShipment
      • listInboundShipments
      • listInventory
    • Catalog Items 2020-12-01
      • searchCatalogItems
      • getCatalogItem
    • Catalog Items 2022-04-01
      • searchCatalogItems
      • getCatalogItem
    • CustomerFeedback
      • getItemReviewTopics
      • getItemBrowseNode
      • getBrowseNodeReviewTopics
      • getItemReviewTrends
      • getBrowseNodeReviewTrends
      • getBrowseNodeReturnTopics
      • getBrowseNodeReturnTrends
    • Data Kiosk
      • getQueries
      • createQuery
      • cancelQuery
      • getQuery
      • getDocument
    • Product Type Definitions
      • searchDefinitionsProductTypes
      • getDefinitionsProductType
    • Easy Ship
      • listHandoverSlots
      • getScheduledPackage
      • createScheduledPackage
      • updateScheduledPackages
      • createScheduledPackageBulk
    • FBA Inbound Eligibilty
      • getItemEligibilityPreview
    • FBA Inventory
      • getInventorySummaries
      • createInventoryItem
      • deleteInventoryItem
      • addInventory
    • Feeds 2020-09-04
      • getFeeds
      • createFeed
      • getFeed
      • cancelFeed
      • createFeedDocument
      • getFeedDocument
    • Feeds 2021-06-30
      • getFeeds
      • createFeed
      • cancelFeed
      • getFeed
      • createFeedDocument
      • getFeedDocument
    • Finances
      • listFinancialEventGroups
      • listFinancialEventsByGroupId
      • listFinancialEventsByOrderId
      • listFinancialEvents
    • Finances 2024-06-19
      • listTransactions
    • Transfers. transfers_2024-06-01
      • initiatePayout
      • getPaymentMethods
    • Fulfillment Inbound V0
      • createInboundShipmentPlan
      • createInboundShipment
      • updateInboundShipment
      • getPreorderInfo
      • confirmPreorder
      • getPrepInstructions
      • getTransportDetails
      • putTransportDetails
      • voidTransport
      • estimateTransport
      • confirmTransport
      • getLabels
      • getBillOfLading
      • getShipments
      • getShipmentItemsByShipmentId
      • getShipmentItems
    • FBA inbound operations. 2024-03-20
      • listInboundPlans
      • createInboundPlan
      • getInboundPlan
      • listInboundPlanBoxes
      • cancelInboundPlan
      • listInboundPlanItems
      • updateInboundPlanName
      • listPackingGroupBoxes
      • listPackingGroupItems
      • setPackingInformation
      • listPackingOptions
      • generatePackingOptions
      • confirmPackingOption
      • listInboundPlanPallets
      • listPlacementOptions
      • generatePlacementOptions
      • confirmPlacementOption
      • getShipment
      • listShipmentBoxes
      • listShipmentContentUpdatePreviews
      • generateShipmentContentUpdatePreviews
      • getShipmentContentUpdatePreview
      • confirmShipmentContentUpdatePreview
      • getDeliveryChallanDocument
      • listDeliveryWindowOptions
      • generateDeliveryWindowOptions
      • confirmDeliveryWindowOptions
      • listShipmentItems
      • updateShipmentName
      • listShipmentPallets
      • cancelSelfShipAppointment
      • getSelfShipAppointmentSlots
      • generateSelfShipAppointmentSlots
      • scheduleSelfShipAppointment
      • updateShipmentSourceAddress
      • updateShipmentTrackingDetails
      • listTransportationOptions
      • generateTransportationOptions
      • confirmTransportationOptions
      • listItemComplianceDetails
      • updateItemComplianceDetails
      • createMarketplaceItemLabels
      • getInboundOperationStatus
    • Fulfillment Outbound
      • getFulfillmentPreview
      • deliveryOffers
      • listAllFulfillmentOrders
      • createFulfillmentOrder
      • getPackageTrackingDetails
      • listReturnReasonCodes
      • createFulfillmentReturn
      • getFulfillmentOrder
      • updateFulfillmentOrder
      • cancelFulfillmentOrder
      • submitFulfillmentOrderStatusUpdate
      • getFeatures
      • getFeatureInventory
      • getFeatureSKU
    • Listings Items 2020-09-01
      • deleteListingsItem
      • patchListingsItem
      • putListingsItem
    • Listings Items 2021-08-01
      • searchListingsItems
      • deleteListingsItem
      • getListingsItem
      • patchListingsItem
      • putListingsItem
    • Listings Restrictions
      • getListingsRestrictions
    • Merchant Fulfillment
      • getEligibleShipmentServices
      • getShipment
      • cancelShipment
      • createShipment
      • getAdditionalSellerInputs
    • Messaging
      • getMessagingActionsForOrder
      • confirmCustomizationDetails
      • createConfirmDeliveryDetails
      • createLegalDisclosure
      • createNegativeFeedbackRemoval
      • createConfirmOrderDetails
      • createConfirmServiceDetails
      • CreateAmazonMotors
      • CreateWarranty
      • GetAttributes
      • createDigitalAccessKey
      • createUnexpectedProblem
      • sendInvoice
    • Notifications
      • getSubscription
      • createSubscription
      • getSubscriptionById
      • deleteSubscriptionById
      • getDestinations
      • createDestination
      • getDestination
      • deleteDestination
    • Orders
      • getOrders
      • getOrder
      • getOrderBuyerInfo
      • getOrderAddress
      • getOrderItems
      • getOrderItemsBuyerInfo
      • updateShipmentStatus
      • getOrderRegulatedInfo
      • updateVerificationStatus
      • confirmShipment
    • Product Fees
      • getMyFeesEstimateForSKU
      • getMyFeesEstimateForASIN
      • getMyFeesEstimates
    • Pricing V0
      • getPricing
      • getCompetitivePricing
      • getListingOffers
      • getItemOffers
      • getItemOffersBatch
      • getListingOffersBatch
    • Pricing 2022-05-01
      • getFeaturedOfferExpectedPriceBatch
      • getCompetitiveSummary
    • Replenishment
      • getSellingPartnerMetrics
      • listOfferMetrics
      • listOffers
    • Reports 2020-09-04
      • getReports
      • createReport
      • getReport
      • cancelReport
      • getReportSchedules
      • createReportSchedule
      • getReportSchedule
      • cancelReportSchedule
      • getReportDocument
    • Reports 2021-06-30
      • getReports
      • createReport
      • cancelReport
      • getReport
      • getReportSchedules
      • createReportSchedule
      • cancelReportSchedule
      • getReportSchedule
      • getReportDocument
    • Sales
      • getOrderMetrics
    • Sellers
      • getAccount
      • getMarketplaceParticipations
    • Seller Wallet Open Banking API Spec
      • listAccounts
        GET
      • getAccount
        GET
      • listAccountBalances
        GET
      • getTransferPreview
        GET
      • listAccountTransactions
        GET
      • createTransaction
        POST
      • getTransaction
        GET
      • listTransferSchedules
        GET
      • createTransferSchedule
        POST
      • updateTransferSchedule
        PUT
      • getTransferSchedule
        GET
      • deleteScheduleTransaction
        DELETE
    • Services
      • getServiceJobByServiceJobId
      • cancelServiceJobByServiceJobId
      • completeServiceJobByServiceJobId
      • getServiceJobs
      • addAppointmentForServiceJobByServiceJobId
      • rescheduleAppointmentForServiceJobByServiceJobId
      • assignAppointmentResources
      • setAppointmentFulfillmentData
      • getRangeSlotCapacity
      • getFixedSlotCapacity
      • updateSchedule
      • createReservation
      • updateReservation
      • cancelReservation
      • getAppointmmentSlotsByJobId
      • getAppointmentSlots
      • createServiceDocumentUploadDestination
    • Shipment Invoicing
      • getShipmentDetails
      • submitInvoice
      • getInvoiceStatus
    • Shipping
      • createShipment
      • getShipment
      • cancelShipment
      • purchaseLabels
      • retrieveShippingLabel
      • purchaseShipment
      • getRates
      • getAccount
      • getTrackingInformation
    • Amazon Shipping API V2
      • getRates
      • directPurchaseShipment
      • purchaseShipment
      • oneClickShipment
      • getTracking
      • getShipmentDocuments
      • cancelShipment
      • getAdditionalInputs
      • getCarrierAccountFormInputs
      • getCarrierAccounts
      • linkCarrierAccount
      • unlinkCarrierAccount
      • generateCollectionForm
      • getCollectionFormHistory
      • getUnmanifestedShipments
      • getCollectionForm
      • getAccessPoints
    • Solicitations
      • getSolicitationActionsForOrder
      • createProductReviewAndSellerFeedbackSolicitation
    • Supply Sources
      • getSupplySources
      • createSupplySource
      • getSupplySource
      • updateSupplySource
      • archiveSupplySource
      • updateSupplySourceStatus
    • Invoices.
      • getInvoicesAttributes
      • getInvoicesDocument
      • createInvoicesExport
      • getInvoicesExports
      • getInvoicesExport
      • getInvoices
      • getInvoice
    • Tokens
      • createRestrictedDataToken
    • Automotive.
      • getVehicles
    • Uploads
      • createUploadDestinationForResource
    • third party application integrations.
      • createNotification
      • deleteNotifications
      • recordActionFeedback
    • Direct Fulfillment Inventory Updates
      • submitInventoryUpdate
    • Direct Fulfillment Orders V1
      • getOrders
      • getOrder
      • submitAcknowledgement
    • Direct Fulfillment Orders 2021-12-28
      • getOrders
      • getOrder
      • submitAcknowledgement
    • Direct Fulfillment Payments
      • submitInvoice
    • Vendor Direct Fulfillment Sandbox Test Data
      • generateOrderScenarios
      • getOrderScenarios
    • Direct Fulfillment Shipping V1
      • getShippingLabels
      • submitShippingLabelRequest
      • getShippingLabel
      • submitShipmentConfirmations
      • submitShipmentStatusUpdates
      • getCustomerInvoices
      • getCustomerInvoice
      • getPackingSlips
      • getPackingSlip
    • Direct Fulfillment Shipping 2021-12-28
      • getShippingLabels
      • submitShippingLabelRequest
      • getShippingLabel
      • createShippingLabels
      • submitShipmentConfirmations
      • submitShipmentStatusUpdates
      • getCustomerInvoices
      • getCustomerInvoice
      • getPackingSlips
      • getPackingSlip
    • Direct Fulfillment Transaction Status V1
      • getTransactionStatus
    • Direct Fulfillment Transaction Status 2021-12-28
      • getTransactionStatus
    • Retail Procurement Payments
      • submitInvoices
    • Retail Procurement Orders
      • getPurchaseOrders
      • getPurchaseOrder
      • submitAcknowledgement
      • getPurchaseOrdersStatus
    • Retail Procurement Shipments
      • SubmitShipmentConfirmations
      • SubmitShipments
      • GetShipmentDetails
    • Retail Procurement Transaction Status
      • getTransaction
  1. Seller Wallet Open Banking API Spec

createTransaction

北美(North America)
https://sellingpartnerapi-na.amazon.com
北美(North America)
https://sellingpartnerapi-na.amazon.com
POST
https://sellingpartnerapi-na.amazon.com
/finances/transfers/wallet/2024-03-01/transactions
从卖家钱包账户向客户提供的另一个账户创建交易请求。

请求参数

Query 参数

Header 参数

Body 参数application/json

示例
{
    "sourceAccountId": "amzn1.account.SMUGN2EN3ZHWSRJKH2KCJPII5JEI",
    "sourceAmount": {
        "amount": 100,
        "currency": "USD"
    },
    "destinationTransactionInstrument": {
        "bankAccount": {
            "bankAccountNumberFormat": "BBAN",
            "bankAccountOwnershipType": "SELF",
            "routingNumber": "HBUKGB4B",
            "bankNumberFormat": "BASIC",
            "accountCountryCode": "CN",
            "accountCurrency": "CNY",
            "bankAccountNumberTail": "819"
        },
        "accountHolderName": "John Doe",
        "bankAccountNumber": "GB29RBOS60161331926819"
    },
    "transactionDescription": "This is transaction to partner",
    "customerPaymentReference": "BG999999999",
    "destinationAccountHolderAddress": {
        "addressLine1": "333 Boren Ave N",
        "city": "Seattle",
        "state": "WA",
        "postalCode": "98109",
        "countryCode": "US"
    },
    "transferRateDetails": {
        "baseAmount": {
            "currencyCode": "EUR",
            "currencyAmount": 500
        },
        "fxRateDetails": {
            "fxRateId": "UNIQUE_FX_RATE_ID_1",
            "baseRate": 7.6915,
            "effectiveFxRate": 7.6084,
            "rateDirection": "BUY"
        },
        "transferAmount": {
            "currencyCode": "CNY",
            "currencyAmount": 3804.2
        },
        "fees": [
            {
                "feeId": "Unique_FeeId_001",
                "feeType": "TRANSACTION_FEE",
                "feeRateValue": "0.9",
                "feeAmount": {
                    "currencyCode": "EUR",
                    "currencyAmount": 4.5
                }
            },
            {
                "feeId": "Unique_FeeId_002",
                "feeType": "TAX",
                "feeRateValue": "20.0",
                "feeAmount": {
                    "currencyCode": "EUR",
                    "currencyAmount": 0.9
                }
            }
        ]
    },
    "requestTime": "2024-03-26T02:32:59.787Z"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sellingpartnerapi-na.amazon.com/finances/transfers/wallet/2024-03-01/transactions?marketplaceId=A1RKKUPIHCS9HS' \
--header 'destAccountDigitalSignature: U8AsRXdh5fvjozFIv6vRUal1EHdFHhrCArIgmWbPtW0HuTlN_LPteg8G8tbvF4QmoRekOO84nQxg8j4gs0wEyAktg2Sm80a_FaTswv-U8XUXGHZ1UBagGD9zEPrGBbia_N5gm4fCOW-V3mSieblwBiUyq8frUYL606WtuStHtE3zJgaj9-B1ObhudxxQALuBKjPeksc7-qyrT8lwchdkiaprNwsqpv3aKid7Ux3uwEzxiEedO3QWvv6nCZnNNxK-zz2Zj6tPDE_mgQk5tJv4xRgMxtcTMmr7_ce4A9wqRxQqwBerIHpOIzpZizmXAG56uG8-hJojmPwnsPif7ihMuw' \
--header 'amountDigitalSignature: 1EHdFHhrCArIgmWbPtW0HuTlN_LPteg8G8tbvF4QmoRekOO84nQxg8j4gs0wEyAktg2Sm80a_FaTswv-U8XUXGHZ1UBagGD9zEPrGBbia_N5gm4fCOW-qyrT8lwchdkiaprNwsqpv3aKid7Ux3uwEzxiEedO3QWvv6nCZnNNxK-zz2Zj6tPDE_mgQk5tJv4xRgMxtcTMmr7' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sourceAccountId": "amzn1.account.SMUGN2EN3ZHWSRJKH2KCJPII5JEI",
    "sourceAmount": {
        "amount": 100,
        "currency": "USD"
    },
    "destinationTransactionInstrument": {
        "bankAccount": {
            "bankAccountNumberFormat": "BBAN",
            "bankAccountOwnershipType": "SELF",
            "routingNumber": "HBUKGB4B",
            "bankNumberFormat": "BASIC",
            "accountCountryCode": "CN",
            "accountCurrency": "CNY",
            "bankAccountNumberTail": "819"
        },
        "accountHolderName": "John Doe",
        "bankAccountNumber": "GB29RBOS60161331926819"
    },
    "transactionDescription": "This is transaction to partner",
    "customerPaymentReference": "BG999999999",
    "destinationAccountHolderAddress": {
        "addressLine1": "333 Boren Ave N",
        "city": "Seattle",
        "state": "WA",
        "postalCode": "98109",
        "countryCode": "US"
    },
    "transferRateDetails": {
        "baseAmount": {
            "currencyCode": "EUR",
            "currencyAmount": 500
        },
        "fxRateDetails": {
            "fxRateId": "UNIQUE_FX_RATE_ID_1",
            "baseRate": 7.6915,
            "effectiveFxRate": 7.6084,
            "rateDirection": "BUY"
        },
        "transferAmount": {
            "currencyCode": "CNY",
            "currencyAmount": 3804.2
        },
        "fees": [
            {
                "feeId": "Unique_FeeId_001",
                "feeType": "TRANSACTION_FEE",
                "feeRateValue": "0.9",
                "feeAmount": {
                    "currencyCode": "EUR",
                    "currencyAmount": 4.5
                }
            },
            {
                "feeId": "Unique_FeeId_002",
                "feeType": "TAX",
                "feeRateValue": "20.0",
                "feeAmount": {
                    "currencyCode": "EUR",
                    "currencyAmount": 0.9
                }
            }
        ]
    },
    "requestTime": "2024-03-26T02:32:59.787Z"
}'

返回响应

🟢200成功
application/json
成功
Headers

Body

示例
{
    "transaction": {
        "transactionId": "string",
        "transactionType": "CREDIT",
        "transactionStatus": "EXPIRED",
        "transactionRequestDate": "2019-08-24T14:15:22Z",
        "expectedCompletionDate": "2023-09-26T02:32:59.787Z",
        "transactionActualCompletionDate": "2019-08-24T14:15:22Z",
        "lastUpdateDate": "2019-08-24T14:15:22Z",
        "requesterName": "TPPOrgId",
        "transactionRequesterSource": "string",
        "transactionDescription": "string",
        "transactionSourceAccount": {
            "accountId": "string",
            "bankAccountHolderName": "string",
            "bankName": "string",
            "bankAccountNumberFormat": "IBAN",
            "bankAccountNumberTail": "string",
            "bankAccountCountryCode": "string",
            "bankAccountCurrency": "string"
        },
        "transactionDestinationAccount": {
            "accountId": "string",
            "bankAccountHolderName": "string",
            "bankName": "string",
            "bankAccountNumberFormat": "IBAN",
            "bankAccountNumberTail": "string",
            "bankAccountCountryCode": "string",
            "bankAccountCurrency": "string"
        },
        "transactionRequestAmount": {
            "currencyCode": "string",
            "currencyAmount": 0
        },
        "transferRateDetails": {
            "baseAmount": {
                "currencyCode": "string",
                "currencyAmount": 0
            },
            "fxRateDetails": {
                "fxRateId": "UNIQUE_FX_RATE_ID_1",
                "baseRate": 7.2,
                "effectiveFxRate": 7.25,
                "rateDirection": "BUY"
            },
            "transferAmount": {
                "currencyCode": "string",
                "currencyAmount": 0
            },
            "fees": [
                {
                    "feeId": "string",
                    "feeType": "MISCELLANEOUS_FEE",
                    "feeRateValue": "string",
                    "feeAmount": {
                        "currencyCode": "string",
                        "currencyAmount": 0
                    }
                }
            ]
        },
        "transactionFinalAmount": {
            "currencyCode": "string",
            "currencyAmount": 0
        },
        "transactionFailureReason": "Insufficient Balance"
    },
    "callBackURL": "https://www.example.com/callback/transaction_id/"
}
🟠400请求有误
🟠403禁止访问
🟠404记录不存在
🟠408408
🟠413413
🟠415415
🟠422参数错误
🟠429429
🔴500服务器错误
🔴503服务器故障

技术咨询扫码联系作者

SP-API技术咨询,开发者申请,Amazon ERP源码

扫码加入交流群
修改于 2025-09-07 07:42:57
上一页
listAccountTransactions
下一页
getTransaction
Built with