Create an Intent
Changed onDeclare a transaction authorization processed by a third-party PSP
This endpoint allows you to declare a payment authorized by a third-party PSP. Once AUTHORIZED (as shown by the Status in the response), the Intent's LineItems can be:
- Captured using POST Create an Intent Capture
- Canceled using POST Cancel an Intent
In a mixed-basket flow, you can also use this endpoint to add LineItems to an existing Intent by sending the same ExternalData.ExternalProviderReference as the existing Intent.
In a hybrid flow, where the ExternalProviderName is Mangopay, you can define the LineItems.SplitOriginWalletId in the Intent, otherwise it must be defined on POST Create an Intent Split.
Request
- Base URLhttps://api.sandbox.mangopay.com
- URLhttps://api.sandbox.mangopay.com/v3.0/{ClientId}/payins/intents
- AuthHTTP bearer
Path parameters
Platform's API account identifier, associated with the API key.
Request body
Response
Success
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
create_intentremoved and replaced withintents_create_intent
- info