Payments v2
Create transfer methods
Changed onCreates a new Transfer Method for the requesting (authenticated) user
post/api/appMarket/v2/transferMethods
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"platformType": "stripe",
"partyId": "1",
"partyType": "USER",
"properties": {
"account_id": "123456"
}
}Response
The transfer method request has been created successfully
Example response
{
"id": "619da695-42d6-4189-9cc2-cdc885a3a4f7",
"properties": [
{
"property1": "property1 value"
}
],
"platformType": "stripe",
"partyId": "1",
"partyType": "USER",
"balance": {
"amount": "10.00",
"currency": "USD"
},
"displayName": "****1234"
}Changes
- breaking
added
subschema #2: TransferMethodRequestto the request bodyallOflist - info
added
subschema #2: TransferMethodResponseto the response bodyallOflist for the response status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking