{"items":[{"type":"link","label":"Trustap API","link":"/apis/v1.0/openapi","routeSlug":"/apis/v1.0/openapi","content":{"contentType":"overview","meta":{"name":"Trustap API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"openapi.json","url":"/_bundle/apis/@v1.0/openapi.json?download"},{"kind":"download","label":"openapi.yaml","url":"/_bundle/apis/@v1.0/openapi.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"email","title":"E-mail","titleTranslationKey":"info.contact.name","email":"support@trustap.com","label":"support@trustap.com","withCopyButton":true,"copyContent":"support@trustap.com"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://dev.stage.trustap.com"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Trustap API (0.1.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Trustap API is a REST-based API for managing user data and"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"transactions for Trustap users."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note that, like Stripe, all API "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"charge"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" fields expect"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"amounts to be provided in a currency's smallest unit. See "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://stripe.com/docs/currencies#zero-decimal"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the Stripe"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"documentation"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for more"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"details."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API Keys"},"children":[]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Some endpoints such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/charge"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" endpoints can be accessed directly"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"using an API key. API keys are provided as the \"username\" portion of a"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"basic auth authentication. For example, the Trustap fee for a new online"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"transaction can be determined using the following cURL request with an"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API key:"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"curl -u '<api_key>': 'https://dev.stage.trustap.com/api/v1/charge?currency=eur&price=1234'\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"curl -u '<api_key>': 'https://dev.stage.trustap.com/api/v1/charge?currency=eur&price=1234'\n"},"children":[]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Deprecation"},"children":[]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Deprecated endpoints are tagged with the word "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"DEPRECATED"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" at the start"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"of their description. The deprecation message will describe what"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoints/approach should be used instead."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note that deprecated endpoints will not be removed from the current"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"version of the API, but their use is discouraged. Furthermore, migrating"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"to later major versions of the API will be made easier by avoiding"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"deprecated endpoints."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Production"},"children":[]}]}]},{"$$mdtype":"Node","type":"hr","attributes":{},"children":[]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This documentation references the staging environment of the Trustap"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API, which is available at "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"https://dev.stage.trustap.com"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and uses the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"trustap-stage"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" realm during authentication. This environment can be"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"used for implementing and testing features using test credit cards, bank"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"accounts, etc."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When all features using Trustap have been implemented and tested"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"sufficiently, the production environment of the Trustap API can be used"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"to process actual currency. This environment is available at"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"https://dev.trustap.com"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and uses the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"trustap"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" realm during"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"authentication."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note that only your client ID will be the same in the staging and"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"production Trustap API environments; your client secret and API key will"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be different in the two environments."},"children":[]}]}]}]}],"sectionId":"/apis/v1.0/openapi"}],"sectionId":"/apis/v1.0/openapi"}]}]}},{"type":"separator","label":"Users","content":null},{"type":"group","label":"Buyers and Sellers","link":"/apis/v1.0/openapi/buyers-and-sellers","routeSlug":"/apis/v1.0/openapi/buyers-and-sellers","items":[{"label":"Create a new guest user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/buyers-and-sellers/users.createguestuser","routeSlug":"/apis/v1.0/openapi/buyers-and-sellers/users.createguestuser","metadata":{"seo":{"title":"Create a new guest user","description":"This endpoint creates guest user which can be used as the buyer or the seller.If guest user is used as the seller in a transaction, they need to be created withcountry_code parameter correctly set. This is important because of currenciesthey can use in their transactions.tos_acceptance is the parameter which is important for disputes/chargeback andrepresent the timestamp when Trustap ToS were accepted https://www.trustap.com/terms."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"users.createGuestUser","name":"Create a new guest user","isWebhook":false,"pointer":"/paths/~1api~1v1~1guest_users/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a new guest user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint creates guest user which can be used as the buyer or the seller."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If guest user is used as the seller in a transaction, they need to be created with"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"country_code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameter correctly set. This is important because of currencies"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"they can use in their transactions."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tos_acceptance"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is the parameter which is important for disputes/chargeback and"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"represent the timestamp when Trustap ToS were accepted https://www.trustap.com/terms."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_83"}},"schemaId":"schema_83","pointer":"/paths/~1api~1v1~1guest_users/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/guest_users","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_83"}},"responseCodes":["201","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/guest_users","href":"buyers-and-sellers/users.createguestuser","openApiOperationId":"users.createGuestUser","summary":"Create a new guest user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_83","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_83"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/users.GuestUser"}},"schemaId":"components/schemas/users.GuestUser"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"* "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"email_missing"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"* "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tos_acceptance_ip_missing"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"* "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_country_code"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"* "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_email"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"* "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_tos_acceptance_date"},"children":[]}]}]}]}],"pointer":"/paths/~1api~1v1~1guest_users/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/users.GuestUser","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/users.GuestUser"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/buyers-and-sellers/users.createguestuser"}],"panels":[]}]},"httpPath":"/api/v1/guest_users"},{"label":"Get the balance for the current user in each currency","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/buyers-and-sellers/users.getbalances","routeSlug":"/apis/v1.0/openapi/buyers-and-sellers/users.getbalances","metadata":{"seo":{"title":"Get the balance for the current user in each currency","description":"Get the balance for the current user in each currency"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"users.getBalances","name":"Get the balance for the current user in each currency","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1balances/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the balance for the current user in each currency","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1me~1balances/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/balances","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/balances","href":"buyers-and-sellers/users.getbalances","openApiOperationId":"users.getBalances","summary":"Get the balance for the current user in each currency","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/users.Balances"}},"schemaId":"components/schemas/users.Balances"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1me~1balances/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/users.Balances","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/users.Balances"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/buyers-and-sellers/users.getbalances"}],"panels":[]}]},"httpPath":"/api/v1/me/balances"},{"label":"Get the status enabled/disabled of user's features","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/buyers-and-sellers/users.getuserfeatures","routeSlug":"/apis/v1.0/openapi/buyers-and-sellers/users.getuserfeatures","metadata":{"seo":{"title":"Get the status enabled/disabled of user's features","description":"Get the status enabled/disabled of user's features"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"users.getUserFeatures","name":"Get the status enabled/disabled of user's features","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1features/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the status enabled/disabled of user's features","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1me~1features/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/features","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/features","href":"buyers-and-sellers/users.getuserfeatures","openApiOperationId":"users.getUserFeatures","summary":"Get the status enabled/disabled of user's features"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/users.Features"}},"schemaId":"components/schemas/users.Features"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1me~1features/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/users.Features","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/users.Features"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/buyers-and-sellers/users.getuserfeatures"}],"panels":[]}]},"httpPath":"/api/v1/me/features"},{"label":"Allow users to turn instant payouts feature on/off","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/buyers-and-sellers/users.setinstantpayouts","routeSlug":"/apis/v1.0/openapi/buyers-and-sellers/users.setinstantpayouts","metadata":{"seo":{"title":"Allow users to turn instant payouts feature on/off","description":"Allow users to turn instant payouts feature on/off"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"users.setInstantPayouts","name":"Allow users to turn instant payouts feature on/off","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1features~1instant_payouts/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Allow users to turn instant payouts feature on/off","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1me~1features~1instant_payouts/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_85"}},"schemaId":"schema_85","pointer":"/paths/~1api~1v1~1me~1features~1instant_payouts/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/me/features/instant_payouts","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_85"}},"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/features/instant_payouts","href":"buyers-and-sellers/users.setinstantpayouts","openApiOperationId":"users.setInstantPayouts","summary":"Allow users to turn instant payouts feature on/off"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_85","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_85"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/users.Features"}},"schemaId":"components/schemas/users.Features"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1me~1features~1instant_payouts/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/users.Features","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/users.Features"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/buyers-and-sellers/users.setinstantpayouts"}],"panels":[]}]},"httpPath":"/api/v1/me/features/instant_payouts"},{"label":"Get the list of payouts for the current user in each currency","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/buyers-and-sellers/users.getpayouts","routeSlug":"/apis/v1.0/openapi/buyers-and-sellers/users.getpayouts","metadata":{"seo":{"title":"Get the list of payouts for the current user in each currency","description":"Get the list of payouts for the current user in each currency"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"users.getPayouts","name":"Get the list of payouts for the current user in each currency","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1payouts/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the list of payouts for the current user in each currency","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1me~1payouts/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/payouts","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/payouts","href":"buyers-and-sellers/users.getpayouts","openApiOperationId":"users.getPayouts","summary":"Get the list of payouts for the current user in each currency"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/users.Payouts"}},"schemaId":"components/schemas/users.Payouts"}],"pointer":"/paths/~1api~1v1~1me~1payouts/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/users.Payouts","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/users.Payouts"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/buyers-and-sellers/users.getpayouts"}],"panels":[]}]},"httpPath":"/api/v1/me/payouts"}],"content":{"contentType":"group","meta":{"name":"Buyers and Sellers"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Buyers and Sellers","showPageActions":true},{"nodeType":"markdoc","content":"Users represent users of the platform."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/guest_users","summary":"Create a new guest user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/buyers-and-sellers/users.createguestuser","deprecated":false},{"title":"/api/v1/me/balances","summary":"Get the balance for the current user in each currency","prefix":{"name":"get","color":"get"},"badges":[],"link":"/buyers-and-sellers/users.getbalances","deprecated":false},{"title":"/api/v1/me/features","summary":"Get the status enabled/disabled of user's features","prefix":{"name":"get","color":"get"},"badges":[],"link":"/buyers-and-sellers/users.getuserfeatures","deprecated":false},{"title":"/api/v1/me/features/instant_payouts","summary":"Allow users to turn instant payouts feature on/off","prefix":{"name":"post","color":"post"},"badges":[],"link":"/buyers-and-sellers/users.setinstantpayouts","deprecated":false},{"title":"/api/v1/me/payouts","summary":"Get the list of payouts for the current user in each currency","prefix":{"name":"get","color":"get"},"badges":[],"link":"/buyers-and-sellers/users.getpayouts","deprecated":false}]}]}]}]}},{"type":"group","label":"Clients","link":"/apis/v1.0/openapi/clients","routeSlug":"/apis/v1.0/openapi/clients","items":[{"label":"Get supported registration countries for the current client","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/clients/client.getsupportedregistrationcountries","routeSlug":"/apis/v1.0/openapi/clients/client.getsupportedregistrationcountries","metadata":{"seo":{"title":"Get supported registration countries for the current client","description":"Get supported registration countries for the current client"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"client.getSupportedRegistrationCountries","name":"Get supported registration countries for the current client","isWebhook":false,"pointer":"/paths/~1api~1v1~1client~1supported_registration_countries/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get supported registration countries for the current client","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/client/supported_registration_countries","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/client/supported_registration_countries","href":"clients/client.getsupportedregistrationcountries","openApiOperationId":"client.getSupportedRegistrationCountries","summary":"Get supported registration countries for the current client"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_86"}},"schemaId":"schema_86"}],"pointer":"/paths/~1api~1v1~1client~1supported_registration_countries/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_86","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_86"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/clients/client.getsupportedregistrationcountries"}],"panels":[]}]},"httpPath":"/api/v1/client/supported_registration_countries"},{"label":"Get timelines for the given client","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/clients/basic_client.gettimelinesforclient","routeSlug":"/apis/v1.0/openapi/clients/basic_client.gettimelinesforclient","metadata":{"seo":{"title":"Get timelines for the given client","description":"Get timelines for the given client"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic_client.getTimelinesForClient","name":"Get timelines for the given client","isWebhook":false,"pointer":"/paths/~1api~1v1~1clients~1{client_id}~1timelines/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get timelines for the given client","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"client_id","in":"path","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1clients~1{client_id}~1timelines/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/clients/{client_id}/timelines","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"client_id","in":"path","required":true,"schemaId":"schema_84"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/clients/{client_id}/timelines","href":"clients/basic_client.gettimelinesforclient","openApiOperationId":"basic_client.getTimelinesForClient","summary":"Get timelines for the given client","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.ClientTimelines"}},"schemaId":"components/schemas/basic.ClientTimelines"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1clients~1{client_id}~1timelines/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.ClientTimelines","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.ClientTimelines"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/clients/basic_client.gettimelinesforclient"}],"panels":[]}]},"httpPath":"/api/v1/clients/{client_id}/timelines"},{"label":"Get timelines for the given client","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/clients/p2p_client.gettimelinesforclient","routeSlug":"/apis/v1.0/openapi/clients/p2p_client.gettimelinesforclient","metadata":{"seo":{"title":"Get timelines for the given client","description":"Get timelines for the given client"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p_client.getTimelinesForClient","name":"Get timelines for the given client","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1clients~1{client_id}~1timelines/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get timelines for the given client","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"client_id","in":"path","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1clients~1{client_id}~1timelines/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/clients/{client_id}/timelines","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"client_id","in":"path","required":true,"schemaId":"schema_84"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/clients/{client_id}/timelines","href":"clients/p2p_client.gettimelinesforclient","openApiOperationId":"p2p_client.getTimelinesForClient","summary":"Get timelines for the given client","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.ClientTimelines"}},"schemaId":"components/schemas/p2p.ClientTimelines"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1clients~1{client_id}~1timelines/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.ClientTimelines","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.ClientTimelines"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/clients/p2p_client.gettimelinesforclient"}],"panels":[]}]},"httpPath":"/api/v1/p2p/clients/{client_id}/timelines"}],"content":{"contentType":"group","meta":{"name":"Clients"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Clients","showPageActions":true},{"nodeType":"markdoc","content":"Clients represent partner applications."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/client/supported_registration_countries","summary":"Get supported registration countries for the current client","prefix":{"name":"get","color":"get"},"badges":[],"link":"/clients/client.getsupportedregistrationcountries","deprecated":false},{"title":"/api/v1/clients/{client_id}/timelines","summary":"Get timelines for the given client","prefix":{"name":"get","color":"get"},"badges":[],"link":"/clients/basic_client.gettimelinesforclient","deprecated":false},{"title":"/api/v1/p2p/clients/{client_id}/timelines","summary":"Get timelines for the given client","prefix":{"name":"get","color":"get"},"badges":[],"link":"/clients/p2p_client.gettimelinesforclient","deprecated":false}]}]}]}]}},{"type":"group","label":"Personal","link":"/apis/v1.0/openapi/personal","routeSlug":"/apis/v1.0/openapi/personal","items":[{"label":"Create an account session and retrieve the client secret for it","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.getaccountsession","routeSlug":"/apis/v1.0/openapi/personal/personal.getaccountsession","metadata":{"seo":{"title":"Create an account session and retrieve the client secret for it","description":"Create an account session and retrieve the client secret for it"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.getAccountSession","name":"Create an account session and retrieve the client secret for it","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1account_session/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create an account session and retrieve the client secret for it","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user.\nCan be used with managed users ID and client API key.\n"}],"pointer":"/paths/~1api~1v1~1me~1account_session/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/account_session","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["201"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/account_session","href":"personal/personal.getaccountsession","openApiOperationId":"personal.getAccountSession","summary":"Create an account session and retrieve the client secret for it","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_87"}},"schemaId":"schema_87"}],"pointer":"/paths/~1api~1v1~1me~1account_session/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"schema_87","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_87"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.getaccountsession"}],"panels":[]}]},"httpPath":"/api/v1/me/account_session"},{"label":"Get instant payout balance","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.getinstantpayoutbalance","routeSlug":"/apis/v1.0/openapi/personal/personal.getinstantpayoutbalance","metadata":{"seo":{"title":"Get instant payout balance","description":"Get instant payout balance"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.getInstantPayoutBalance","name":"Get instant payout balance","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1instant_payout_balance/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get instant payout balance","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/instant_payout_balance","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/instant_payout_balance","href":"personal/personal.getinstantpayoutbalance","openApiOperationId":"personal.getInstantPayoutBalance","summary":"Get instant payout balance"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/personal.InstantPayoutBalance"}},"schemaId":"components/schemas/personal.InstantPayoutBalance"}],"pointer":"/paths/~1api~1v1~1me~1instant_payout_balance/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/personal.InstantPayoutBalance","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/personal.InstantPayoutBalance"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.getinstantpayoutbalance"}],"panels":[]}]},"httpPath":"/api/v1/me/instant_payout_balance"},{"label":"Get the payout attempts that have occurred for this account","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.getpayoutattempts","routeSlug":"/apis/v1.0/openapi/personal/personal.getpayoutattempts","metadata":{"seo":{"title":"Get the payout attempts that have occurred for this account","description":"Payout attempts are returned in reverse chronological order - the first attempt in the returned array will be the most recent payout attempt."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.getPayoutAttempts","name":"Get the payout attempts that have occurred for this account","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1payout_attempts/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the payout attempts that have occurred for this account","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Payout attempts are returned in reverse chronological order -\nthe first attempt in the returned array will be the most recent\npayout attempt.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/payout_attempts","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/payout_attempts","href":"personal/personal.getpayoutattempts","openApiOperationId":"personal.getPayoutAttempts","summary":"Get the payout attempts that have occurred for this account"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_88"}},"schemaId":"schema_88"}],"pointer":"/paths/~1api~1v1~1me~1payout_attempts/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_88","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_88"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.getpayoutattempts"}],"panels":[]}]},"httpPath":"/api/v1/me/payout_attempts"},{"label":"Get the verification status for the front side of the secondary identity document","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/getadditionalidentitydocumentverificationstatus","routeSlug":"/apis/v1.0/openapi/personal/getadditionalidentitydocumentverificationstatus","metadata":{"seo":{"title":"Get the verification status for the front side of the secondary identity document","description":"Get the verification status for the front side of the secondary identity document"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getAdditionalIdentityDocumentVerificationStatus","name":"Get the verification status for the front side of the secondary identity document","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1personal~1additional_identity_document~1verification_status/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the verification status for the front side of the secondary identity document","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/personal/additional_identity_document/verification_status","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/personal/additional_identity_document/verification_status","href":"personal/getadditionalidentitydocumentverificationstatus","openApiOperationId":"getAdditionalIdentityDocumentVerificationStatus","summary":"Get the verification status for the front side of the secondary identity document","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DocumentVerification"}},"schemaId":"components/schemas/DocumentVerification"}],"pointer":"/paths/~1api~1v1~1me~1personal~1additional_identity_document~1verification_status/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/DocumentVerification","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DocumentVerification"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/getadditionalidentitydocumentverificationstatus"}],"panels":[]}]},"httpPath":"/api/v1/me/personal/additional_identity_document/verification_status"},{"label":"Get the verification status for the back side of the secondary identity document","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/getadditionalidentitydocumentbackverificationstatus","routeSlug":"/apis/v1.0/openapi/personal/getadditionalidentitydocumentbackverificationstatus","metadata":{"seo":{"title":"Get the verification status for the back side of the secondary identity document","description":"Get the verification status for the back side of the secondary identity document"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getAdditionalIdentityDocumentBackVerificationStatus","name":"Get the verification status for the back side of the secondary identity document","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1personal~1additional_identity_document_back~1verification_status/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the verification status for the back side of the secondary identity document","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/personal/additional_identity_document_back/verification_status","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/personal/additional_identity_document_back/verification_status","href":"personal/getadditionalidentitydocumentbackverificationstatus","openApiOperationId":"getAdditionalIdentityDocumentBackVerificationStatus","summary":"Get the verification status for the back side of the secondary identity document","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DocumentVerification"}},"schemaId":"components/schemas/DocumentVerification"}],"pointer":"/paths/~1api~1v1~1me~1personal~1additional_identity_document_back~1verification_status/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/DocumentVerification","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DocumentVerification"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/getadditionalidentitydocumentbackverificationstatus"}],"panels":[]}]},"httpPath":"/api/v1/me/personal/additional_identity_document_back/verification_status"},{"label":"Get personal details for the local user","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.getdetails","routeSlug":"/apis/v1.0/openapi/personal/personal.getdetails","metadata":{"seo":{"title":"Get personal details for the local user","description":"Get personal details for the local user"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.getDetails","name":"Get personal details for the local user","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1personal~1details/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get personal details for the local user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/personal/details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/personal/details","href":"personal/personal.getdetails","openApiOperationId":"personal.getDetails","summary":"Get personal details for the local user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/personal.Details"}},"schemaId":"components/schemas/personal.Details"}],"pointer":"/paths/~1api~1v1~1me~1personal~1details/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/personal.Details","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/personal.Details"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.getdetails"}],"panels":[]}]},"httpPath":"/api/v1/me/personal/details"},{"label":"Set personal details for the local user","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.setdetails","routeSlug":"/apis/v1.0/openapi/personal/personal.setdetails","metadata":{"seo":{"title":"Set personal details for the local user","description":"Set personal details for the local user"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.setDetails","name":"Set personal details for the local user","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1personal~1details/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set personal details for the local user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_89"}},"schemaId":"schema_89","pointer":"/paths/~1api~1v1~1me~1personal~1details/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/api/v1/me/personal/details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_89"}},"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/personal/details","href":"personal/personal.setdetails","openApiOperationId":"personal.setDetails","summary":"Set personal details for the local user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_89","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_89"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/personal.Details"}},"schemaId":"components/schemas/personal.Details"}],"pointer":"/paths/~1api~1v1~1me~1personal~1details/patch/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/personal.Details","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/personal.Details"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.setdetails"}],"panels":[]}]},"httpPath":"/api/v1/me/personal/details"},{"label":"Get the verification status for the front side of the primary identity document","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/getidentitydocumentverificationstatus","routeSlug":"/apis/v1.0/openapi/personal/getidentitydocumentverificationstatus","metadata":{"seo":{"title":"Get the verification status for the front side of the primary identity document","description":"Get the verification status for the front side of the primary identity document"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getIdentityDocumentVerificationStatus","name":"Get the verification status for the front side of the primary identity document","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1personal~1identity_document~1verification_status/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the verification status for the front side of the primary identity document","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/personal/identity_document/verification_status","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/personal/identity_document/verification_status","href":"personal/getidentitydocumentverificationstatus","openApiOperationId":"getIdentityDocumentVerificationStatus","summary":"Get the verification status for the front side of the primary identity document"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DocumentVerification"}},"schemaId":"components/schemas/DocumentVerification"}],"pointer":"/paths/~1api~1v1~1me~1personal~1identity_document~1verification_status/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/DocumentVerification","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DocumentVerification"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/getidentitydocumentverificationstatus"}],"panels":[]}]},"httpPath":"/api/v1/me/personal/identity_document/verification_status"},{"label":"Get the verification status for the back side of the primary identity document","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/getidentitydocumentbackverificationstatus","routeSlug":"/apis/v1.0/openapi/personal/getidentitydocumentbackverificationstatus","metadata":{"seo":{"title":"Get the verification status for the back side of the primary identity document","description":"Get the verification status for the back side of the primary identity document"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getIdentityDocumentBackVerificationStatus","name":"Get the verification status for the back side of the primary identity document","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1personal~1identity_document_back~1verification_status/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the verification status for the back side of the primary identity document","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/personal/identity_document_back/verification_status","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/personal/identity_document_back/verification_status","href":"personal/getidentitydocumentbackverificationstatus","openApiOperationId":"getIdentityDocumentBackVerificationStatus","summary":"Get the verification status for the back side of the primary identity document","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DocumentVerification"}},"schemaId":"components/schemas/DocumentVerification"}],"pointer":"/paths/~1api~1v1~1me~1personal~1identity_document_back~1verification_status/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/DocumentVerification","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DocumentVerification"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/getidentitydocumentbackverificationstatus"}],"panels":[]}]},"httpPath":"/api/v1/me/personal/identity_document_back/verification_status"},{"label":"Get the details for the Stripe publishable key the user is linked to\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/getstripepublishablekeyforuser","routeSlug":"/apis/v1.0/openapi/personal/getstripepublishablekeyforuser","metadata":{"seo":{"title":"Get the details for the Stripe publishable key the user is linked to\n","description":"Returns the Publishable Key for the Stripe Platform which the user is linked to."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getStripePublishableKeyForUser","name":"Get the details for the Stripe publishable key the user is linked to\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1personal~1stripe_publishable_key/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the details for the Stripe publishable key the user is linked to\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the Publishable Key for the Stripe Platform\nwhich the user is linked to.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user.\nCan be used with managed users ID and client API key.\n"}],"pointer":"/paths/~1api~1v1~1me~1personal~1stripe_publishable_key/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/personal/stripe_publishable_key","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/personal/stripe_publishable_key","href":"personal/getstripepublishablekeyforuser","openApiOperationId":"getStripePublishableKeyForUser","summary":"Get the details for the Stripe publishable key the user is linked to\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_90"}},"schemaId":"schema_90"}],"pointer":"/paths/~1api~1v1~1me~1personal~1stripe_publishable_key/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_90","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_90"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/getstripepublishablekeyforuser"}],"panels":[]}]},"httpPath":"/api/v1/me/personal/stripe_publishable_key"},{"label":"Get the status of a user's ability to accept payouts\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/getprofilepayoutstatus","routeSlug":"/apis/v1.0/openapi/personal/getprofilepayoutstatus","metadata":{"seo":{"title":"Get the status of a user's ability to accept payouts\n","description":"This endpoint requiresthe user identified by the Trustap-User header to have granted the profilescope to the client that is performing the request. Offline access is allowed for this endpoint when the user hasgranted the profile scope to the clientthat is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getProfilePayoutStatus","name":"Get the status of a user's ability to accept payouts\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1profile~1payout_status/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the status of a user's ability to accept payouts\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint requires"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the user identified by the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Trustap-User"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header to have granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"profile"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"scope to the client that is performing the request. Offline access is allowed for this endpoint when the user has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"profile"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1me~1profile~1payout_status/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/profile/payout_status","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/profile/payout_status","href":"personal/getprofilepayoutstatus","openApiOperationId":"getProfilePayoutStatus","summary":"Get the status of a user's ability to accept payouts\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ProfilePayoutStatus"}},"schemaId":"components/schemas/ProfilePayoutStatus"}],"pointer":"/paths/~1api~1v1~1me~1profile~1payout_status/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ProfilePayoutStatus","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ProfilePayoutStatus"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/getprofilepayoutstatus"}],"panels":[]}]},"httpPath":"/api/v1/me/profile/payout_status"},{"label":"Add a new payout method to the current account using a payment method ID","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.addstripefinancialconnectionsaccount","routeSlug":"/apis/v1.0/openapi/personal/personal.addstripefinancialconnectionsaccount","metadata":{"seo":{"title":"Add a new payout method to the current account using a payment method ID","description":"Add a new payout method to the current account using a payment method ID"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.addStripeFinancialConnectionsAccount","name":"Add a new payout method to the current account using a payment method ID","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1stripe_financial_connections~1add_account/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Add a new payout method to the current account using a payment method ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_91"}},"schemaId":"schema_91","pointer":"/paths/~1api~1v1~1me~1stripe_financial_connections~1add_account/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/me/stripe_financial_connections/add_account","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_91"}},"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/stripe_financial_connections/add_account","href":"personal/personal.addstripefinancialconnectionsaccount","openApiOperationId":"personal.addStripeFinancialConnectionsAccount","summary":"Add a new payout method to the current account using a payment method ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_91","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_91"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/personal.DebitAccount"}},"schemaId":"components/schemas/personal.DebitAccount"}],"pointer":"/paths/~1api~1v1~1me~1stripe_financial_connections~1add_account/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/personal.DebitAccount","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/personal.DebitAccount"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.addstripefinancialconnectionsaccount"}],"panels":[]}]},"httpPath":"/api/v1/me/stripe_financial_connections/add_account"},{"label":"Get the ownership details from the given SetupIntent using Stripe Financial Connections","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.getstripefinancialconnectionsownership","routeSlug":"/apis/v1.0/openapi/personal/personal.getstripefinancialconnectionsownership","metadata":{"seo":{"title":"Get the ownership details from the given SetupIntent using Stripe Financial Connections","description":"Get the ownership details from the given SetupIntent using Stripe Financial Connections"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.getStripeFinancialConnectionsOwnership","name":"Get the ownership details from the given SetupIntent using Stripe Financial Connections","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1stripe_financial_connections~1ownership/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the ownership details from the given SetupIntent using Stripe Financial Connections","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"setup_intent_id","in":"query","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1me~1stripe_financial_connections~1ownership/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/stripe_financial_connections/ownership","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[{"name":"setup_intent_id","in":"query","required":true,"schemaId":"schema_84"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","409"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/stripe_financial_connections/ownership","href":"personal/personal.getstripefinancialconnectionsownership","openApiOperationId":"personal.getStripeFinancialConnectionsOwnership","summary":"Get the ownership details from the given SetupIntent using Stripe Financial Connections"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_92"}},"schemaId":"schema_92"},{"code":"409","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Conflict"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unconfirmed_setup_intent"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The given SetupIntent has not"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"been confirmed"},"children":[]}]}]}]}]}],"pointer":"/paths/~1api~1v1~1me~1stripe_financial_connections~1ownership/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_92","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_92"}}},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.getstripefinancialconnectionsownership"}],"panels":[]}]},"httpPath":"/api/v1/me/stripe_financial_connections/ownership"},{"label":"Get a SetupIntent ID and secret for starting a Stripe Financial\nConnections session\n","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.preparestripefinancialconnectionsaccount","routeSlug":"/apis/v1.0/openapi/personal/personal.preparestripefinancialconnectionsaccount","metadata":{"seo":{"title":"Get a SetupIntent ID and secret for starting a Stripe Financial\nConnections session\n","description":"Get a SetupIntent ID and secret for starting a Stripe Financial\nConnections session\n"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.prepareStripeFinancialConnectionsAccount","name":"Get a SetupIntent ID and secret for starting a Stripe Financial\nConnections session\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1stripe_financial_connections~1prepare_account/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get a SetupIntent ID and secret for starting a Stripe Financial\nConnections session\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/me/stripe_financial_connections/prepare_account","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/stripe_financial_connections/prepare_account","href":"personal/personal.preparestripefinancialconnectionsaccount","openApiOperationId":"personal.prepareStripeFinancialConnectionsAccount","summary":"Get a SetupIntent ID and secret for starting a Stripe Financial\nConnections session\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_93"}},"schemaId":"schema_93"}],"pointer":"/paths/~1api~1v1~1me~1stripe_financial_connections~1prepare_account/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_93","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_93"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.preparestripefinancialconnectionsaccount"}],"panels":[]}]},"httpPath":"/api/v1/me/stripe_financial_connections/prepare_account"},{"label":"Create verification method and message if not available\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.getverificationmethod","routeSlug":"/apis/v1.0/openapi/personal/personal.getverificationmethod","metadata":{"seo":{"title":"Create verification method and message if not available\n","description":"Create verification method and message if not available\n"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.getVerificationMethod","name":"Create verification method and message if not available\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1verification_method/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create verification method and message if not available\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/verification_method","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","409"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/verification_method","href":"personal/personal.getverificationmethod","openApiOperationId":"personal.getVerificationMethod","summary":"Create verification method and message if not available\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_94"}},"schemaId":"schema_94"},{"code":"409","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Conflict"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"user_is_company"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Verification sessions aren't yet supported"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for users with a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"business_type"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"company"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}],"pointer":"/paths/~1api~1v1~1me~1verification_method/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_94","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_94"}}},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.getverificationmethod"}],"panels":[]}]},"httpPath":"/api/v1/me/verification_method"},{"label":"Create verification session and retrieve client secret for it\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.getverificationsession","routeSlug":"/apis/v1.0/openapi/personal/personal.getverificationsession","metadata":{"seo":{"title":"Create verification session and retrieve client secret for it\n","description":"Offline access is allowed for this endpoint when the user has granted the profile scope to the client that is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.getVerificationSession","name":"Create verification session and retrieve client secret for it\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1verification_session/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create verification session and retrieve client secret for it\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"profile"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user.\nCan be used with managed users ID and client API key.\n"}],"pointer":"/paths/~1api~1v1~1me~1verification_session/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/verification_session","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["201","400","409"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/verification_session","href":"personal/personal.getverificationsession","openApiOperationId":"personal.getVerificationSession","summary":"Create verification session and retrieve client secret for it\n","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_95"}},"schemaId":"schema_95"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"stripe_identity_not_available"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": stripe identity is currently not available for this account."},"children":[]}]}]}]}]},{"code":"409","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Conflict"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"user_is_company"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Verification sessions aren't yet supported"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for users with a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"business_type"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"company"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}],"pointer":"/paths/~1api~1v1~1me~1verification_session/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"schema_95","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_95"}}},{"code":"400"},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.getverificationsession"}],"panels":[]}]},"httpPath":"/api/v1/me/verification_session"},{"label":"Create verification session for native apps that use Stripe native SDK","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.getverificationsessionnative","routeSlug":"/apis/v1.0/openapi/personal/personal.getverificationsessionnative","metadata":{"seo":{"title":"Create verification session for native apps that use Stripe native SDK","description":"Creates verification session for native apps that use Stripe native SDK,and returns it's Verification Session ID with appropriate Ephemeral Key.Offline access is allowed for this endpoint when the user hasgranted the profile scope to the client that is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.getVerificationSessionNative","name":"Create verification session for native apps that use Stripe native SDK","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1verification_session_native/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create verification session for native apps that use Stripe native SDK","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Creates verification session for native apps that use Stripe native SDK,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"and returns it's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Verification Session ID"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with appropriate "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Ephemeral Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"profile"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/verification_session_native","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["201","400","409"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/verification_session_native","href":"personal/personal.getverificationsessionnative","openApiOperationId":"personal.getVerificationSessionNative","summary":"Create verification session for native apps that use Stripe native SDK"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_96"}},"schemaId":"schema_96"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"stripe_identity_not_available"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": stripe identity is currently not available for this account."},"children":[]}]}]}]}]},{"code":"409","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Conflict"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"user_is_company"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Verification sessions aren't yet supported"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for users with a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"business_type"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"company"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}],"pointer":"/paths/~1api~1v1~1me~1verification_session_native/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"schema_96","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_96"}}},{"code":"400"},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.getverificationsessionnative"}],"panels":[]}]},"httpPath":"/api/v1/me/verification_session_native"},{"label":"Get verification status of the user\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/personal/personal.getverificationstatus","routeSlug":"/apis/v1.0/openapi/personal/personal.getverificationstatus","metadata":{"seo":{"title":"Get verification status of the user\n","description":"Offline access is allowed for this endpoint when the user has granted the profile scope to the client that is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"personal.getVerificationStatus","name":"Get verification status of the user\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1verification_status/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get verification status of the user\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"profile"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/verification_status","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/verification_status","href":"personal/personal.getverificationstatus","openApiOperationId":"personal.getVerificationStatus","summary":"Get verification status of the user\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_97"}},"schemaId":"schema_97"}],"pointer":"/paths/~1api~1v1~1me~1verification_status/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_97","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_97"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/personal/personal.getverificationstatus"}],"panels":[]}]},"httpPath":"/api/v1/me/verification_status"}],"content":{"contentType":"group","meta":{"name":"Personal"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Personal","showPageActions":true},{"nodeType":"markdoc","content":"Personal endpoints are used for managing personal details for users, for\n\"Know Your Customer\" requirements."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/me/account_session","summary":"Create an account session and retrieve the client secret for it","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/personal.getaccountsession","deprecated":false},{"title":"/api/v1/me/instant_payout_balance","summary":"Get instant payout balance","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/personal.getinstantpayoutbalance","deprecated":false},{"title":"/api/v1/me/payout_attempts","summary":"Get the payout attempts that have occurred for this account","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/personal.getpayoutattempts","deprecated":false},{"title":"/api/v1/me/personal/additional_identity_document/verification_status","summary":"Get the verification status for the front side of the secondary identity document","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/getadditionalidentitydocumentverificationstatus","deprecated":false},{"title":"/api/v1/me/personal/additional_identity_document_back/verification_status","summary":"Get the verification status for the back side of the secondary identity document","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/getadditionalidentitydocumentbackverificationstatus","deprecated":false},{"title":"/api/v1/me/personal/details","summary":"Get personal details for the local user","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/personal.getdetails","deprecated":false},{"title":"/api/v1/me/personal/details","summary":"Set personal details for the local user","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/personal/personal.setdetails","deprecated":false},{"title":"/api/v1/me/personal/identity_document/verification_status","summary":"Get the verification status for the front side of the primary identity document","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/getidentitydocumentverificationstatus","deprecated":false},{"title":"/api/v1/me/personal/identity_document_back/verification_status","summary":"Get the verification status for the back side of the primary identity document","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/getidentitydocumentbackverificationstatus","deprecated":false},{"title":"/api/v1/me/personal/stripe_publishable_key","summary":"Get the details for the Stripe publishable key the user is linked to\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/getstripepublishablekeyforuser","deprecated":false},{"title":"/api/v1/me/profile/payout_status","summary":"Get the status of a user's ability to accept payouts\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/getprofilepayoutstatus","deprecated":false},{"title":"/api/v1/me/stripe_financial_connections/add_account","summary":"Add a new payout method to the current account using a payment method ID","prefix":{"name":"post","color":"post"},"badges":[],"link":"/personal/personal.addstripefinancialconnectionsaccount","deprecated":false},{"title":"/api/v1/me/stripe_financial_connections/ownership","summary":"Get the ownership details from the given SetupIntent using Stripe Financial Connections","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/personal.getstripefinancialconnectionsownership","deprecated":false},{"title":"/api/v1/me/stripe_financial_connections/prepare_account","summary":"Get a SetupIntent ID and secret for starting a Stripe Financial\nConnections session\n","prefix":{"name":"post","color":"post"},"badges":[],"link":"/personal/personal.preparestripefinancialconnectionsaccount","deprecated":false},{"title":"/api/v1/me/verification_method","summary":"Create verification method and message if not available\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/personal.getverificationmethod","deprecated":false},{"title":"/api/v1/me/verification_session","summary":"Create verification session and retrieve client secret for it\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/personal.getverificationsession","deprecated":false},{"title":"/api/v1/me/verification_session_native","summary":"Create verification session for native apps that use Stripe native SDK","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/personal.getverificationsessionnative","deprecated":false},{"title":"/api/v1/me/verification_status","summary":"Get verification status of the user\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/personal/personal.getverificationstatus","deprecated":false}]}]}]}]}},{"type":"separator","label":"Online transactions","content":null},{"type":"group","label":"Online Transactions","link":"/apis/v1.0/openapi/online-transactions","routeSlug":"/apis/v1.0/openapi/online-transactions","items":[{"label":"Get multiple online transactions by their IDs","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.gettransactionsbyids","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.gettransactionsbyids","metadata":{"seo":{"title":"Get multiple online transactions by their IDs","description":"This endpoint takes a required ids parameter that contains acomma-separated list of transaction IDs, and returns thetransactions corresponding to those IDs. A maximum of 50 IDs maybe provided, results are returned in the order specified inids, and duplicates are preserved. Transactions that couldn'tbe found will be returned as null values in the result array.The following example request results in the 200 OK responsedescribed below, assuming that the transaction with ID 1990couldn't be found:"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getTransactionsByIds","name":"Get multiple online transactions by their IDs","isWebhook":false,"pointer":"/paths/~1api~1v1~1batch~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get multiple online transactions by their IDs","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint takes a required "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameter that contains a"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"comma-separated list of transaction IDs, and returns the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"transactions corresponding to those IDs. A maximum of 50 IDs may"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be provided, results are returned in the order specified in"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", and duplicates are preserved. Transactions that couldn't"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be found will be returned as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" values in the result array."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The following example request results in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"200 OK"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" response"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"described below, assuming that the transaction with ID "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"1990"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"couldn't be found:"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"https://dev.stage.trustap.com/api/v1/batch/transactions?ids=1309,609,1990,609\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"https://dev.stage.trustap.com/api/v1/batch/transactions?ids=1309,609,1990,609\n"},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ids","in":"query","schemaId":"schema_84","description":"A comma-separated list of transaction IDs\n","required":true}],"pointer":"/paths/~1api~1v1~1batch~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/batch/transactions","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[{"name":"ids","in":"query","required":true,"schemaId":"schema_84"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/batch/transactions","href":"online-transactions/basic.gettransactionsbyids","openApiOperationId":"basic.getTransactionsByIds","summary":"Get multiple online transactions by their IDs"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_98"}},"schemaId":"schema_98"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ids_missing"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"too_many_ids"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1batch~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_98","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_98"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.gettransactionsbyids"}],"panels":[]}]},"httpPath":"/api/v1/batch/transactions"},{"label":"Get online transactions for the logged-in user","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.gettransactions","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.gettransactions","metadata":{"seo":{"title":"Get online transactions for the logged-in user","description":"Transactions are currently sorted by ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getTransactions","name":"Get online transactions for the logged-in user","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get online transactions for the logged-in user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Transactions are currently sorted by ID.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"before_id","in":"query","schemaId":"schema_99","description":"Only return transactions that were created chronologically\nbefore the transaction with this ID\n"},{"name":"after_id","in":"query","schemaId":"schema_99","description":"Only return transactions that were created chronologically\nafter the transaction with this ID (i.e. with smaller IDs)\n"},{"name":"limit","in":"query","schemaId":"schema_100","description":"The maximum number of transactions to return\n"}],"pointer":"/paths/~1api~1v1~1me~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/transactions","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[{"name":"before_id","in":"query","schemaId":"schema_99"},{"name":"after_id","in":"query","schemaId":"schema_99"},{"name":"limit","in":"query","schemaId":"schema_100"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/transactions","href":"online-transactions/basic.gettransactions","openApiOperationId":"basic.getTransactions","summary":"Get online transactions for the logged-in user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_101"}},"schemaId":"schema_101"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_before_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_after_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_limit"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1me~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_101","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_101"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.gettransactions"}],"panels":[]}]},"httpPath":"/api/v1/me/transactions"},{"label":"Create a new online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.createtransaction","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.createtransaction","metadata":{"seo":{"title":"Create a new online transaction","description":"A request to this endpoint must be preceded by a call to/charge with the price of the goods specified in price."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.createTransaction","name":"Create a new online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1transactions/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a new online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A request to this endpoint must be preceded by a call to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/charge"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with the price of the goods specified in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1me~1transactions/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_102"}},"schemaId":"schema_102","pointer":"/paths/~1api~1v1~1me~1transactions/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/me/transactions","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_102"}},"responseCodes":["201","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/transactions","href":"online-transactions/basic.createtransaction","openApiOperationId":"basic.createTransaction","summary":"Create a new online transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_102","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_102"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_calc_version"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge_seller"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_calc_version"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"negative_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1me~1transactions/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.createtransaction"}],"panels":[]}]},"httpPath":"/api/v1/me/transactions"},{"label":"Create a new online transaction with both users","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.createandjointransaction","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.createandjointransaction","metadata":{"seo":{"title":"Create a new online transaction with both users","description":"This endpoint is an optimised call that allows a transaction tobe created and joined in a single request. It requires the useridentified by join_user_id to have granted thebasic_tx:offline_create_join scope to the client that isperforming the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.createAndJoinTransaction","name":"Create a new online transaction with both users","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1transactions~1create_and_join/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a new online transaction with both users","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint is an optimised call that allows a transaction to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be created and joined in a single request. It requires the user"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"identified by "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"join_user_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to have granted the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"basic_tx:offline_create_join"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client that is"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1me~1transactions~1create_and_join/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_103"}},"schemaId":"schema_103","pointer":"/paths/~1api~1v1~1me~1transactions~1create_and_join/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/me/transactions/create_and_join","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_103"}},"responseCodes":["201","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/transactions/create_and_join","href":"online-transactions/basic.createandjointransaction","openApiOperationId":"basic.createAndJoinTransaction","summary":"Create a new online transaction with both users","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_103","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_103"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_join_user_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"duplicate_user_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The user specified by"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"join_user_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is the user making the request."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_calc_version"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge_seller"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"user_not_owned_by_client"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_calc_version"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"negative_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"user_already_joined"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_cancelled"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"feature_not_found"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_combination"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The provided payment method, charge config and currency combination isn't supported."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1me~1transactions~1create_and_join/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.createandjointransaction"}],"panels":[]}]},"httpPath":"/api/v1/me/transactions/create_and_join"},{"label":"Create a new online transaction with both users","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.createtransactionwithguestuser","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.createtransactionwithguestuser","metadata":{"seo":{"title":"Create a new online transaction with both users","description":"This endpoint is an optimised call that allows a transaction tobe created and joined in a single request. It requires theonline user to have granted the basic_tx:offline_create_join scopeto the client that is performing the request.This endpoint allows creating a transaction with both buyer and selleras guest or full users, or one party to be guest user and the other full user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.createTransactionWithGuestUser","name":"Create a new online transaction with both users","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1transactions~1create_with_guest_user/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a new online transaction with both users","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint is an optimised call that allows a transaction to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be created and joined in a single request. It requires the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"online user to have granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"basic_tx:offline_create_join"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"to the client that is performing the request."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint allows creating a transaction with both buyer and seller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"as guest or full users, or one party to be guest user and the other full user."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1me~1transactions~1create_with_guest_user/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_104"}},"schemaId":"schema_104","pointer":"/paths/~1api~1v1~1me~1transactions~1create_with_guest_user/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/me/transactions/create_with_guest_user","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_104"}},"responseCodes":["201","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/transactions/create_with_guest_user","href":"online-transactions/basic.createtransactionwithguestuser","openApiOperationId":"basic.createTransactionWithGuestUser","summary":"Create a new online transaction with both users"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_104","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_104"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_calc_version"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge_seller"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_calc_version"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"negative_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incompatible_countries"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_role"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"no_guest_user"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"guest_user_not_found"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_combination"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The provided payment method, charge config and currency combination isn't supported."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_image_url"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"image_url_too_long"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1me~1transactions~1create_with_guest_user/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.createtransactionwithguestuser"}],"panels":[]}]},"httpPath":"/api/v1/me/transactions/create_with_guest_user"},{"label":"Get an online transaction using a join code","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.gettransactionbyjoincode","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.gettransactionbyjoincode","metadata":{"seo":{"title":"Get an online transaction using a join code","description":"Get an online transaction using a join code"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getTransactionByJoinCode","name":"Get an online transaction using a join code","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get an online transaction using a join code","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"join_code","in":"query","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[{"name":"join_code","in":"query","required":true,"schemaId":"schema_84"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions","href":"online-transactions/basic.gettransactionbyjoincode","openApiOperationId":"basic.getTransactionByJoinCode","summary":"Get an online transaction using a join code","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"join_code_missing"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.gettransactionbyjoincode"}],"panels":[]}]},"httpPath":"/api/v1/transactions"},{"label":"Join an online transaction using a join code","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.jointransaction","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.jointransaction","metadata":{"seo":{"title":"Join an online transaction using a join code","description":"A transaction can't be joined using its ID, because only the buyer and seller of a transaction can access a transaction using its ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.joinTransaction","name":"Join an online transaction using a join code","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Join an online transaction using a join code","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"A transaction can't be joined using its ID, because only the\nbuyer and seller of a transaction can access a transaction using\nits ID.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"join_code","in":"query","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1transactions/put/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/api/v1/transactions","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[{"name":"join_code","in":"query","required":true,"schemaId":"schema_84"}],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions","href":"online-transactions/basic.jointransaction","openApiOperationId":"basic.joinTransaction","summary":"Join an online transaction using a join code","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"join_code_missing"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions/put/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.jointransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions"},{"label":"Get an online transaction by its ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.gettransaction","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.gettransaction","metadata":{"seo":{"title":"Get an online transaction by its ID","description":"Get an online transaction by its ID"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getTransaction","name":"Get an online transaction by its ID","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get an online transaction by its ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}","href":"online-transactions/basic.gettransaction","openApiOperationId":"basic.getTransaction","summary":"Get an online transaction by its ID","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.gettransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}"},{"label":"Claim online transaction on behalf of the buyer","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.claimtransactionforbuyer","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.claimtransactionforbuyer","metadata":{"seo":{"title":"Claim online transaction on behalf of the buyer","description":"This endpoint enables a client to claim an online transaction on behalf of a buyer. This endpoint is only accessible for a client."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.claimTransactionForBuyer","name":"Claim online transaction on behalf of the buyer","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1claim_for_buyer/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Claim online transaction on behalf of the buyer","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint enables a client to claim an online transaction on behalf of a buyer.\nThis endpoint is only accessible for a client.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1claim_for_buyer/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1claim_for_buyer/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/claim_for_buyer","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/claim_for_buyer","href":"online-transactions/basic.claimtransactionforbuyer","openApiOperationId":"basic.claimTransactionForBuyer","summary":"Claim online transaction on behalf of the buyer"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_claimed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cannot_claim_own_transaction"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1claim_for_buyer/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.claimtransactionforbuyer"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/claim_for_buyer"},{"label":"Claim online transactions on behalf of the seller","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.claimtransactionforseller","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.claimtransactionforseller","metadata":{"seo":{"title":"Claim online transactions on behalf of the seller","description":"This endpoint enables a client to claim an online transaction on behalf of a seller. This endpoint is only accessible for a client."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.claimTransactionForSeller","name":"Claim online transactions on behalf of the seller","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1claim_for_seller/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Claim online transactions on behalf of the seller","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint enables a client to claim an online transaction on behalf of a seller.\nThis endpoint is only accessible for a client.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1claim_for_seller/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1claim_for_seller/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/claim_for_seller","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/claim_for_seller","href":"online-transactions/basic.claimtransactionforseller","openApiOperationId":"basic.claimTransactionForSeller","summary":"Claim online transactions on behalf of the seller"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_claimed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cannot_claim_own_transaction"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1claim_for_seller/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.claimtransactionforseller"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/claim_for_seller"},{"label":"Submit a detailed order issue for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.submitorderissue","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.submitorderissue","metadata":{"seo":{"title":"Submit a detailed order issue for this online transaction","description":"Submit a detailed order issue for this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.submitOrderIssue","name":"Submit a detailed order issue for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1submit_order_issue/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Submit a detailed order issue for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1submit_order_issue/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_106"}},"schemaId":"schema_106","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1submit_order_issue/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/submit_order_issue","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_106"}},"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/submit_order_issue","href":"online-transactions/basic.submitorderissue","openApiOperationId":"basic.submitOrderIssue","summary":"Submit a detailed order issue for this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_106","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_106"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"delivery_already_set"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_not_added"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1submit_order_issue/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.submitorderissue"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/submit_order_issue"},{"label":"Claim for an online transaction as buyer given a claim secret","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.claimasbuyer","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.claimasbuyer","metadata":{"seo":{"title":"Claim for an online transaction as buyer given a claim secret","description":"This endpoint allows a full user to claim for a transaction as buyer given a claim secret."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.claimAsBuyer","name":"Claim for an online transaction as buyer given a claim secret","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions_by_claim_secret~1{secret}~1claim_as_buyer/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Claim for an online transaction as buyer given a claim secret","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint allows a full user to claim for a transaction\nas buyer given a claim secret.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"secret","in":"path","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1transactions_by_claim_secret~1{secret}~1claim_as_buyer/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions_by_claim_secret/{secret}/claim_as_buyer","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"secret","in":"path","required":true,"schemaId":"schema_84"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions_by_claim_secret/{secret}/claim_as_buyer","href":"online-transactions/basic.claimasbuyer","openApiOperationId":"basic.claimAsBuyer","summary":"Claim for an online transaction as buyer given a claim secret"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_claimed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cannot_claim_own_transaction"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_secret"},"children":[]}]}]}]}]},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions_by_claim_secret~1{secret}~1claim_as_buyer/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.claimasbuyer"}],"panels":[]}]},"httpPath":"/api/v1/transactions_by_claim_secret/{secret}/claim_as_buyer"},{"label":"Claim an Online transaction as the seller","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-transactions/basic.claimtransactionasseller","routeSlug":"/apis/v1.0/openapi/online-transactions/basic.claimtransactionasseller","metadata":{"seo":{"title":"Claim an Online transaction as the seller","description":"This endpoint allows a full user to claim a transaction as seller given a claim secret."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.claimTransactionAsSeller","name":"Claim an Online transaction as the seller","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions_by_claim_secret~1{secret}~1claim_as_seller/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Claim an Online transaction as the seller","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint allows a full user to claim a transaction\nas seller given a claim secret.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"secret","in":"path","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1transactions_by_claim_secret~1{secret}~1claim_as_seller/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions_by_claim_secret/{secret}/claim_as_seller","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"secret","in":"path","required":true,"schemaId":"schema_84"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions_by_claim_secret/{secret}/claim_as_seller","href":"online-transactions/basic.claimtransactionasseller","openApiOperationId":"basic.claimTransactionAsSeller","summary":"Claim an Online transaction as the seller"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_secret"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_claimed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cannot_claim_own_transaction"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_user_platform"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions_by_claim_secret~1{secret}~1claim_as_seller/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-transactions/basic.claimtransactionasseller"}],"panels":[]}]},"httpPath":"/api/v1/transactions_by_claim_secret/{secret}/claim_as_seller"}],"content":{"contentType":"group","meta":{"name":"Online Transactions"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Online Transactions","showPageActions":true},{"nodeType":"markdoc","content":"Online transactions are used when the goods are delivered using registered\nmail."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/batch/transactions","summary":"Get multiple online transactions by their IDs","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-transactions/basic.gettransactionsbyids","deprecated":false},{"title":"/api/v1/me/transactions","summary":"Get online transactions for the logged-in user","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-transactions/basic.gettransactions","deprecated":false},{"title":"/api/v1/me/transactions","summary":"Create a new online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-transactions/basic.createtransaction","deprecated":false},{"title":"/api/v1/me/transactions/create_and_join","summary":"Create a new online transaction with both users","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-transactions/basic.createandjointransaction","deprecated":false},{"title":"/api/v1/me/transactions/create_with_guest_user","summary":"Create a new online transaction with both users","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-transactions/basic.createtransactionwithguestuser","deprecated":false},{"title":"/api/v1/transactions","summary":"Get an online transaction using a join code","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-transactions/basic.gettransactionbyjoincode","deprecated":false},{"title":"/api/v1/transactions","summary":"Join an online transaction using a join code","prefix":{"name":"put","color":"put"},"badges":[],"link":"/online-transactions/basic.jointransaction","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}","summary":"Get an online transaction by its ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-transactions/basic.gettransaction","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/claim_for_buyer","summary":"Claim online transaction on behalf of the buyer","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-transactions/basic.claimtransactionforbuyer","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/claim_for_seller","summary":"Claim online transactions on behalf of the seller","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-transactions/basic.claimtransactionforseller","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/submit_order_issue","summary":"Submit a detailed order issue for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-transactions/basic.submitorderissue","deprecated":false},{"title":"/api/v1/transactions_by_claim_secret/{secret}/claim_as_buyer","summary":"Claim for an online transaction as buyer given a claim secret","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-transactions/basic.claimasbuyer","deprecated":false},{"title":"/api/v1/transactions_by_claim_secret/{secret}/claim_as_seller","summary":"Claim an Online transaction as the seller","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-transactions/basic.claimtransactionasseller","deprecated":false}]}]}]}]}},{"type":"group","label":"Online Payment","link":"/apis/v1.0/openapi/online-payment","routeSlug":"/apis/v1.0/openapi/online-payment","items":[{"label":"Get the Trustap fee for an online transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-payment/basic.getcharge","routeSlug":"/apis/v1.0/openapi/online-payment/basic.getcharge","metadata":{"seo":{"title":"Get the Trustap fee for an online transaction","description":"This returns the Trustap fee, in the currency's smallest unit,for a transaction involving goods with the supplied price. Seethe Stripedocumentationfor more details."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getCharge","name":"Get the Trustap fee for an online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1charge/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the Trustap fee for an online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This returns the Trustap fee, in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"'s smallest unit,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for a transaction involving goods with the supplied "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". See"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://stripe.com/docs/currencies#zero-decimal"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the Stripe"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"documentation"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for more details."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"currency","in":"query","schemaId":"schema_84","description":"The currency that the `price` is specified in.\n","required":true},{"name":"price","in":"query","schemaId":"schema_105","description":"The price of the goods being sold in this transaction, in\nthe `currency`'s smallest unit. For example, if a trading\ncard is being sold for $12.34 (with `currency` as `usd`),\nthen the request for the charge for this transaction would\nbe `/charge?price=1234&currency=usd`.\n","required":true},{"name":"quantity","in":"query","schemaId":"schema_105","description":"Deprecated.\n"},{"name":"payment_method","in":"query","schemaId":"schema_84","description":"The payment method that will be used to pay for the\ntransaction. This is necessary because different payment\nmethods may result in different fees.\n\nThe default value is `card`.\n"},{"name":"use_hr_post","in":"query","schemaId":"schema_107"},{"name":"postage_fee","in":"query","schemaId":"schema_105","description":"The custom `postage_fee` for the transaction."},{"name":"charge_config","in":"query","schemaId":"schema_108","description":"The charge config for which the charge amount is computed.\n"}],"pointer":"/paths/~1api~1v1~1charge/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/charge","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[{"name":"currency","in":"query","required":true,"schemaId":"schema_84"},{"name":"price","in":"query","required":true,"schemaId":"schema_105"},{"name":"quantity","in":"query","required":false,"schemaId":"schema_105"},{"name":"payment_method","in":"query","required":false,"schemaId":"schema_84"},{"name":"use_hr_post","in":"query","required":false,"schemaId":"schema_107"},{"name":"postage_fee","in":"query","required":false,"schemaId":"schema_105"},{"name":"charge_config","in":"query","required":false,"schemaId":"schema_108"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/charge","href":"online-payment/basic.getcharge","openApiOperationId":"basic.getCharge","summary":"Get the Trustap fee for an online transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Charge"}},"schemaId":"components/schemas/basic.Charge"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency_missing"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"negative_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_combination"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The provided payment method, charge config and currency combination isn't supported."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1charge/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Charge","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Charge"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-payment/basic.getcharge"}],"panels":[]}]},"httpPath":"/api/v1/charge"},{"label":"Update the description, currency, price and/or charge of an online transaction","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-payment/updatetransaction","routeSlug":"/apis/v1.0/openapi/online-payment/updatetransaction","metadata":{"seo":{"title":"Update the description, currency, price and/or charge of an online transaction","description":"Update the description, currency, price and/or charge of an online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateTransaction","name":"Update the description, currency, price and/or charge of an online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update the description, currency, price and/or charge of an online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_109"}},"schemaId":"schema_109","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/api/v1/transactions/{transaction_id}","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_109"}},"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}","href":"online-payment/updatetransaction","openApiOperationId":"updateTransaction","summary":"Update the description, currency, price and/or charge of an online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_109","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_109"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"second_party_already_joined"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"values_not_changed"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}/patch/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-payment/updatetransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}"},{"label":"Enable the seller to accept payment for an online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-payment/basic.acceptpayment","routeSlug":"/apis/v1.0/openapi/online-payment/basic.acceptpayment","metadata":{"seo":{"title":"Enable the seller to accept payment for an online transaction","description":"This endpoint lets the seller accept payment and is accessible only if the sellerhas granted a feature require_seller_acceptance.Offline access is allowed for this endpoint when the user hasgranted the basic_tx:offline_accept_payment scope to the clientthat is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.acceptPayment","name":"Enable the seller to accept payment for an online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_payment/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Enable the seller to accept payment for an online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint lets the seller accept payment and is accessible only if the seller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"has granted a feature "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"require_seller_acceptance"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"basic_tx:offline_accept_payment"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_payment/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_payment/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/accept_payment","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/accept_payment","href":"online-payment/basic.acceptpayment","openApiOperationId":"basic.acceptPayment","summary":"Enable the seller to accept payment for an online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_required_feature"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_already_accepted"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transaction_not_paid_yet"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_payment/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-payment/basic.acceptpayment"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/accept_payment"},{"label":"Enable payment acceptance for the seller using `Trustap-User` for an online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-payment/basic.acceptpaymentwithguestseller","routeSlug":"/apis/v1.0/openapi/online-payment/basic.acceptpaymentwithguestseller","metadata":{"seo":{"title":"Enable payment acceptance for the seller using `Trustap-User` for an online transaction","description":"This endpoint allows payment acceptance for the seller specified in theheader as Trustap-User."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.acceptPaymentWithGuestSeller","name":"Enable payment acceptance for the seller using `Trustap-User` for an online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_payment_with_guest_seller/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Enable payment acceptance for the seller using `Trustap-User` for an online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint allows payment acceptance for the seller specified in the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"header as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Trustap-User"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_payment_with_guest_seller/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_payment_with_guest_seller/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/accept_payment_with_guest_seller","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/accept_payment_with_guest_seller","href":"online-payment/basic.acceptpaymentwithguestseller","openApiOperationId":"basic.acceptPaymentWithGuestSeller","summary":"Enable payment acceptance for the seller using `Trustap-User` for an online transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_required_feature"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_already_accepted"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_shippo_shipping_rate_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transaction_not_paid_yet"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_payment_with_guest_seller/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-payment/basic.acceptpaymentwithguestseller"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/accept_payment_with_guest_seller"},{"label":"Get bank transfer details for an online transaction which payment method is `bank_transfer`\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-payment/basic.getbanktransferdetails","routeSlug":"/apis/v1.0/openapi/online-payment/basic.getbanktransferdetails","metadata":{"seo":{"title":"Get bank transfer details for an online transaction which payment method is `bank_transfer`\n","description":"Get bank transfer details for an online transaction which payment method is `bank_transfer`\n"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getBankTransferDetails","name":"Get bank transfer details for an online transaction which payment method is `bank_transfer`\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1bank_transfer_details/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get bank transfer details for an online transaction which payment method is `bank_transfer`\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1bank_transfer_details/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}/bank_transfer_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/bank_transfer_details","href":"online-payment/basic.getbanktransferdetails","openApiOperationId":"basic.getBankTransferDetails","summary":"Get bank transfer details for an online transaction which payment method is `bank_transfer`\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.BankTransferDetails"}},"schemaId":"components/schemas/basic.BankTransferDetails"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_method_not_bank_transfer"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"paid_with_balance"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A transaction with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"paid_with_balance"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" error code means that the buyer's payment was already paid using their Trustap balance, so there are no bank transfer details to provide."},"children":[]}]}]}]}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1bank_transfer_details/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.BankTransferDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.BankTransferDetails"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-payment/basic.getbanktransferdetails"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/bank_transfer_details"},{"label":"Get the Trustap fee for an online transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-payment/basic.getchargefortransaction","routeSlug":"/apis/v1.0/openapi/online-payment/basic.getchargefortransaction","metadata":{"seo":{"title":"Get the Trustap fee for an online transaction","description":"This returns the Trustap fee, in the currency's smallest unit,for a transaction involving goods with the supplied price. Seethe Stripedocumentationfor more details."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getChargeForTransaction","name":"Get the Trustap fee for an online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1charge/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the Trustap fee for an online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This returns the Trustap fee, in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"'s smallest unit,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for a transaction involving goods with the supplied "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". See"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://stripe.com/docs/currencies#zero-decimal"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the Stripe"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"documentation"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for more details."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1charge/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"price","in":"query","schemaId":"schema_105","description":"The price of the goods being sold in this transaction, in\nthe `currency`'s smallest unit. For example, if a trading\ncard is being sold for $12.34 (with `currency` as `usd`),\nthen the request for the charge for this transaction would\nbe `/charge?price=1234&currency=usd`.\n","required":true},{"name":"quantity","in":"query","schemaId":"schema_105","description":"Deprecated.\n"},{"name":"payment_method","in":"query","schemaId":"schema_84","description":"The payment method that will be used to pay for the\ntransaction. This is necessary because different payment\nmethods may result in different fees.\n\nThe default value is `card`.\n"},{"name":"charge_config","in":"query","schemaId":"schema_105","description":"The charge config for which the charge amount is computed.\n"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1charge/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}/charge","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[{"name":"price","in":"query","required":true,"schemaId":"schema_105"},{"name":"quantity","in":"query","required":false,"schemaId":"schema_105"},{"name":"payment_method","in":"query","required":false,"schemaId":"schema_84"},{"name":"charge_config","in":"query","required":false,"schemaId":"schema_105"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/charge","href":"online-payment/basic.getchargefortransaction","openApiOperationId":"basic.getChargeForTransaction","summary":"Get the Trustap fee for an online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Charge"}},"schemaId":"components/schemas/basic.Charge"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_payment_method"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency_missing"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"negative_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_combination"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The provided payment method, charge config and currency combination isn't supported."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1charge/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Charge","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Charge"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-payment/basic.getchargefortransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/charge"},{"label":"Set the payment method to be used for this online transaction\n","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-payment/basic.setpaymentmethodfortransaction","routeSlug":"/apis/v1.0/openapi/online-payment/basic.setpaymentmethodfortransaction","metadata":{"seo":{"title":"Set the payment method to be used for this online transaction\n","description":"Different payment methods incur different rates, so the paymentmethod to be used for a transaction must be set before thepayment is made. This requires retrieving the charge associatedwith the payment method usingGET /transactions/{transaction_id}/charge, and passing thegenerated charge as a parameter to this endpoint."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.setPaymentMethodForTransaction","name":"Set the payment method to be used for this online transaction\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1set_payment_method/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set the payment method to be used for this online transaction\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Different payment methods incur different rates, so the payment"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"method to be used for a transaction must be set before the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"payment is made. This requires retrieving the charge associated"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"with the payment method using"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /transactions/{transaction_id}/charge"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", and passing the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"generated charge as a parameter to this endpoint."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1set_payment_method/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_110"}},"schemaId":"schema_110","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1set_payment_method/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/set_payment_method","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_110"}},"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/set_payment_method","href":"online-payment/basic.setpaymentmethodfortransaction","openApiOperationId":"basic.setPaymentMethodForTransaction","summary":"Set the payment method to be used for this online transaction\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_110","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_110"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_payment_method"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency_missing"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge_seller"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_combination"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The provided payment method, charge config and currency combination isn't supported."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_method_already_set"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The specified payment method and charge configuration are already set."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1set_payment_method/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-payment/basic.setpaymentmethodfortransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/set_payment_method"}],"content":{"contentType":"group","meta":{"name":"Online Payment"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Online Payment","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/charge","summary":"Get the Trustap fee for an online transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-payment/basic.getcharge","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}","summary":"Update the description, currency, price and/or charge of an online transaction","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/online-payment/updatetransaction","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/accept_payment","summary":"Enable the seller to accept payment for an online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-payment/basic.acceptpayment","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/accept_payment_with_guest_seller","summary":"Enable payment acceptance for the seller using `Trustap-User` for an online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-payment/basic.acceptpaymentwithguestseller","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/bank_transfer_details","summary":"Get bank transfer details for an online transaction which payment method is `bank_transfer`\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-payment/basic.getbanktransferdetails","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/charge","summary":"Get the Trustap fee for an online transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-payment/basic.getchargefortransaction","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/set_payment_method","summary":"Set the payment method to be used for this online transaction\n","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-payment/basic.setpaymentmethodfortransaction","deprecated":false}]}]}]}]}},{"type":"group","label":"Online Shipping","link":"/apis/v1.0/openapi/online-shipping","routeSlug":"/apis/v1.0/openapi/online-shipping","items":[{"label":"Get the list of Shippo shipping rates available","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.getshipposhippingrates","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.getshipposhippingrates","metadata":{"seo":{"title":"Get the list of Shippo shipping rates available","description":"This returns the list of Shippo shipping rates available for the addreses provided i.e sender's address and recipient's address."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getShippoShippingRates","name":"Get the list of Shippo shipping rates available","isWebhook":false,"pointer":"/paths/~1api~1v1~1shippo_shipping_rates/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the list of Shippo shipping rates available","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This returns the list of Shippo shipping rates available\nfor the addreses provided i.e sender's address and recipient's\naddress.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_111"}},"schemaId":"schema_111","pointer":"/paths/~1api~1v1~1shippo_shipping_rates/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/shippo_shipping_rates","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_111"}},"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/shippo_shipping_rates","href":"online-shipping/basic.getshipposhippingrates","openApiOperationId":"basic.getShippoShippingRates","summary":"Get the list of Shippo shipping rates available","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_111","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_111"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.ShippoShippingRatesResponse"}},"schemaId":"components/schemas/basic.ShippoShippingRatesResponse"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_shipment_details"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1shippo_shipping_rates/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.ShippoShippingRatesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.ShippoShippingRatesResponse"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.getshipposhippingrates"}],"panels":[]}]},"httpPath":"/api/v1/shippo_shipping_rates"},{"label":"Get the supported carriers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/getsupportedcarriers","routeSlug":"/apis/v1.0/openapi/online-shipping/getsupportedcarriers","metadata":{"seo":{"title":"Get the supported carriers","description":"This returns the carriers that are currently supported forautomated tracking in the online model. The carrier nameshould be shown to users but the code should be submitted tothe /track endpoint when submitting tracking details.Likewise, when showing a transaction to the user, the carrierfield stored with the transaction should be used to index thesecarriers and show the human-readable name of the carrier to theuser, if this index is found."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getSupportedCarriers","name":"Get the supported carriers","isWebhook":false,"pointer":"/paths/~1api~1v1~1supported_carriers/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the supported carriers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This returns the carriers that are currently supported for"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"automated tracking in the online model. The carrier "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"name"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"should be shown to users but the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" should be submitted to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/track"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" endpoint when submitting tracking details."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Likewise, when showing a transaction to the user, the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"carrier"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"field stored with the transaction should be used to index these"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"carriers and show the human-readable name of the carrier to the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"user, if this index is found."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/supported_carriers","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/supported_carriers","href":"online-shipping/getsupportedcarriers","openApiOperationId":"getSupportedCarriers","summary":"Get the supported carriers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_112"}},"schemaId":"schema_112"}],"pointer":"/paths/~1api~1v1~1supported_carriers/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_112","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_112"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/getsupportedcarriers"}],"panels":[]}]},"httpPath":"/api/v1/supported_carriers"},{"label":"Confirm delivery for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.confirmdelivery","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.confirmdelivery","metadata":{"seo":{"title":"Confirm delivery for this online transaction","description":"This endpoint allows the buyer to manually confirm the delivery of the item in the case that the state of the transaction was not updated asynchronously by Trustap."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.confirmDelivery","name":"Confirm delivery for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1confirm_delivery/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Confirm delivery for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint allows the buyer to manually confirm the delivery of the\nitem in the case that the state of the transaction was not updated\nasynchronously by Trustap.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1confirm_delivery/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/confirm_delivery","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/confirm_delivery","href":"online-shipping/basic.confirmdelivery","openApiOperationId":"basic.confirmDelivery","summary":"Confirm delivery for this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_not_added"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"delivery_already_set"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1confirm_delivery/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.confirmdelivery"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/confirm_delivery"},{"label":"Confirm delivery for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.confirmdeliverywithguestbuyer","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.confirmdeliverywithguestbuyer","metadata":{"seo":{"title":"Confirm delivery for this online transaction","description":"This endpoint allows the client to manually confirm the deliveryon behalf of the guest buyer specified in the header as Trustap-User."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.confirmDeliveryWithGuestBuyer","name":"Confirm delivery for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1confirm_delivery_with_guest_buyer/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Confirm delivery for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint allows the client to manually confirm the delivery"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"on behalf of the guest buyer specified in the header as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Trustap-User"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1confirm_delivery_with_guest_buyer/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1confirm_delivery_with_guest_buyer/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/confirm_delivery_with_guest_buyer","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/confirm_delivery_with_guest_buyer","href":"online-shipping/basic.confirmdeliverywithguestbuyer","openApiOperationId":"basic.confirmDeliveryWithGuestBuyer","summary":"Confirm delivery for this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_not_added"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"delivery_already_set"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1confirm_delivery_with_guest_buyer/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.confirmdeliverywithguestbuyer"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/confirm_delivery_with_guest_buyer"},{"label":"Extend tracking details submission deadline for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.extendtrackingdeadlinefortransaction","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.extendtrackingdeadlinefortransaction","metadata":{"seo":{"title":"Extend tracking details submission deadline for this online transaction","description":"This endpoint allows the buyer to extend the tracking details submission deadline for the seller."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.extendTrackingDeadlineForTransaction","name":"Extend tracking details submission deadline for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1extend_tracking_deadline/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Extend tracking details submission deadline for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint allows the buyer to extend the tracking details\nsubmission deadline for the seller.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1extend_tracking_deadline/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/extend_tracking_deadline","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/extend_tracking_deadline","href":"online-shipping/basic.extendtrackingdeadlinefortransaction","openApiOperationId":"basic.extendTrackingDeadlineForTransaction","summary":"Extend tracking details submission deadline for this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_already_added"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_details_not_added"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_submission_window_not_started"},"children":[]}]}]}]}]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1extend_tracking_deadline/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400"},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.extendtrackingdeadlinefortransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/extend_tracking_deadline"},{"label":"Generate a shipment label for this online transaction's parcel","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.generateshipmentlabel","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.generateshipmentlabel","metadata":{"seo":{"title":"Generate a shipment label for this online transaction's parcel","description":"This endpoint returns a PDF containing the label for the transaction's parcel. Both sender and recipient details have to be submitted before making a call to this endpoint."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.generateShipmentLabel","name":"Generate a shipment label for this online transaction's parcel","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1generate_shipment_label/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Generate a shipment label for this online transaction's parcel","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint returns a PDF containing the label for the\ntransaction's parcel. Both sender and recipient details\nhave to be submitted before making a call to this endpoint.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1generate_shipment_label/post/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"carrier","in":"query","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1generate_shipment_label/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1generate_shipment_label/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/generate_shipment_label","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[{"name":"carrier","in":"query","required":true,"schemaId":"schema_84"}],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/generate_shipment_label","href":"online-shipping/basic.generateshipmentlabel","openApiOperationId":"basic.generateShipmentLabel","summary":"Generate a shipment label for this online transaction's parcel","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.ShipmentLabel"}},"schemaId":"components/schemas/basic.ShipmentLabel"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pick_up_details_missing"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"drop_off_details_missing"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_seller"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1generate_shipment_label/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.ShipmentLabel","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.ShipmentLabel"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.generateshipmentlabel"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/generate_shipment_label"},{"label":"Get the shipping details of the buyer from this online transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.getshippingdetailsfromtransaction","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.getshippingdetailsfromtransaction","metadata":{"seo":{"title":"Get the shipping details of the buyer from this online transaction","description":"Get the shipping details of the buyer from this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getShippingDetailsFromTransaction","name":"Get the shipping details of the buyer from this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shipping_details/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the shipping details of the buyer from this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shipping_details/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}/shipping_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/shipping_details","href":"online-shipping/basic.getshippingdetailsfromtransaction","openApiOperationId":"basic.getShippingDetailsFromTransaction","summary":"Get the shipping details of the buyer from this online transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ShippingDetails"}},"schemaId":"components/schemas/ShippingDetails"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shipping_details/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ShippingDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ShippingDetails"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.getshippingdetailsfromtransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/shipping_details"},{"label":"Post the shipping details of the buyer from this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.setshippingdetails","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.setshippingdetails","metadata":{"seo":{"title":"Post the shipping details of the buyer from this online transaction","description":"Post the shipping details of the buyer from this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.setShippingDetails","name":"Post the shipping details of the buyer from this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shipping_details/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Post the shipping details of the buyer from this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shipping_details/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_113"}},"schemaId":"schema_113","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shipping_details/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/shipping_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_113"}},"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/shipping_details","href":"online-shipping/basic.setshippingdetails","openApiOperationId":"basic.setShippingDetails","summary":"Post the shipping details of the buyer from this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_113","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_113"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ShippingDetails"}},"schemaId":"components/schemas/ShippingDetails"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"empty_name"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"empty_country"},"children":[]}]}]}]}]},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shipping_details/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ShippingDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ShippingDetails"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.setshippingdetails"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/shipping_details"},{"label":"Set the sender's or recipient's address for Shippo shipment","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.setshippoaddress","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.setshippoaddress","metadata":{"seo":{"title":"Set the sender's or recipient's address for Shippo shipment","description":"Set the sender's or recipient's address for Shippo shipment"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.setShippoAddress","name":"Set the sender's or recipient's address for Shippo shipment","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_address/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set the sender's or recipient's address for Shippo shipment","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_address/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_address/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_114"}},"schemaId":"schema_114","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_address/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/shippo_address","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_114"}},"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/shippo_address","href":"online-shipping/basic.setshippoaddress","openApiOperationId":"basic.setShippoAddress","summary":"Set the sender's or recipient's address for Shippo shipment"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_114","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_114"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.ShippoAddress"}},"schemaId":"components/schemas/basic.ShippoAddress"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_tx_feature"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_address/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.ShippoAddress","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.ShippoAddress"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.setshippoaddress"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/shippo_address"},{"label":"Send a customs declaration for this online transaction's shipment","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.setshippocustomsdeclaration","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.setshippocustomsdeclaration","metadata":{"seo":{"title":"Send a customs declaration for this online transaction's shipment","description":"Send a customs declaration for this online transaction's shipment"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.setShippoCustomsDeclaration","name":"Send a customs declaration for this online transaction's shipment","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_customs_declaration/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send a customs declaration for this online transaction's shipment","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_customs_declaration/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_customs_declaration/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_115"}},"schemaId":"schema_115","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_customs_declaration/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/shippo_customs_declaration","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_115"}},"responseCodes":["204","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/shippo_customs_declaration","href":"online-shipping/basic.setshippocustomsdeclaration","openApiOperationId":"basic.setShippoCustomsDeclaration","summary":"Send a customs declaration for this online transaction's shipment"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_115","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_115"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_tx_feature"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"customs_declaration_already_submitted"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"nothing_to_declare"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_customs_declaration/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.setshippocustomsdeclaration"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/shippo_customs_declaration"},{"label":"Set Shippo parcel details for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.setshippoparceldetails","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.setshippoparceldetails","metadata":{"seo":{"title":"Set Shippo parcel details for this online transaction","description":"Set Shippo parcel details for this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.setShippoParcelDetails","name":"Set Shippo parcel details for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_parcel_details/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set Shippo parcel details for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_parcel_details/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_parcel_details/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_116"}},"schemaId":"schema_116","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_parcel_details/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/shippo_parcel_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_116"}},"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/shippo_parcel_details","href":"online-shipping/basic.setshippoparceldetails","openApiOperationId":"basic.setShippoParcelDetails","summary":"Set Shippo parcel details for this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_116","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_116"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.ShippoParcel"}},"schemaId":"components/schemas/basic.ShippoParcel"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_tx_feature"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"wrong_shipment_date_format"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_parcel_details/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.ShippoParcel","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.ShippoParcel"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.setshippoparceldetails"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/shippo_parcel_details"},{"label":"Get Shippo generated label details for this online transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.getshipposhippinglabel","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.getshipposhippinglabel","metadata":{"seo":{"title":"Get Shippo generated label details for this online transaction","description":"Get Shippo generated label details for this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getShippoShippingLabel","name":"Get Shippo generated label details for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_label/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Shippo generated label details for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_label/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_label/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}/shippo_shipping_label","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/shippo_shipping_label","href":"online-shipping/basic.getshipposhippinglabel","openApiOperationId":"basic.getShippoShippingLabel","summary":"Get Shippo generated label details for this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ShippoLabelDetails"}},"schemaId":"components/schemas/ShippoLabelDetails"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transaction_not_tracked"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_label/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ShippoLabelDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ShippoLabelDetails"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.getshipposhippinglabel"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/shippo_shipping_label"},{"label":"Set Shippo shipping rate for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.setshipposhippingrate","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.setshipposhippingrate","metadata":{"seo":{"title":"Set Shippo shipping rate for this online transaction","description":"Set Shippo shipping rate for the transaction. This rate will be used to purchase the Shippo label once the transaction is paid. Shipment ID can be provided as an optional parameter, depending on the flow which is used to obtain it."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.setShippoShippingRate","name":"Set Shippo shipping rate for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_rate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set Shippo shipping rate for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Set Shippo shipping rate for the transaction.\nThis rate will be used to purchase the Shippo label once the\ntransaction is paid. Shipment ID can be provided as an optional parameter,\ndepending on the flow which is used to obtain it.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_rate/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_rate/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_117"}},"schemaId":"schema_117","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_rate/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/shippo_shipping_rate","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_117"}},"responseCodes":["204","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/shippo_shipping_rate","href":"online-shipping/basic.setshipposhippingrate","openApiOperationId":"basic.setShippoShippingRate","summary":"Set Shippo shipping rate for this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_117","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_117"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_tx_feature"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_rate/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.setshipposhippingrate"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/shippo_shipping_rate"},{"label":"Get Shippo shipping rates based on the sender's and recipient's address and parcel details","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.getshipposhippingratesfortransaction","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.getshipposhippingratesfortransaction","metadata":{"seo":{"title":"Get Shippo shipping rates based on the sender's and recipient's address and parcel details","description":"Get Shippo shipping rates based on the sender's and recipient's address and parcel details"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getShippoShippingRatesForTransaction","name":"Get Shippo shipping rates based on the sender's and recipient's address and parcel details","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_rates/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Shippo shipping rates based on the sender's and recipient's address and parcel details","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_rates/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_rates/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}/shippo_shipping_rates","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/shippo_shipping_rates","href":"online-shipping/basic.getshipposhippingratesfortransaction","openApiOperationId":"basic.getShippoShippingRatesForTransaction","summary":"Get Shippo shipping rates based on the sender's and recipient's address and parcel details"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_118"}},"schemaId":"schema_118"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_tx_feature"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_shipment_details"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"customs_declaration_required"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1shippo_shipping_rates/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_118","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_118"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.getshipposhippingratesfortransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/shippo_shipping_rates"},{"label":"Set postal tracking details for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.tracktransaction","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.tracktransaction","metadata":{"seo":{"title":"Set postal tracking details for this online transaction","description":"After the tracking information has been submitted then the stateof the transaction will be updated asynchronously by Trustaponce the delivery of the item has been confirmed, at which pointthe delivered field of the transaction will be set.Offline access is allowed for this endpoint when the user hasgranted the basic_tx:offline_track scope to the clientthat is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.trackTransaction","name":"Set postal tracking details for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1track/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set postal tracking details for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"After the tracking information has been submitted then the state"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"of the transaction will be updated asynchronously by Trustap"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"once the delivery of the item has been confirmed, at which point"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"delivered"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field of the transaction will be set."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"basic_tx:offline_track"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1track/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1track/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_119"}},"schemaId":"schema_119","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1track/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/track","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_119"}},"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/track","href":"online-shipping/basic.tracktransaction","openApiOperationId":"basic.trackTransaction","summary":"Set postal tracking details for this online transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_119","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_119"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"empty_carrier"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"empty_tracking_code"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_already_added"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_details_not_added"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_details_deadline_expired"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_cancelled"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_seller"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1track/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.tracktransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/track"},{"label":"Set postal tracking details for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-shipping/basic.tracktransactionwithguestseller","routeSlug":"/apis/v1.0/openapi/online-shipping/basic.tracktransactionwithguestseller","metadata":{"seo":{"title":"Set postal tracking details for this online transaction","description":"Add tracking details for the guest seller specifiedin the header as Trustap-User."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.trackTransactionWithGuestSeller","name":"Set postal tracking details for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1track_with_guest_seller/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set postal tracking details for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Add tracking details for the guest seller specified"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"in the header as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Trustap-User"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1track_with_guest_seller/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1track_with_guest_seller/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_119"}},"schemaId":"schema_119","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1track_with_guest_seller/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/track_with_guest_seller","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_119"}},"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/track_with_guest_seller","href":"online-shipping/basic.tracktransactionwithguestseller","openApiOperationId":"basic.trackTransactionWithGuestSeller","summary":"Set postal tracking details for this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_119","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_119"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"empty_carrier"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"empty_tracking_code"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_already_added"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_details_not_added"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_details_deadline_expired"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_cancelled"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_seller"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1track_with_guest_seller/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-shipping/basic.tracktransactionwithguestseller"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/track_with_guest_seller"}],"content":{"contentType":"group","meta":{"name":"Online Shipping"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Online Shipping","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/shippo_shipping_rates","summary":"Get the list of Shippo shipping rates available","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.getshipposhippingrates","deprecated":false},{"title":"/api/v1/supported_carriers","summary":"Get the supported carriers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-shipping/getsupportedcarriers","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/confirm_delivery","summary":"Confirm delivery for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.confirmdelivery","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/confirm_delivery_with_guest_buyer","summary":"Confirm delivery for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.confirmdeliverywithguestbuyer","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/extend_tracking_deadline","summary":"Extend tracking details submission deadline for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.extendtrackingdeadlinefortransaction","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/generate_shipment_label","summary":"Generate a shipment label for this online transaction's parcel","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.generateshipmentlabel","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/shipping_details","summary":"Get the shipping details of the buyer from this online transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-shipping/basic.getshippingdetailsfromtransaction","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/shipping_details","summary":"Post the shipping details of the buyer from this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.setshippingdetails","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/shippo_address","summary":"Set the sender's or recipient's address for Shippo shipment","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.setshippoaddress","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/shippo_customs_declaration","summary":"Send a customs declaration for this online transaction's shipment","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.setshippocustomsdeclaration","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/shippo_parcel_details","summary":"Set Shippo parcel details for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.setshippoparceldetails","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/shippo_shipping_label","summary":"Get Shippo generated label details for this online transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-shipping/basic.getshipposhippinglabel","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/shippo_shipping_rate","summary":"Set Shippo shipping rate for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.setshipposhippingrate","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/shippo_shipping_rates","summary":"Get Shippo shipping rates based on the sender's and recipient's address and parcel details","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-shipping/basic.getshipposhippingratesfortransaction","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/track","summary":"Set postal tracking details for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.tracktransaction","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/track_with_guest_seller","summary":"Set postal tracking details for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-shipping/basic.tracktransactionwithguestseller","deprecated":false}]}]}]}]}},{"type":"group","label":"Online Complaint","link":"/apis/v1.0/openapi/online-complaint","routeSlug":"/apis/v1.0/openapi/online-complaint","items":[{"label":"Accept complaint for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-complaint/basic.acceptcomplaint","routeSlug":"/apis/v1.0/openapi/online-complaint/basic.acceptcomplaint","metadata":{"seo":{"title":"Accept complaint for this online transaction","description":"Accept complaint for this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.acceptComplaint","name":"Accept complaint for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_complaint/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Accept complaint for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_complaint/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/accept_complaint","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/accept_complaint","href":"online-complaint/basic.acceptcomplaint","openApiOperationId":"basic.acceptComplaint","summary":"Accept complaint for this online transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"funds_already_released"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_paid"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_complained"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_seller"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1accept_complaint/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-complaint/basic.acceptcomplaint"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/accept_complaint"},{"label":"Submit a detailed complaint for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-complaint/basic.submitcomplaintwithdescription","routeSlug":"/apis/v1.0/openapi/online-complaint/basic.submitcomplaintwithdescription","metadata":{"seo":{"title":"Submit a detailed complaint for this online transaction","description":"Submit a detailed complaint for this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.submitComplaintWithDescription","name":"Submit a detailed complaint for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1complain_with_description/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Submit a detailed complaint for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1complain_with_description/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Complaint"}},"schemaId":"components/schemas/Complaint","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1complain_with_description/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/complain_with_description","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Complaint"}},"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/complain_with_description","href":"online-complaint/basic.submitcomplaintwithdescription","openApiOperationId":"basic.submitComplaintWithDescription","summary":"Submit a detailed complaint for this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"components/schemas/Complaint","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Complaint"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"empty_complaint_description"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_complained"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unconfirmed_delivery"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The complaint period for"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"this transaction has not yet started."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_period_ended_prematurely"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The buyer has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"already ended the complaint period."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_period_expired"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"funds_already_released"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1complain_with_description/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-complaint/basic.submitcomplaintwithdescription"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/complain_with_description"},{"label":"Submit a detailed complaint for this online transaction for the guest buyer using `Trustap-User`","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-complaint/basic.submitcomplaintwithguestbuyer","routeSlug":"/apis/v1.0/openapi/online-complaint/basic.submitcomplaintwithguestbuyer","metadata":{"seo":{"title":"Submit a detailed complaint for this online transaction for the guest buyer using `Trustap-User`","description":"Submit a detailed complaint for this online transaction for the guest buyer using `Trustap-User`"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.submitComplaintWithGuestBuyer","name":"Submit a detailed complaint for this online transaction for the guest buyer using `Trustap-User`","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1complain_with_guest_buyer/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Submit a detailed complaint for this online transaction for the guest buyer using `Trustap-User`","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1complain_with_guest_buyer/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1complain_with_guest_buyer/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Complaint"}},"schemaId":"components/schemas/Complaint","pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1complain_with_guest_buyer/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/complain_with_guest_buyer","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Complaint"}},"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/complain_with_guest_buyer","href":"online-complaint/basic.submitcomplaintwithguestbuyer","openApiOperationId":"basic.submitComplaintWithGuestBuyer","summary":"Submit a detailed complaint for this online transaction for the guest buyer using `Trustap-User`"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"components/schemas/Complaint","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Complaint"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"empty_complaint_description"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_complained"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unconfirmed_delivery"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The complaint period for"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"this transaction has not yet started."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_period_ended_prematurely"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The buyer has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"already ended the complaint period."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_period_expired"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"funds_already_released"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1complain_with_guest_buyer/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-complaint/basic.submitcomplaintwithguestbuyer"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/complain_with_guest_buyer"},{"label":"End the complaint period for this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-complaint/basic.endcomplaintperiod","routeSlug":"/apis/v1.0/openapi/online-complaint/basic.endcomplaintperiod","metadata":{"seo":{"title":"End the complaint period for this online transaction","description":"End the complaint period for this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.endComplaintPeriod","name":"End the complaint period for this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1end_complaint_period/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"End the complaint period for this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1end_complaint_period/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/end_complaint_period","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/end_complaint_period","href":"online-complaint/basic.endcomplaintperiod","openApiOperationId":"basic.endComplaintPeriod","summary":"End the complaint period for this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_period_expired"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_complained"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_period_ended_prematurely"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unconfirmed_delivery"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The complaint period for"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"this transaction has not yet started."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1end_complaint_period/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-complaint/basic.endcomplaintperiod"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/end_complaint_period"}],"content":{"contentType":"group","meta":{"name":"Online Complaint"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Online Complaint","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/transactions/{transaction_id}/accept_complaint","summary":"Accept complaint for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-complaint/basic.acceptcomplaint","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/complain_with_description","summary":"Submit a detailed complaint for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-complaint/basic.submitcomplaintwithdescription","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/complain_with_guest_buyer","summary":"Submit a detailed complaint for this online transaction for the guest buyer using `Trustap-User`","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-complaint/basic.submitcomplaintwithguestbuyer","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/end_complaint_period","summary":"End the complaint period for this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-complaint/basic.endcomplaintperiod","deprecated":false}]}]}]}]}},{"type":"group","label":"Online Cancel","link":"/apis/v1.0/openapi/online-cancel","routeSlug":"/apis/v1.0/openapi/online-cancel","items":[{"label":"Cancel this online transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-cancel/basic.canceltransaction","routeSlug":"/apis/v1.0/openapi/online-cancel/basic.canceltransaction","metadata":{"seo":{"title":"Cancel this online transaction","description":"Transaction can be cancelled until it's paid or if the featureRequireSellerAcceptance is present, it can be cancelleduntil it's tracked.Offline access is allowed for this endpoint when the user hasgranted the basic_tx:offline_cancel scope to the clientthat is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.cancelTransaction","name":"Cancel this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1cancel/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Transaction can be cancelled until it's paid or if the feature"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"RequireSellerAcceptance"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is present, it can be cancelled"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"until it's tracked."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"basic_tx:offline_cancel"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1cancel/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1cancel/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/cancel","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/cancel","href":"online-cancel/basic.canceltransaction","openApiOperationId":"basic.cancelTransaction","summary":"Cancel this online transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_paid"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_cancelled"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_already_added"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1cancel/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-cancel/basic.canceltransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/cancel"},{"label":"Cancel this online transaction with a guest user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-cancel/basic.canceltransactionwithguestuser","routeSlug":"/apis/v1.0/openapi/online-cancel/basic.canceltransactionwithguestuser","metadata":{"seo":{"title":"Cancel this online transaction with a guest user","description":"This endpoint cancels a transaction for the user specified in the headeras Trustap-User.Transaction can be cancelled until it's paid or if the featureRequireSellerAcceptance is present, it can be cancelled until it's tracked."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.cancelTransactionWithGuestUser","name":"Cancel this online transaction with a guest user","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1cancel_with_guest_user/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel this online transaction with a guest user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint cancels a transaction for the user specified in the header"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Trustap-User"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Transaction can be cancelled until it's paid or if the feature"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"RequireSellerAcceptance"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is present, it can be cancelled until it's tracked."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1cancel_with_guest_user/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1cancel_with_guest_user/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/transactions/{transaction_id}/cancel_with_guest_user","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/cancel_with_guest_user","href":"online-cancel/basic.canceltransactionwithguestuser","openApiOperationId":"basic.cancelTransactionWithGuestUser","summary":"Cancel this online transaction with a guest user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}},"schemaId":"components/schemas/basic.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_paid"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_cancelled"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tracking_already_added"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1cancel_with_guest_user/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-cancel/basic.canceltransactionwithguestuser"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/cancel_with_guest_user"}],"content":{"contentType":"group","meta":{"name":"Online Cancel"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Online Cancel","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/transactions/{transaction_id}/cancel","summary":"Cancel this online transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-cancel/basic.canceltransaction","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/cancel_with_guest_user","summary":"Cancel this online transaction with a guest user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/online-cancel/basic.canceltransactionwithguestuser","deprecated":false}]}]}]}]}},{"type":"group","label":"Online Buyer/Seller Details","link":"/apis/v1.0/openapi/online-buyerseller-details","routeSlug":"/apis/v1.0/openapi/online-buyerseller-details","items":[{"label":"Get billing details from this online transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-buyerseller-details/basic.getbillingdetails","routeSlug":"/apis/v1.0/openapi/online-buyerseller-details/basic.getbillingdetails","metadata":{"seo":{"title":"Get billing details from this online transaction","description":"Get billing details from this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getBillingDetails","name":"Get billing details from this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1billing_details/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get billing details from this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1billing_details/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}/billing_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/billing_details","href":"online-buyerseller-details/basic.getbillingdetails","openApiOperationId":"basic.getBillingDetails","summary":"Get billing details from this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.BillingDetails"}},"schemaId":"components/schemas/basic.BillingDetails"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1billing_details/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.BillingDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.BillingDetails"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-buyerseller-details/basic.getbillingdetails"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/billing_details"},{"label":"Get details of the buyer from this online transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-buyerseller-details/basic.getbuyerdetails","routeSlug":"/apis/v1.0/openapi/online-buyerseller-details/basic.getbuyerdetails","metadata":{"seo":{"title":"Get details of the buyer from this online transaction","description":"Get details of the buyer from this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getBuyerDetails","name":"Get details of the buyer from this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1buyer_details/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get details of the buyer from this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1buyer_details/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}/buyer_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/buyer_details","href":"online-buyerseller-details/basic.getbuyerdetails","openApiOperationId":"basic.getBuyerDetails","summary":"Get details of the buyer from this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserDetails"}},"schemaId":"components/schemas/UserDetails"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1buyer_details/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserDetails"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-buyerseller-details/basic.getbuyerdetails"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/buyer_details"},{"label":"Get details of the seller from this online transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-buyerseller-details/basic.getsellerdetails","routeSlug":"/apis/v1.0/openapi/online-buyerseller-details/basic.getsellerdetails","metadata":{"seo":{"title":"Get details of the seller from this online transaction","description":"Get details of the seller from this online transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getSellerDetails","name":"Get details of the seller from this online transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1seller_details/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get details of the seller from this online transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1seller_details/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}/seller_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/seller_details","href":"online-buyerseller-details/basic.getsellerdetails","openApiOperationId":"basic.getSellerDetails","summary":"Get details of the seller from this online transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserDetails"}},"schemaId":"components/schemas/UserDetails"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1seller_details/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserDetails"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-buyerseller-details/basic.getsellerdetails"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/seller_details"},{"label":"Get the Stripe client secret for this online transaction\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-buyerseller-details/getstripeclientsecretfortransaction","routeSlug":"/apis/v1.0/openapi/online-buyerseller-details/getstripeclientsecretfortransaction","metadata":{"seo":{"title":"Get the Stripe client secret for this online transaction\n","description":"This endpoint is used for the asynchronous payment flow usingStripe. The client_secret returned from this endpoint shouldbe passed tostripe.confirmCardPaymentto start the payment process."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getStripeClientSecretForTransaction","name":"Get the Stripe client secret for this online transaction\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1stripe_client_secret/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the Stripe client secret for this online transaction\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint is used for the asynchronous payment flow using"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Stripe. The "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"client_secret"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" returned from this endpoint should"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be passed to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://stripe.com/docs/stripe-js/reference#stripe-confirm-card-payment"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"stripe.confirmCardPayment"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"to start the payment process."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1stripe_client_secret/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}/stripe_client_secret","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/stripe_client_secret","href":"online-buyerseller-details/getstripeclientsecretfortransaction","openApiOperationId":"getStripeClientSecretForTransaction","summary":"Get the Stripe client secret for this online transaction\n","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_120"}},"schemaId":"schema_120"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_paid"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_accepted"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": This transaction was created from a"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"listing but the listing's creator has not yet"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"accepted this transaction."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1stripe_client_secret/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_120","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_120"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-buyerseller-details/getstripeclientsecretfortransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/stripe_client_secret"},{"label":"Get the details for the Stripe publishable key that is in use for this online transaction\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/online-buyerseller-details/basic.getstripepublishablekeyfortransaction","routeSlug":"/apis/v1.0/openapi/online-buyerseller-details/basic.getstripepublishablekeyfortransaction","metadata":{"seo":{"title":"Get the details for the Stripe publishable key that is in use for this online transaction\n","description":"Returns the Publishable Key for the Stripe Platform which is hosting this transaction."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"basic.getStripePublishableKeyForTransaction","name":"Get the details for the Stripe publishable key that is in use for this online transaction\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1stripe_publishable_key/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the details for the Stripe publishable key that is in use for this online transaction\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the Publishable Key for the Stripe Platform\nwhich is hosting this transaction.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1stripe_publishable_key/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/transactions/{transaction_id}/stripe_publishable_key","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/transactions/{transaction_id}/stripe_publishable_key","href":"online-buyerseller-details/basic.getstripepublishablekeyfortransaction","openApiOperationId":"basic.getStripePublishableKeyForTransaction","summary":"Get the details for the Stripe publishable key that is in use for this online transaction\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_121"}},"schemaId":"schema_121"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_seller"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1transactions~1{transaction_id}~1stripe_publishable_key/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_121","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_121"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/online-buyerseller-details/basic.getstripepublishablekeyfortransaction"}],"panels":[]}]},"httpPath":"/api/v1/transactions/{transaction_id}/stripe_publishable_key"}],"content":{"contentType":"group","meta":{"name":"Online Buyer/Seller Details"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Online Buyer/Seller Details","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/transactions/{transaction_id}/billing_details","summary":"Get billing details from this online transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-buyerseller-details/basic.getbillingdetails","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/buyer_details","summary":"Get details of the buyer from this online transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-buyerseller-details/basic.getbuyerdetails","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/seller_details","summary":"Get details of the seller from this online transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-buyerseller-details/basic.getsellerdetails","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/stripe_client_secret","summary":"Get the Stripe client secret for this online transaction\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-buyerseller-details/getstripeclientsecretfortransaction","deprecated":false},{"title":"/api/v1/transactions/{transaction_id}/stripe_publishable_key","summary":"Get the details for the Stripe publishable key that is in use for this online transaction\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/online-buyerseller-details/basic.getstripepublishablekeyfortransaction","deprecated":false}]}]}]}]}},{"type":"separator","label":"Face-to-face transactions","content":null},{"type":"group","label":"F2F Transactions","link":"/apis/v1.0/openapi/f2f-transactions","routeSlug":"/apis/v1.0/openapi/f2f-transactions","items":[{"label":"Get multiple face-to-face transactions by their IDs","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.gettransactionsbyids","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.gettransactionsbyids","metadata":{"seo":{"title":"Get multiple face-to-face transactions by their IDs","description":"This endpoint takes a required ids parameter that contains acomma-separated list of transaction IDs, and returns thetransactions corresponding to those IDs. A maximum of 50 IDs maybe provided, and results are returned in the order specified inids, and duplicates are preserved. Transactions that couldn'tbe found will be returned as null values in the result array.The following example request results in the 200 OK responsedescribed below, assuming that the transaction with ID 1990couldn't be found:"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getTransactionsByIDs","name":"Get multiple face-to-face transactions by their IDs","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1batch~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get multiple face-to-face transactions by their IDs","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint takes a required "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameter that contains a"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"comma-separated list of transaction IDs, and returns the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"transactions corresponding to those IDs. A maximum of 50 IDs may"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be provided, and results are returned in the order specified in"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", and duplicates are preserved. Transactions that couldn't"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be found will be returned as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" values in the result array."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The following example request results in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"200 OK"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" response"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"described below, assuming that the transaction with ID "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"1990"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"couldn't be found:"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"https://dev.stage.trustap.com/api/v1/p2p/batch/transactions?ids=1309,609,1990,609\n"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"https://dev.stage.trustap.com/api/v1/p2p/batch/transactions?ids=1309,609,1990,609\n"},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ids","in":"query","schemaId":"schema_84","description":"A comma-separated list of transaction IDs\n","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1batch~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/batch/transactions","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[{"name":"ids","in":"query","required":true,"schemaId":"schema_84"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/batch/transactions","href":"f2f-transactions/p2p.gettransactionsbyids","openApiOperationId":"p2p.getTransactionsByIDs","summary":"Get multiple face-to-face transactions by their IDs","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_122"}},"schemaId":"schema_122"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ids_missing"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"too_many_ids"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1batch~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_122","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_122"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.gettransactionsbyids"}],"panels":[]}]},"httpPath":"/api/v1/p2p/batch/transactions"},{"label":"Get face-to-face transactions for the logged-in user","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.gettransactions","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.gettransactions","metadata":{"seo":{"title":"Get face-to-face transactions for the logged-in user","description":"Transactions are currently sorted by ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getTransactions","name":"Get face-to-face transactions for the logged-in user","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get face-to-face transactions for the logged-in user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Transactions are currently sorted by ID.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"before_id","in":"query","schemaId":"schema_99","description":"Only return transactions that were created chronologically\nbefore the transaction with this ID\n"},{"name":"after_id","in":"query","schemaId":"schema_99","description":"Only return transactions that were created chronologically\nafter the transaction with this ID (i.e. with smaller IDs)\n"},{"name":"limit","in":"query","schemaId":"schema_100","description":"The maximum number of transactions to return\n"}],"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/me/transactions","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[{"name":"before_id","in":"query","schemaId":"schema_99"},{"name":"after_id","in":"query","schemaId":"schema_99"},{"name":"limit","in":"query","schemaId":"schema_100"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/me/transactions","href":"f2f-transactions/p2p.gettransactions","openApiOperationId":"p2p.getTransactions","summary":"Get face-to-face transactions for the logged-in user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_123"}},"schemaId":"schema_123"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_before_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_after_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_limit"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"excessive_limit"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_123","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_123"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.gettransactions"}],"panels":[]}]},"httpPath":"/api/v1/p2p/me/transactions"},{"label":"Create a new face-to-face transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.createtransaction","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.createtransaction","metadata":{"seo":{"title":"Create a new face-to-face transaction","description":"Note that this endpoint is similar to POST /me/transactionsbut takes deposit_price and deposit_charge fields instead ofthe price and charge fields.Offline access is allowed for this endpoint when the user hasgranted the p2p_tx:offline_create_join scope to the clientthat is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.createTransaction","name":"Create a new face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a new face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note that this endpoint is similar to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"POST /me/transactions"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but takes "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_charge"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" fields instead of"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"charge"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" fields."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"p2p_tx:offline_create_join"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_124"}},"schemaId":"schema_124","pointer":"/paths/~1api~1v1~1p2p~1me~1transactions/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/me/transactions","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_124"}},"responseCodes":["201","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/me/transactions","href":"f2f-transactions/p2p.createtransaction","openApiOperationId":"p2p.createTransaction","summary":"Create a new face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_124","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_124"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_calc_version"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge_seller"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_calc_version"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"negative_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.createtransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/me/transactions"},{"label":"Create a new face-to-face transaction with both users","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.createandjointransaction","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.createandjointransaction","metadata":{"seo":{"title":"Create a new face-to-face transaction with both users","description":"This endpoint is an optimised call that allows a transaction tobe created and joined in a single request. It requires the useridentified by join_user_id to have granted thep2p_tx:offline_create_join scope to the client that isperforming the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.createAndJoinTransaction","name":"Create a new face-to-face transaction with both users","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions~1create_and_join/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a new face-to-face transaction with both users","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint is an optimised call that allows a transaction to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be created and joined in a single request. It requires the user"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"identified by "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"join_user_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to have granted the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"p2p_tx:offline_create_join"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client that is"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"performing the request."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note that this endpoint is similar to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"POST /me/transactions"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but takes "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_charge"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" fields instead of"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"charge"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" fields."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions~1create_and_join/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_125"}},"schemaId":"schema_125","pointer":"/paths/~1api~1v1~1p2p~1me~1transactions~1create_and_join/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/me/transactions/create_and_join","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_125"}},"responseCodes":["201","400","409"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/me/transactions/create_and_join","href":"f2f-transactions/p2p.createandjointransaction","openApiOperationId":"p2p.createAndJoinTransaction","summary":"Create a new face-to-face transaction with both users","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_125","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_125"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_join_user_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"user_not_owned_by_client"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"duplicate_user_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The user specified by"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"join_user_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is the user making the request."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge_seller"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"second_party_already_joined"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"duplicate_user_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incompatible_countries"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incompatible_users"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"negative_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_combination"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The provided payment method, charge config and currency combination isn't supported."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"409","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Conflict"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_seller_client_configuration"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions~1create_and_join/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"409","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.createandjointransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/me/transactions/create_and_join"},{"label":"Create a new face-to-face transaction with both users","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.createtransactionwithguestuser","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.createtransactionwithguestuser","metadata":{"seo":{"title":"Create a new face-to-face transaction with both users","description":"This endpoint is an optimised call that allows a transaction tobe created and joined in a single request. It requires theonline user to have granted the p2p_tx:offline_create_join scopeto the client that is performing the request.This endpoint allows creating a transaction with both buyer and selleras guest users, or one party to be guest user and the other full user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.createTransactionWithGuestUser","name":"Create a new face-to-face transaction with both users","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions~1create_with_guest_user/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a new face-to-face transaction with both users","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint is an optimised call that allows a transaction to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be created and joined in a single request. It requires the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"online user to have granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"p2p_tx:offline_create_join"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"to the client that is performing the request."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint allows creating a transaction with both buyer and seller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"as guest users, or one party to be guest user and the other full user."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions~1create_with_guest_user/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_126"}},"schemaId":"schema_126","pointer":"/paths/~1api~1v1~1p2p~1me~1transactions~1create_with_guest_user/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/me/transactions/create_with_guest_user","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_126"}},"responseCodes":["201","400","409"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/me/transactions/create_with_guest_user","href":"f2f-transactions/p2p.createtransactionwithguestuser","openApiOperationId":"p2p.createTransactionWithGuestUser","summary":"Create a new face-to-face transaction with both users"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_126","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_126"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incompatible_platforms"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"no_guest_user"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"guest_user_not_found"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_role"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fee_multiplier_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"negative_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_combination"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The provided payment method, charge config and currency combination isn't supported."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_image_url"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"image_url_too_long"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"seller_country_code_not_set"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"409","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Conflict"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_seller_client_configuration"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1me~1transactions~1create_with_guest_user/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"409","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.createtransactionwithguestuser"}],"panels":[]}]},"httpPath":"/api/v1/p2p/me/transactions/create_with_guest_user"},{"label":"Get a face-to-face transaction by its ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.gettransaction","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.gettransaction","metadata":{"seo":{"title":"Get a face-to-face transaction by its ID","description":"Get a face-to-face transaction by its ID"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getTransaction","name":"Get a face-to-face transaction by its ID","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get a face-to-face transaction by its ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/transactions/{transaction_id}","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}","href":"f2f-transactions/p2p.gettransaction","openApiOperationId":"p2p.getTransaction","summary":"Get a face-to-face transaction by its ID","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.gettransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}"},{"label":"Get the Trustap fee for a transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.getchargefortransaction","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.getchargefortransaction","metadata":{"seo":{"title":"Get the Trustap fee for a transaction","description":"This returns the Trustap fee, in the currency's smallest unit,for a transaction involving goods with the supplied price. Seethe Stripedocumentationfor more details."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getChargeForTransaction","name":"Get the Trustap fee for a transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1charge/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the Trustap fee for a transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This returns the Trustap fee, in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"'s smallest unit,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for a transaction involving goods with the supplied "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". See"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://stripe.com/docs/currencies#zero-decimal"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the Stripe"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"documentation"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for more details."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1charge/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"currency","in":"query","schemaId":"schema_84","description":"The currency that the `price` is specified in.\n"},{"name":"price","in":"query","schemaId":"schema_105","description":"The price of the goods being sold in this transaction, in\nthe `currency`'s smallest unit. For example, if a trading\ncard is being sold for $12.34 (with `currency` as `usd`),\nthen the request for the charge for this transaction would\nbe `/charge?price=1234&currency=usd`.\n","required":true},{"name":"price_extra","in":"query","schemaId":"schema_105","description":"Represents an additional charge to be paid by the buyer added\nto the transaction total. Use this field to include costs like\nprocessing fees, local taxes, or shipping surcharges.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD). Defaults to 0 if not provided.\n"},{"name":"price_postage","in":"query","schemaId":"schema_105","description":"Represents the postage/shipping cost to be paid by the buyer.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD).\n"},{"name":"fee_multiplier","in":"query","schemaId":"schema_127","description":"The `fee_multiplier` parameter is used to apply a higher percentage\nfee based on the total price of the transaction. The percentage fee\nis calculated multiplying the `percentage fee` by the `fee_multiplier`.\n"},{"name":"quantity","in":"query","schemaId":"schema_105","description":"Deprecated.\n"},{"name":"payment_method","in":"query","schemaId":"schema_84","description":"The payment method that will be used to pay for the\ntransaction. This is necessary because different payment\nmethods may result in different fees.\n\nThe default value is `card`.\n"},{"name":"charge_config","in":"query","schemaId":"schema_105","description":"The charge config for which the charge amount is computed.\n"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1charge/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/transactions/{transaction_id}/charge","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[{"name":"currency","in":"query","required":false,"schemaId":"schema_84"},{"name":"price","in":"query","required":true,"schemaId":"schema_105"},{"name":"price_extra","in":"query","required":false,"schemaId":"schema_105"},{"name":"price_postage","in":"query","required":false,"schemaId":"schema_105"},{"name":"fee_multiplier","in":"query","required":false,"schemaId":"schema_127"},{"name":"quantity","in":"query","required":false,"schemaId":"schema_105"},{"name":"payment_method","in":"query","required":false,"schemaId":"schema_84"},{"name":"charge_config","in":"query","required":false,"schemaId":"schema_105"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/charge","href":"f2f-transactions/p2p.getchargefortransaction","openApiOperationId":"p2p.getChargeForTransaction","summary":"Get the Trustap fee for a transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Charge"}},"schemaId":"components/schemas/p2p.Charge"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fee_multiplier_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_payment_method"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency_missing"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"negative_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_combination"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The provided payment method, charge config and currency combination isn't supported."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1charge/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Charge","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Charge"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.getchargefortransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/charge"},{"label":"Claim a F2F transaction on behalf of the buyer","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.claimtransactionforbuyer","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.claimtransactionforbuyer","metadata":{"seo":{"title":"Claim a F2F transaction on behalf of the buyer","description":"This endpoint enables a client to claim a face-to-face transaction on behalf of a buyer. This endpoint is only accessible for a client."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.claimTransactionForBuyer","name":"Claim a F2F transaction on behalf of the buyer","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1claim_for_buyer/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Claim a F2F transaction on behalf of the buyer","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint enables a client to claim a face-to-face transaction on behalf of a buyer.\nThis endpoint is only accessible for a client.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1claim_for_buyer/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1claim_for_buyer/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/claim_for_buyer","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/claim_for_buyer","href":"f2f-transactions/p2p.claimtransactionforbuyer","openApiOperationId":"p2p.claimTransactionForBuyer","summary":"Claim a F2F transaction on behalf of the buyer"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_claimed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cannot_claim_own_transaction"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1claim_for_buyer/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.claimtransactionforbuyer"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/claim_for_buyer"},{"label":"Claim a F2F transaction on behalf of the seller","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.claimtransactionforseller","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.claimtransactionforseller","metadata":{"seo":{"title":"Claim a F2F transaction on behalf of the seller","description":"This endpoint enables a client to claim a face-to-face transaction on behalf of a seller. This endpoint is only accessible for a client."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.claimTransactionForSeller","name":"Claim a F2F transaction on behalf of the seller","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1claim_for_seller/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Claim a F2F transaction on behalf of the seller","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint enables a client to claim a face-to-face transaction on behalf of a seller.\nThis endpoint is only accessible for a client.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1claim_for_seller/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1claim_for_seller/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/claim_for_seller","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/claim_for_seller","href":"f2f-transactions/p2p.claimtransactionforseller","openApiOperationId":"p2p.claimTransactionForSeller","summary":"Claim a F2F transaction on behalf of the seller"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_claimed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cannot_claim_own_transaction"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_user_platform"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1claim_for_seller/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.claimtransactionforseller"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/claim_for_seller"},{"label":"Join the face-to-face transaction as guest user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.joinwithguest","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.joinwithguest","metadata":{"seo":{"title":"Join the face-to-face transaction as guest user","description":"Join the face-to-face transaction as guest user"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.joinWithGuest","name":"Join the face-to-face transaction as guest user","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1join_with_guest/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Join the face-to-face transaction as guest user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1join_with_guest/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1join_with_guest/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/join_with_guest","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404","409"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/join_with_guest","href":"f2f-transactions/p2p.joinwithguest","openApiOperationId":"p2p.joinWithGuest","summary":"Join the face-to-face transaction as guest user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cannot_join_own_transaction"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"`already_cancelled``"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"},{"code":"409","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Conflict"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_seller_client_configuration"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1join_with_guest/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"},{"code":"409","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.joinwithguest"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/join_with_guest"},{"label":"Get metadata for a face-to-face transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.gettransactionmetadata","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.gettransactionmetadata","metadata":{"seo":{"title":"Get metadata for a face-to-face transaction","description":"DEPRECATED"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getTransactionMetadata","name":"Get metadata for a face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1metadata/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get metadata for a face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"DEPRECATED"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Metadata is now always included in the transaction object returned by"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /api/v1/p2p/transactions/{transaction_id}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1metadata/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/transactions/{transaction_id}/metadata","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/metadata","href":"f2f-transactions/p2p.gettransactionmetadata","openApiOperationId":"p2p.getTransactionMetadata","summary":"Get metadata for a face-to-face transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_128"}},"schemaId":"schema_128"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1metadata/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_128","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_128"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.gettransactionmetadata"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/metadata"},{"label":"Set metadata for a face-to-face transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.settransactionmetadata","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.settransactionmetadata","metadata":{"seo":{"title":"Set metadata for a face-to-face transaction","description":"Set metadata for a face-to-face transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.setTransactionMetadata","name":"Set metadata for a face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1metadata/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set metadata for a face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1metadata/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_128"}},"schemaId":"schema_128","pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1metadata/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/metadata","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_128"}},"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/metadata","href":"f2f-transactions/p2p.settransactionmetadata","openApiOperationId":"p2p.setTransactionMetadata","summary":"Set metadata for a face-to-face transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_128","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_128"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_128"}},"schemaId":"schema_128"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"too_many_metadata_fields"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"value_too_long"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"field_name_too_long"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"empty_json"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"`json_type_not_allowed``"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1metadata/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_128","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_128"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.settransactionmetadata"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/metadata"},{"label":"Claim F2F transaction as buyer given a claim secret","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.claimasbuyer","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.claimasbuyer","metadata":{"seo":{"title":"Claim F2F transaction as buyer given a claim secret","description":"This endpoint allows a full user to claim a transaction as buyer given a claim secret."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.claimAsBuyer","name":"Claim F2F transaction as buyer given a claim secret","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_claim_secret~1{secret}~1claim_as_buyer/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Claim F2F transaction as buyer given a claim secret","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint allows a full user to claim a transaction\nas buyer given a claim secret.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"secret","in":"path","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_claim_secret~1{secret}~1claim_as_buyer/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions_by_claim_secret/{secret}/claim_as_buyer","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"secret","in":"path","required":true,"schemaId":"schema_84"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions_by_claim_secret/{secret}/claim_as_buyer","href":"f2f-transactions/p2p.claimasbuyer","openApiOperationId":"p2p.claimAsBuyer","summary":"Claim F2F transaction as buyer given a claim secret","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_claimed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cannot_claim_own_transaction"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_secret"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_user_platform"},"children":[]}]}]}]}]},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_claim_secret~1{secret}~1claim_as_buyer/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.claimasbuyer"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions_by_claim_secret/{secret}/claim_as_buyer"},{"label":"Claim a F2F transaction as the seller","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.claimtransactionasseller","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.claimtransactionasseller","metadata":{"seo":{"title":"Claim a F2F transaction as the seller","description":"This endpoint allows a full user to claim a transaction as seller given a claim secret."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.claimTransactionAsSeller","name":"Claim a F2F transaction as the seller","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_claim_secret~1{secret}~1claim_as_seller/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Claim a F2F transaction as the seller","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint allows a full user to claim a transaction\nas seller given a claim secret.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"secret","in":"path","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_claim_secret~1{secret}~1claim_as_seller/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions_by_claim_secret/{secret}/claim_as_seller","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"secret","in":"path","required":true,"schemaId":"schema_84"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions_by_claim_secret/{secret}/claim_as_seller","href":"f2f-transactions/p2p.claimtransactionasseller","openApiOperationId":"p2p.claimTransactionAsSeller","summary":"Claim a F2F transaction as the seller"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_secret"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_claimed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cannot_claim_own_transaction"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_user_platform"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_claim_secret~1{secret}~1claim_as_seller/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.claimtransactionasseller"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions_by_claim_secret/{secret}/claim_as_seller"},{"label":"Get a face-to-face transaction by its join code","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.gettransactionbyjoincode","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.gettransactionbyjoincode","metadata":{"seo":{"title":"Get a face-to-face transaction by its join code","description":"Get a face-to-face transaction by its join code"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getTransactionByJoinCode","name":"Get a face-to-face transaction by its join code","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_join_code~1{join_code}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get a face-to-face transaction by its join code","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"join_code","in":"path","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_join_code~1{join_code}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/transactions_by_join_code/{join_code}","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"join_code","in":"path","required":true,"schemaId":"schema_84"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions_by_join_code/{join_code}","href":"f2f-transactions/p2p.gettransactionbyjoincode","openApiOperationId":"p2p.getTransactionByJoinCode","summary":"Get a face-to-face transaction by its join code"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_join_code~1{join_code}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.gettransactionbyjoincode"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions_by_join_code/{join_code}"},{"label":"Join a face-to-face transaction by its join code","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-transactions/p2p.jointransactionbyjoincode","routeSlug":"/apis/v1.0/openapi/f2f-transactions/p2p.jointransactionbyjoincode","metadata":{"seo":{"title":"Join a face-to-face transaction by its join code","description":"This endpoint allows a user to join a transaction provided a join code. Offline access is allowed for this endpoint when the user has granted the p2p_tx:offline_create_join scope to the client that is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.joinTransactionByJoinCode","name":"Join a face-to-face transaction by its join code","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_join_code~1{join_code}~1join/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Join a face-to-face transaction by its join code","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint allows a user to join a transaction provided a join code. Offline access is allowed for this endpoint when the user has granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"p2p_tx:offline_create_join"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"join_code","in":"path","schemaId":"schema_84","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_join_code~1{join_code}~1join/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_join_code~1{join_code}~1join/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions_by_join_code/{join_code}/join","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"join_code","in":"path","required":true,"schemaId":"schema_84"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404","409"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions_by_join_code/{join_code}/join","href":"f2f-transactions/p2p.jointransactionbyjoincode","openApiOperationId":"p2p.joinTransactionByJoinCode","summary":"Join a face-to-face transaction by its join code","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cannot_join_own_transaction"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_cancelled"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_payment_method"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_user_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incompatible_users"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"},{"code":"409","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Conflict"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_seller_client_configuration"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions_by_join_code~1{join_code}~1join/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"},{"code":"409","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-transactions/p2p.jointransactionbyjoincode"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions_by_join_code/{join_code}/join"}],"content":{"contentType":"group","meta":{"name":"F2F Transactions"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"F2F Transactions","showPageActions":true},{"nodeType":"markdoc","content":"F2F transactions are used when the goods are delivered in person."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/p2p/batch/transactions","summary":"Get multiple face-to-face transactions by their IDs","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-transactions/p2p.gettransactionsbyids","deprecated":false},{"title":"/api/v1/p2p/me/transactions","summary":"Get face-to-face transactions for the logged-in user","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-transactions/p2p.gettransactions","deprecated":false},{"title":"/api/v1/p2p/me/transactions","summary":"Create a new face-to-face transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-transactions/p2p.createtransaction","deprecated":false},{"title":"/api/v1/p2p/me/transactions/create_and_join","summary":"Create a new face-to-face transaction with both users","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-transactions/p2p.createandjointransaction","deprecated":false},{"title":"/api/v1/p2p/me/transactions/create_with_guest_user","summary":"Create a new face-to-face transaction with both users","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-transactions/p2p.createtransactionwithguestuser","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}","summary":"Get a face-to-face transaction by its ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-transactions/p2p.gettransaction","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/charge","summary":"Get the Trustap fee for a transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-transactions/p2p.getchargefortransaction","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/claim_for_buyer","summary":"Claim a F2F transaction on behalf of the buyer","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-transactions/p2p.claimtransactionforbuyer","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/claim_for_seller","summary":"Claim a F2F transaction on behalf of the seller","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-transactions/p2p.claimtransactionforseller","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/join_with_guest","summary":"Join the face-to-face transaction as guest user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-transactions/p2p.joinwithguest","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/metadata","summary":"Get metadata for a face-to-face transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-transactions/p2p.gettransactionmetadata","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/metadata","summary":"Set metadata for a face-to-face transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-transactions/p2p.settransactionmetadata","deprecated":false},{"title":"/api/v1/p2p/transactions_by_claim_secret/{secret}/claim_as_buyer","summary":"Claim F2F transaction as buyer given a claim secret","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-transactions/p2p.claimasbuyer","deprecated":false},{"title":"/api/v1/p2p/transactions_by_claim_secret/{secret}/claim_as_seller","summary":"Claim a F2F transaction as the seller","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-transactions/p2p.claimtransactionasseller","deprecated":false},{"title":"/api/v1/p2p/transactions_by_join_code/{join_code}","summary":"Get a face-to-face transaction by its join code","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-transactions/p2p.gettransactionbyjoincode","deprecated":false},{"title":"/api/v1/p2p/transactions_by_join_code/{join_code}/join","summary":"Join a face-to-face transaction by its join code","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-transactions/p2p.jointransactionbyjoincode","deprecated":false}]}]}]}]}},{"type":"group","label":"F2F Payment","link":"/apis/v1.0/openapi/f2f-payment","routeSlug":"/apis/v1.0/openapi/f2f-payment","items":[{"label":"Get the Trustap fee for a face-to-face transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-payment/p2p.getcharge","routeSlug":"/apis/v1.0/openapi/f2f-payment/p2p.getcharge","metadata":{"seo":{"title":"Get the Trustap fee for a face-to-face transaction","description":"This returns the Trustap fee, in the currency's smallest unit,for a transaction involving goods with the supplied price. Seethe Stripedocumentationfor more details."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getCharge","name":"Get the Trustap fee for a face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1charge/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the Trustap fee for a face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This returns the Trustap fee, in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"'s smallest unit,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for a transaction involving goods with the supplied "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". See"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://stripe.com/docs/currencies#zero-decimal"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the Stripe"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"documentation"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"for more details."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"currency","in":"query","schemaId":"schema_84","description":"The currency that the `price` is specified in.\n","required":true},{"name":"price","in":"query","schemaId":"schema_105","description":"The price of the goods being sold in this transaction, in\nthe `currency`'s smallest unit. For example, if a trading\ncard is being sold for $12.34 (with `currency` as `usd`),\nthen the request for the charge for this transaction would\nbe `/p2p/charge?price=1234&currency=usd`.\n","required":true},{"name":"price_extra","in":"query","schemaId":"schema_105","description":"Represents an additional charge to be paid by the buyer added\nto the transaction total. Use this field to include costs like\nprocessing fees, local taxes, or shipping surcharges.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD). Defaults to 0 if not provided.\n"},{"name":"price_postage","in":"query","schemaId":"schema_105","description":"Represents the postage/shipping cost to be paid by the buyer.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD).\n"},{"name":"fee_multiplier","in":"query","schemaId":"schema_127","description":"The `fee_multiplier` parameter is used to apply a higher percentage\nfee based on the total price of the transaction. The percentage fee\nis calculated multiplying the `percentage fee` by the `fee_multiplier`.\n"},{"name":"quantity","in":"query","schemaId":"schema_105","description":"Deprecated.\n"},{"name":"payment_method","in":"query","schemaId":"schema_84","description":"The payment method that will be used to pay for the\ntransaction. This is necessary because different payment\nmethods may result in different fees.\n\nThe default value is `card`.\n"},{"name":"charge_config","in":"query","schemaId":"schema_108","description":"The charge config for which the charge amount is computed.\n"}],"pointer":"/paths/~1api~1v1~1p2p~1charge/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/charge","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[{"name":"currency","in":"query","required":true,"schemaId":"schema_84"},{"name":"price","in":"query","required":true,"schemaId":"schema_105"},{"name":"price_extra","in":"query","required":false,"schemaId":"schema_105"},{"name":"price_postage","in":"query","required":false,"schemaId":"schema_105"},{"name":"fee_multiplier","in":"query","required":false,"schemaId":"schema_127"},{"name":"quantity","in":"query","required":false,"schemaId":"schema_105"},{"name":"payment_method","in":"query","required":false,"schemaId":"schema_84"},{"name":"charge_config","in":"query","required":false,"schemaId":"schema_108"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/charge","href":"f2f-payment/p2p.getcharge","openApiOperationId":"p2p.getCharge","summary":"Get the Trustap fee for a face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Charge"}},"schemaId":"components/schemas/p2p.Charge"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency_missing"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"negative_price"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_too_low"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_combination"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The provided payment method, charge config and currency combination isn't supported."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1charge/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Charge","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Charge"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-payment/p2p.getcharge"}],"panels":[]}]},"httpPath":"/api/v1/p2p/charge"},{"label":"Update the description, currency, price and/or charge of this face-to-face transaction","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-payment/p2p.updatetransaction","routeSlug":"/apis/v1.0/openapi/f2f-payment/p2p.updatetransaction","metadata":{"seo":{"title":"Update the description, currency, price and/or charge of this face-to-face transaction","description":"Update the description, currency, price and/or charge of this face-to-face transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.updateTransaction","name":"Update the description, currency, price and/or charge of this face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update the description, currency, price and/or charge of this face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}/patch/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_129"}},"schemaId":"schema_129","pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/api/v1/p2p/transactions/{transaction_id}","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_129"}},"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}","href":"f2f-payment/p2p.updatetransaction","openApiOperationId":"p2p.updateTransaction","summary":"Update the description, currency, price and/or charge of this face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_129","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_129"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"second_party_already_joined"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":"Forbidden"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}/patch/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-payment/p2p.updatetransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}"},{"label":"Accept the deposit for this face-to-face transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-payment/p2p.acceptdeposit","routeSlug":"/apis/v1.0/openapi/f2f-payment/p2p.acceptdeposit","metadata":{"seo":{"title":"Accept the deposit for this face-to-face transaction","description":"Offline access is allowed for this endpoint when the user has granted the p2p_tx:offline_accept_deposit scope to the client that is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.acceptDeposit","name":"Accept the deposit for this face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_deposit/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Accept the deposit for this face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"p2p_tx:offline_accept_deposit"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_deposit/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_deposit/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/accept_deposit","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/accept_deposit","href":"f2f-payment/p2p.acceptdeposit","openApiOperationId":"p2p.acceptDeposit","summary":"Accept the deposit for this face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_not_paid"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_payment_in_review"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_already_accepted"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_cancelled"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_already_captured"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_seller"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_deposit/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-payment/p2p.acceptdeposit"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/accept_deposit"},{"label":"Accept the deposit for this face-to-face transaction as a guest seller","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-payment/p2p.acceptdepositwithguestseller","routeSlug":"/apis/v1.0/openapi/f2f-payment/p2p.acceptdepositwithguestseller","metadata":{"seo":{"title":"Accept the deposit for this face-to-face transaction as a guest seller","description":"Accept the deposit for this face-to-face transaction as a guest seller"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.acceptDepositWithGuestSeller","name":"Accept the deposit for this face-to-face transaction as a guest seller","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_deposit_with_guest_seller/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Accept the deposit for this face-to-face transaction as a guest seller","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_deposit_with_guest_seller/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_deposit_with_guest_seller/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/accept_deposit_with_guest_seller","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/accept_deposit_with_guest_seller","href":"f2f-payment/p2p.acceptdepositwithguestseller","openApiOperationId":"p2p.acceptDepositWithGuestSeller","summary":"Accept the deposit for this face-to-face transaction as a guest seller"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_seller"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"subject_is_not_guest_user"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_not_paid"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_already_accepted"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_deposit_with_guest_seller/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-payment/p2p.acceptdepositwithguestseller"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/accept_deposit_with_guest_seller"},{"label":"Get the bank transfer details for a face-to-face transaction which payment method is `bank_transfer`\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-payment/p2p.getbanktransferdetails","routeSlug":"/apis/v1.0/openapi/f2f-payment/p2p.getbanktransferdetails","metadata":{"seo":{"title":"Get the bank transfer details for a face-to-face transaction which payment method is `bank_transfer`\n","description":"Get the bank transfer details for a face-to-face transaction which payment method is `bank_transfer`\n"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getBankTransferDetails","name":"Get the bank transfer details for a face-to-face transaction which payment method is `bank_transfer`\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1bank_transfer_details/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the bank transfer details for a face-to-face transaction which payment method is `bank_transfer`\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1bank_transfer_details/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1bank_transfer_details/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/transactions/{transaction_id}/bank_transfer_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/bank_transfer_details","href":"f2f-payment/p2p.getbanktransferdetails","openApiOperationId":"p2p.getBankTransferDetails","summary":"Get the bank transfer details for a face-to-face transaction which payment method is `bank_transfer`\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.BankTransferDetails"}},"schemaId":"components/schemas/p2p.BankTransferDetails"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_method_not_bank_transfer"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"paid_with_balance"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A transaction with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"paid_with_balance"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" error code means that the buyer's payment was already paid using their Trustap balance, so there are no bank transfer details to provide."},"children":[]}]}]}]}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1bank_transfer_details/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.BankTransferDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.BankTransferDetails"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-payment/p2p.getbanktransferdetails"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/bank_transfer_details"},{"label":"Get the Stripe client secret for this face-to-face transaction\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-payment/p2p.getdepositstripeclientsecretfortransaction","routeSlug":"/apis/v1.0/openapi/f2f-payment/p2p.getdepositstripeclientsecretfortransaction","metadata":{"seo":{"title":"Get the Stripe client secret for this face-to-face transaction\n","description":"This endpoint is used for the asynchronous payment flow usingStripe. The client_secret returned from this endpoint shouldbe passed tostripe.confirmCardPaymentto start the payment process."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getDepositStripeClientSecretForTransaction","name":"Get the Stripe client secret for this face-to-face transaction\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1deposit_stripe_client_secret/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the Stripe client secret for this face-to-face transaction\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint is used for the asynchronous payment flow using"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Stripe. The "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"client_secret"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" returned from this endpoint should"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"be passed to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://stripe.com/docs/stripe-js/reference#stripe-confirm-card-payment"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"stripe.confirmCardPayment"},"children":[]}]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"to start the payment process."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1deposit_stripe_client_secret/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/transactions/{transaction_id}/deposit_stripe_client_secret","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/deposit_stripe_client_secret","href":"f2f-payment/p2p.getdepositstripeclientsecretfortransaction","openApiOperationId":"p2p.getDepositStripeClientSecretForTransaction","summary":"Get the Stripe client secret for this face-to-face transaction\n","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_130"}},"schemaId":"schema_130"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_already_paid"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1deposit_stripe_client_secret/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_130","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_130"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-payment/p2p.getdepositstripeclientsecretfortransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/deposit_stripe_client_secret"},{"label":"Set deposit payment method for this face-to-face transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-payment/p2p.setdepositpaymentmethod","routeSlug":"/apis/v1.0/openapi/f2f-payment/p2p.setdepositpaymentmethod","metadata":{"seo":{"title":"Set deposit payment method for this face-to-face transaction","description":"Set deposit payment method for face-to-face transaction. Values can be card,bank_transfer, p24, and fpx."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.setDepositPaymentMethod","name":"Set deposit payment method for this face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1set_deposit_payment_method/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set deposit payment method for this face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Set deposit payment method for face-to-face transaction. Values can be "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"bank_transfer"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"p24"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fpx"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1set_deposit_payment_method/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/p2p.DepositPaymentMethod"}},"schemaId":"components/schemas/p2p.DepositPaymentMethod","pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1set_deposit_payment_method/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/set_deposit_payment_method","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/p2p.DepositPaymentMethod"}},"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/set_deposit_payment_method","href":"f2f-payment/p2p.setdepositpaymentmethod","openApiOperationId":"p2p.setDepositPaymentMethod","summary":"Set deposit payment method for this face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"components/schemas/p2p.DepositPaymentMethod","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/p2p.DepositPaymentMethod"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_payment_method"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_already_paid"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_method_already_set"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The specified payment method and charge configuration are already set."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_charge_config"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Charge configuration must be an integer greater than or equal to 1."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_currency"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unsupported_combination"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The provided payment method, charge config and currency combination isn't supported."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency_missing"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Specified charge doesn't match expected charge."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_charge_seller"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Specified seller charge doesn't match expected seller charge."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Specified price doesn't match expected price."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"incorrect_currency"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Specified currency doesn't match expected currency."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1set_deposit_payment_method/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-payment/p2p.setdepositpaymentmethod"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/set_deposit_payment_method"},{"label":"Set the total price for this face-to-face transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-payment/setpriceforp2ptransaction","routeSlug":"/apis/v1.0/openapi/f2f-payment/setpriceforp2ptransaction","metadata":{"seo":{"title":"Set the total price for this face-to-face transaction","description":"price is the total price of the item, and thus includes theprice already paid for the deposit."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"setPriceForP2PTransaction","name":"Set the total price for this face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transactionId}~1set_price/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set the total price for this face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is the total price of the item, and thus includes the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"price already paid for the deposit."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note that this endpoint will return a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"remainder_too_low"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"response if the difference between the total price and the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"deposit price is too low."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"p2p_tx:offline_set_price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transactionId","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transactionId}~1set_price/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_131"}},"schemaId":"schema_131","pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transactionId}~1set_price/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transactionId}/set_price","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transactionId","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_131"}},"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transactionId}/set_price","href":"f2f-payment/setpriceforp2ptransaction","openApiOperationId":"setPriceForP2PTransaction","summary":"Set the total price for this face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_131","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_131"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency_mismatch"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Pricing currency is different"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"to the transaction's currency."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"remainder_already_skipped"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"remainder_too_low"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The difference between the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"total price of this transaction isn't larger than"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the deposit price."},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_seller"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transactionId}~1set_price/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-payment/setpriceforp2ptransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transactionId}/set_price"},{"label":"Skip the remainder for this face-to-face transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-payment/skipremainderforp2ptransaction","routeSlug":"/apis/v1.0/openapi/f2f-payment/skipremainderforp2ptransaction","metadata":{"seo":{"title":"Skip the remainder for this face-to-face transaction","description":"This will skip the remainder payment of this transaction, andthe total price of the transaction will not need to be set. Notethat this must be done before the total price of the transactionis set using /set_price."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"skipRemainderForP2PTransaction","name":"Skip the remainder for this face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transactionId}~1skip_remainder/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Skip the remainder for this face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This will skip the remainder payment of this transaction, and"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the total price of the transaction will not need to be set. Note"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"that this must be done before the total price of the transaction"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"is set using "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/set_price"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transactionId","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transactionId}~1skip_remainder/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transactionId}/skip_remainder","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transactionId","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transactionId}/skip_remainder","href":"f2f-payment/skipremainderforp2ptransaction","openApiOperationId":"skipRemainderForP2PTransaction","summary":"Skip the remainder for this face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"price_already_set"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_seller"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transactionId}~1skip_remainder/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-payment/skipremainderforp2ptransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transactionId}/skip_remainder"}],"content":{"contentType":"group","meta":{"name":"F2F Payment"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"F2F Payment","showPageActions":true},{"nodeType":"markdoc","content":"Payment endpoints for face-to-face transactions."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/p2p/charge","summary":"Get the Trustap fee for a face-to-face transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-payment/p2p.getcharge","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}","summary":"Update the description, currency, price and/or charge of this face-to-face transaction","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/f2f-payment/p2p.updatetransaction","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/accept_deposit","summary":"Accept the deposit for this face-to-face transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-payment/p2p.acceptdeposit","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/accept_deposit_with_guest_seller","summary":"Accept the deposit for this face-to-face transaction as a guest seller","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-payment/p2p.acceptdepositwithguestseller","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/bank_transfer_details","summary":"Get the bank transfer details for a face-to-face transaction which payment method is `bank_transfer`\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-payment/p2p.getbanktransferdetails","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/deposit_stripe_client_secret","summary":"Get the Stripe client secret for this face-to-face transaction\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-payment/p2p.getdepositstripeclientsecretfortransaction","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/set_deposit_payment_method","summary":"Set deposit payment method for this face-to-face transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-payment/p2p.setdepositpaymentmethod","deprecated":false},{"title":"/api/v1/p2p/transactions/{transactionId}/set_price","summary":"Set the total price for this face-to-face transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-payment/setpriceforp2ptransaction","deprecated":false},{"title":"/api/v1/p2p/transactions/{transactionId}/skip_remainder","summary":"Skip the remainder for this face-to-face transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-payment/skipremainderforp2ptransaction","deprecated":false}]}]}]}]}},{"type":"group","label":"F2F Handover","link":"/apis/v1.0/openapi/f2f-handover","routeSlug":"/apis/v1.0/openapi/f2f-handover","items":[{"label":"Confirm the handover for this face-to-face transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-handover/p2p.confirmhandover","routeSlug":"/apis/v1.0/openapi/f2f-handover/p2p.confirmhandover","metadata":{"seo":{"title":"Confirm the handover for this face-to-face transaction","description":"Both parties should confirm the handover for a face-to-facetransaction. The complaints period begins when the sellerconfirms the handover.Offline access is allowed for this endpoint when the user hasgranted the p2p_tx:offline_confirm_handover scope to the clientthat is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.confirmHandover","name":"Confirm the handover for this face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_handover/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Confirm the handover for this face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Both parties should confirm the handover for a face-to-face"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"transaction. The complaints period begins when the seller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"confirms the handover."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"p2p_tx:offline_confirm_handover"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_handover/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_handover/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/confirm_handover","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/confirm_handover","href":"f2f-handover/p2p.confirmhandover","openApiOperationId":"p2p.confirmHandover","summary":"Confirm the handover for this face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"remainder_required"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_complained"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"seller_handover_already_confirmed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"buyer_handover_already_confirmed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"remainder_payment_in_review"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_cancelled"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"handover_confirmation_not_supported"},"children":[]}]}]}]}]},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_handover/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-handover/p2p.confirmhandover"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/confirm_handover"},{"label":"Confirm the handover for this face-to-face transaction with a guest user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-handover/p2p.confirmhandoverwithguestuserfortransaction","routeSlug":"/apis/v1.0/openapi/f2f-handover/p2p.confirmhandoverwithguestuserfortransaction","metadata":{"seo":{"title":"Confirm the handover for this face-to-face transaction with a guest user","description":"Both parties should confirm the handover for a face-to-face transaction. Full users don't have access to this endpoint."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.confirmHandoverWithGuestUserForTransaction","name":"Confirm the handover for this face-to-face transaction with a guest user","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_handover_with_guest_user/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Confirm the handover for this face-to-face transaction with a guest user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Both parties should confirm the handover for a face-to-face\ntransaction. Full users don't have access to this endpoint.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_handover_with_guest_user/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_handover_with_guest_user/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/confirm_handover_with_guest_user","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/confirm_handover_with_guest_user","href":"f2f-handover/p2p.confirmhandoverwithguestuserfortransaction","openApiOperationId":"p2p.confirmHandoverWithGuestUserForTransaction","summary":"Confirm the handover for this face-to-face transaction with a guest user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"remainder_required"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_complained"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"seller_handover_already_confirmed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"buyer_handover_already_confirmed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"handover_confirmation_not_supported"},"children":[]}]}]}]}]},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_handover_with_guest_user/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-handover/p2p.confirmhandoverwithguestuserfortransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/confirm_handover_with_guest_user"}],"content":{"contentType":"group","meta":{"name":"F2F Handover"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"F2F Handover","showPageActions":true},{"nodeType":"markdoc","content":"Handover endpoints for face-to-face transactions."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/p2p/transactions/{transaction_id}/confirm_handover","summary":"Confirm the handover for this face-to-face transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-handover/p2p.confirmhandover","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/confirm_handover_with_guest_user","summary":"Confirm the handover for this face-to-face transaction with a guest user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-handover/p2p.confirmhandoverwithguestuserfortransaction","deprecated":false}]}]}]}]}},{"type":"group","label":"F2F Complaint","link":"/apis/v1.0/openapi/f2f-complaint","routeSlug":"/apis/v1.0/openapi/f2f-complaint","items":[{"label":"Accept a complaint for this face-to-face transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-complaint/p2p.acceptcomplaint","routeSlug":"/apis/v1.0/openapi/f2f-complaint/p2p.acceptcomplaint","metadata":{"seo":{"title":"Accept a complaint for this face-to-face transaction","description":"Accept a complaint for this face-to-face transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.acceptComplaint","name":"Accept a complaint for this face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_complaint/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Accept a complaint for this face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_complaint/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_complaint/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/accept_complaint","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/accept_complaint","href":"f2f-complaint/p2p.acceptcomplaint","openApiOperationId":"p2p.acceptComplaint","summary":"Accept a complaint for this face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"funds_already_released"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_not_paid"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deposit_already_refunded"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_complained"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_cancelled"},"children":[]}]}]}]}]},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1accept_complaint/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-complaint/p2p.acceptcomplaint"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/accept_complaint"},{"label":"Submit a complaint for this face-to-face transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-complaint/p2p.submitcomplaint","routeSlug":"/apis/v1.0/openapi/f2f-complaint/p2p.submitcomplaint","metadata":{"seo":{"title":"Submit a complaint for this face-to-face transaction","description":"Offline access is allowed for this endpoint when the user has granted the p2p_tx:offline_complain scope to the client that is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.submitComplaint","name":"Submit a complaint for this face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1complain/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Submit a complaint for this face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"p2p_tx:offline_complain"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1complain/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1complain/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_132"}},"schemaId":"schema_132","pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1complain/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/complain","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_132"}},"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/complain","href":"f2f-complaint/p2p.submitcomplaint","openApiOperationId":"p2p.submitComplaint","summary":"Submit a complaint for this face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_132","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_132"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"remainder_required"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_complained"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"funds_already_released"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_period_expired"},"children":[]}]}]}]}]},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1complain/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-complaint/p2p.submitcomplaint"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/complain"},{"label":"Submit a complaint for this face-to-face transaction with a guest buyer","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-complaint/p2p.submitcomplaintwithguestbuyer","routeSlug":"/apis/v1.0/openapi/f2f-complaint/p2p.submitcomplaintwithguestbuyer","metadata":{"seo":{"title":"Submit a complaint for this face-to-face transaction with a guest buyer","description":"Submit a complaint for this face-to-face transaction with a guest buyer"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.submitComplaintWithGuestBuyer","name":"Submit a complaint for this face-to-face transaction with a guest buyer","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1complain_with_guest_buyer/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Submit a complaint for this face-to-face transaction with a guest buyer","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1complain_with_guest_buyer/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1complain_with_guest_buyer/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_132"}},"schemaId":"schema_132","pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1complain_with_guest_buyer/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/complain_with_guest_buyer","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_132"}},"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/complain_with_guest_buyer","href":"f2f-complaint/p2p.submitcomplaintwithguestbuyer","openApiOperationId":"p2p.submitComplaintWithGuestBuyer","summary":"Submit a complaint for this face-to-face transaction with a guest buyer"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_132","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_132"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"remainder_required"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_complained"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"funds_already_released"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_period_expired"},"children":[]}]}]}]}]},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1complain_with_guest_buyer/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-complaint/p2p.submitcomplaintwithguestbuyer"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/complain_with_guest_buyer"},{"label":"End the complaint period for this face-to-face transaction with a full user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-complaint/p2p.endcomplaintperiod","routeSlug":"/apis/v1.0/openapi/f2f-complaint/p2p.endcomplaintperiod","metadata":{"seo":{"title":"End the complaint period for this face-to-face transaction with a full user","description":"End the complaint period for this face-to-face transaction with a full user"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.endComplaintPeriod","name":"End the complaint period for this face-to-face transaction with a full user","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1end_complaint_period/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"End the complaint period for this face-to-face transaction with a full user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1end_complaint_period/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1end_complaint_period/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/end_complaint_period","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/end_complaint_period","href":"f2f-complaint/p2p.endcomplaintperiod","openApiOperationId":"p2p.endComplaintPeriod","summary":"End the complaint period for this face-to-face transaction with a full user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_period_expired"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"handover_not_confirmed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"funds_already_released"},"children":[]}]}]}]}]},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1end_complaint_period/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-complaint/p2p.endcomplaintperiod"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/end_complaint_period"},{"label":"End the complaint period for this face-to-face transaction with a guest buyer","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-complaint/p2p.endcomplaintperiodwithguestbuyer","routeSlug":"/apis/v1.0/openapi/f2f-complaint/p2p.endcomplaintperiodwithguestbuyer","metadata":{"seo":{"title":"End the complaint period for this face-to-face transaction with a guest buyer","description":"End the complaint period for this face-to-face transaction with a guest buyer"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.endComplaintPeriodWithGuestBuyer","name":"End the complaint period for this face-to-face transaction with a guest buyer","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1end_complaint_period_with_guest_buyer/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"End the complaint period for this face-to-face transaction with a guest buyer","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1end_complaint_period_with_guest_buyer/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1end_complaint_period_with_guest_buyer/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/end_complaint_period_with_guest_buyer","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/end_complaint_period_with_guest_buyer","href":"f2f-complaint/p2p.endcomplaintperiodwithguestbuyer","openApiOperationId":"p2p.endComplaintPeriodWithGuestBuyer","summary":"End the complaint period for this face-to-face transaction with a guest buyer"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"complaint_period_expired"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"handover_not_confirmed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"funds_already_released"},"children":[]}]}]}]}]},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1end_complaint_period_with_guest_buyer/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-complaint/p2p.endcomplaintperiodwithguestbuyer"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/end_complaint_period_with_guest_buyer"}],"content":{"contentType":"group","meta":{"name":"F2F Complaint"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"F2F Complaint","showPageActions":true},{"nodeType":"markdoc","content":"Complaint endpoints for face-to-face transactions."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/p2p/transactions/{transaction_id}/accept_complaint","summary":"Accept a complaint for this face-to-face transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-complaint/p2p.acceptcomplaint","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/complain","summary":"Submit a complaint for this face-to-face transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-complaint/p2p.submitcomplaint","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/complain_with_guest_buyer","summary":"Submit a complaint for this face-to-face transaction with a guest buyer","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-complaint/p2p.submitcomplaintwithguestbuyer","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/end_complaint_period","summary":"End the complaint period for this face-to-face transaction with a full user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-complaint/p2p.endcomplaintperiod","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/end_complaint_period_with_guest_buyer","summary":"End the complaint period for this face-to-face transaction with a guest buyer","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-complaint/p2p.endcomplaintperiodwithguestbuyer","deprecated":false}]}]}]}]}},{"type":"group","label":"F2F Cancel","link":"/apis/v1.0/openapi/f2f-cancel","routeSlug":"/apis/v1.0/openapi/f2f-cancel","items":[{"label":"Cancel this face-to-face transaction with a description","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-cancel/p2p.cancelwithdescription","routeSlug":"/apis/v1.0/openapi/f2f-cancel/p2p.cancelwithdescription","metadata":{"seo":{"title":"Cancel this face-to-face transaction with a description","description":"If a transaction is cancelled after the deposit has been paidthen the deposit (excluding the Trustap fee) will be returned tothe buyer.Offline access is allowed for this endpoint when the user hasgranted the p2p_tx:offline_cancel scope to the clientthat is performing the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.cancelWithDescription","name":"Cancel this face-to-face transaction with a description","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1cancel_with_description/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel this face-to-face transaction with a description","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If a transaction is cancelled after the deposit has been paid"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"then the deposit (excluding the Trustap fee) will be returned to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the buyer."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Offline access is allowed for this endpoint when the user has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"granted the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"p2p_tx:offline_cancel"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" scope to the client"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"that is performing the request."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1cancel_with_description/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1cancel_with_description/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_133"}},"schemaId":"schema_133","pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1cancel_with_description/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/cancel_with_description","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_133"}},"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/cancel_with_description","href":"f2f-cancel/p2p.cancelwithdescription","openApiOperationId":"p2p.cancelWithDescription","summary":"Cancel this face-to-face transaction with a description","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_133","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_133"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"second_party_not_joined"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_cancelled"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"remainder_already_paid"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"handover_already_confirmed"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1cancel_with_description/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-cancel/p2p.cancelwithdescription"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/cancel_with_description"},{"label":"Cancel this face-to-face transaction with a description with guest user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-cancel/p2p.cancelp2ptransactionwithdescriptionasguest","routeSlug":"/apis/v1.0/openapi/f2f-cancel/p2p.cancelp2ptransactionwithdescriptionasguest","metadata":{"seo":{"title":"Cancel this face-to-face transaction with a description with guest user","description":"If a transaction is cancelled after the deposit has been paid then the deposit (excluding the Trustap fee) will be returned to the buyer."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.cancelP2PTransactionWithDescriptionAsGuest","name":"Cancel this face-to-face transaction with a description with guest user","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1cancel_with_description_with_guest_user/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel this face-to-face transaction with a description with guest user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"If a transaction is cancelled after the deposit has been paid\nthen the deposit (excluding the Trustap fee) will be returned to\nthe buyer.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1cancel_with_description_with_guest_user/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1cancel_with_description_with_guest_user/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_134"}},"schemaId":"schema_134","pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1cancel_with_description_with_guest_user/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/cancel_with_description_with_guest_user","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_134"}},"responseCodes":["200","400","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/cancel_with_description_with_guest_user","href":"f2f-cancel/p2p.cancelp2ptransactionwithdescriptionasguest","openApiOperationId":"p2p.cancelP2PTransactionWithDescriptionAsGuest","summary":"Cancel this face-to-face transaction with a description with guest user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_134","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_134"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"missing_description"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"empty_description"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"already_cancelled"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"remainder_already_paid"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"handover_already_confirmed"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1cancel_with_description_with_guest_user/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-cancel/p2p.cancelp2ptransactionwithdescriptionasguest"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/cancel_with_description_with_guest_user"}],"content":{"contentType":"group","meta":{"name":"F2F Cancel"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"F2F Cancel","showPageActions":true},{"nodeType":"markdoc","content":"Cancel endpoints for face-to-face transactions."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/p2p/transactions/{transaction_id}/cancel_with_description","summary":"Cancel this face-to-face transaction with a description","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-cancel/p2p.cancelwithdescription","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/cancel_with_description_with_guest_user","summary":"Cancel this face-to-face transaction with a description with guest user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-cancel/p2p.cancelp2ptransactionwithdescriptionasguest","deprecated":false}]}]}]}]}},{"type":"group","label":"F2F Buyer/Seller Details","link":"/apis/v1.0/openapi/f2f-buyerseller-details","routeSlug":"/apis/v1.0/openapi/f2f-buyerseller-details","items":[{"label":"Get billing details from this p2p transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-buyerseller-details/p2p.getbillingdetails","routeSlug":"/apis/v1.0/openapi/f2f-buyerseller-details/p2p.getbillingdetails","metadata":{"seo":{"title":"Get billing details from this p2p transaction","description":"Get billing details from this p2p transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getBillingDetails","name":"Get billing details from this p2p transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1billing_details/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get billing details from this p2p transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1billing_details/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/transactions/{transaction_id}/billing_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/billing_details","href":"f2f-buyerseller-details/p2p.getbillingdetails","openApiOperationId":"p2p.getBillingDetails","summary":"Get billing details from this p2p transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.BillingDetails"}},"schemaId":"components/schemas/basic.BillingDetails"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1billing_details/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/basic.BillingDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/basic.BillingDetails"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-buyerseller-details/p2p.getbillingdetails"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/billing_details"},{"label":"Get the details of the buyer from this face-to-face transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-buyerseller-details/p2p.getbuyerdetails","routeSlug":"/apis/v1.0/openapi/f2f-buyerseller-details/p2p.getbuyerdetails","metadata":{"seo":{"title":"Get the details of the buyer from this face-to-face transaction","description":"Get the details of the buyer from this face-to-face transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getBuyerDetails","name":"Get the details of the buyer from this face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1buyer_details/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the details of the buyer from this face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1buyer_details/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/transactions/{transaction_id}/buyer_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/buyer_details","href":"f2f-buyerseller-details/p2p.getbuyerdetails","openApiOperationId":"p2p.getBuyerDetails","summary":"Get the details of the buyer from this face-to-face transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.UserDetails"}},"schemaId":"components/schemas/p2p.UserDetails"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1buyer_details/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.UserDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.UserDetails"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-buyerseller-details/p2p.getbuyerdetails"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/buyer_details"},{"label":"Get the details of the seller from this face-to-face transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-buyerseller-details/p2p.getsellerdetailsfortransaction","routeSlug":"/apis/v1.0/openapi/f2f-buyerseller-details/p2p.getsellerdetailsfortransaction","metadata":{"seo":{"title":"Get the details of the seller from this face-to-face transaction","description":"Get the details of the seller from this face-to-face transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getSellerDetailsForTransaction","name":"Get the details of the seller from this face-to-face transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1seller_details/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the details of the seller from this face-to-face transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]},{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1seller_details/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/transactions/{transaction_id}/seller_details","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]},{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/seller_details","href":"f2f-buyerseller-details/p2p.getsellerdetailsfortransaction","openApiOperationId":"p2p.getSellerDetailsForTransaction","summary":"Get the details of the seller from this face-to-face transaction","securityGroups":[{"OAuth2":[]},{"APIKey":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.UserDetails"}},"schemaId":"components/schemas/p2p.UserDetails"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1seller_details/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.UserDetails","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.UserDetails"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-buyerseller-details/p2p.getsellerdetailsfortransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/seller_details"},{"label":"Get the details for the Stripe publishable key that is in use for this face-to-face transaction\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-buyerseller-details/p2p.getstripepublishablekeyfortransaction","routeSlug":"/apis/v1.0/openapi/f2f-buyerseller-details/p2p.getstripepublishablekeyfortransaction","metadata":{"seo":{"title":"Get the details for the Stripe publishable key that is in use for this face-to-face transaction\n","description":"Returns the Publishable Key for the Stripe Platform which is hosting this transaction."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.getStripePublishableKeyForTransaction","name":"Get the details for the Stripe publishable key that is in use for this face-to-face transaction\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1stripe_publishable_key/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the details for the Stripe publishable key that is in use for this face-to-face transaction\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the Publishable Key for the Stripe Platform\nwhich is hosting this transaction.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1stripe_publishable_key/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/p2p/transactions/{transaction_id}/stripe_publishable_key","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/stripe_publishable_key","href":"f2f-buyerseller-details/p2p.getstripepublishablekeyfortransaction","openApiOperationId":"p2p.getStripePublishableKeyForTransaction","summary":"Get the details for the Stripe publishable key that is in use for this face-to-face transaction\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_121"}},"schemaId":"schema_121"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_seller"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1stripe_publishable_key/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_121","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_121"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-buyerseller-details/p2p.getstripepublishablekeyfortransaction"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/stripe_publishable_key"}],"content":{"contentType":"group","meta":{"name":"F2F Buyer/Seller Details"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"F2F Buyer/Seller Details","showPageActions":true},{"nodeType":"markdoc","content":"User details endpoints for face-to-face transactions."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/p2p/transactions/{transaction_id}/billing_details","summary":"Get billing details from this p2p transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-buyerseller-details/p2p.getbillingdetails","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/buyer_details","summary":"Get the details of the buyer from this face-to-face transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-buyerseller-details/p2p.getbuyerdetails","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/seller_details","summary":"Get the details of the seller from this face-to-face transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-buyerseller-details/p2p.getsellerdetailsfortransaction","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/stripe_publishable_key","summary":"Get the details for the Stripe publishable key that is in use for this face-to-face transaction\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/f2f-buyerseller-details/p2p.getstripepublishablekeyfortransaction","deprecated":false}]}]}]}]}},{"type":"group","label":"F2F Shipping","link":"/apis/v1.0/openapi/f2f-shipping","routeSlug":"/apis/v1.0/openapi/f2f-shipping","items":[{"label":"Confirm delivery for this F2F transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-shipping/p2p.confirmdelivery","routeSlug":"/apis/v1.0/openapi/f2f-shipping/p2p.confirmdelivery","metadata":{"seo":{"title":"Confirm delivery for this F2F transaction","description":"This endpoint allows the buyer to manually confirm the delivery of the item in the case that the state of the transaction was not updated asynchronously by Trustap."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.confirmDelivery","name":"Confirm delivery for this F2F transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_delivery/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Confirm delivery for this F2F transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint allows the buyer to manually confirm the delivery\nof the item in the case that the state of the transaction was\nnot updated asynchronously by Trustap.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_delivery/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/confirm_delivery","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/confirm_delivery","href":"f2f-shipping/p2p.confirmdelivery","openApiOperationId":"p2p.confirmDelivery","summary":"Confirm delivery for this F2F transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"delivery_not_supported"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"delivery_already_set"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_not_accepted"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_delivery/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-shipping/p2p.confirmdelivery"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/confirm_delivery"},{"label":"Confirm delivery for this F2F transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/f2f-shipping/p2p.confirmdeliverywithguestbuyer","routeSlug":"/apis/v1.0/openapi/f2f-shipping/p2p.confirmdeliverywithguestbuyer","metadata":{"seo":{"title":"Confirm delivery for this F2F transaction","description":"This endpoint allows the client to manually confirm the deliveryon behalf of the guest buyer specified in the header as Trustap-User."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.confirmDeliveryWithGuestBuyer","name":"Confirm delivery for this F2F transaction","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_delivery_with_guest_buyer/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Confirm delivery for this F2F transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint allows the client to manually confirm the delivery"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"on behalf of the guest buyer specified in the header as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Trustap-User"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"transaction_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_delivery_with_guest_buyer/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Trustap-User","in":"header","schemaId":"schema_84","description":"Required in client flows, where you make API calls on behalf of another Trustap user."}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_delivery_with_guest_buyer/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/transactions/{transaction_id}/confirm_delivery_with_guest_buyer","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"transaction_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[{"name":"Trustap-User","in":"header","required":false,"schemaId":"schema_84"}],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/transactions/{transaction_id}/confirm_delivery_with_guest_buyer","href":"f2f-shipping/p2p.confirmdeliverywithguestbuyer","openApiOperationId":"p2p.confirmDeliveryWithGuestBuyer","summary":"Confirm delivery for this F2F transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}},"schemaId":"components/schemas/p2p.Transaction"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"delivery_not_supported"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"delivery_already_set"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"payment_not_accepted"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_id"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Forbidden"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"not_buyer"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1p2p~1transactions~1{transaction_id}~1confirm_delivery_with_guest_buyer/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/p2p.Transaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.Transaction"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"403","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-shipping/p2p.confirmdeliverywithguestbuyer"}],"panels":[]}]},"httpPath":"/api/v1/p2p/transactions/{transaction_id}/confirm_delivery_with_guest_buyer"}],"content":{"contentType":"group","meta":{"name":"F2F Shipping"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"F2F Shipping","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/p2p/transactions/{transaction_id}/confirm_delivery","summary":"Confirm delivery for this F2F transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-shipping/p2p.confirmdelivery","deprecated":false},{"title":"/api/v1/p2p/transactions/{transaction_id}/confirm_delivery_with_guest_buyer","summary":"Confirm delivery for this F2F transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/f2f-shipping/p2p.confirmdeliverywithguestbuyer","deprecated":false}]}]}]}]}},{"type":"separator","label":"Trustap lite","content":null},{"type":"group","label":"Trustap Lite","link":"/apis/v1.0/openapi/trustap-lite","routeSlug":"/apis/v1.0/openapi/trustap-lite","items":[{"label":"Creates a transaction with guest seller and returns actions\npage url\n","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/trustap-lite/p2p.createlistingwithseller","routeSlug":"/apis/v1.0/openapi/trustap-lite/p2p.createlistingwithseller","metadata":{"seo":{"title":"Creates a transaction with guest seller and returns actions\npage url\n","description":"Creates a transaction with guest seller and returns actions\npage url\n"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"p2p.createListingWithSeller","name":"Creates a transaction with guest seller and returns actions\npage url\n","isWebhook":false,"pointer":"/paths/~1api~1v1~1p2p~1listings~1create_with_seller/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Creates a transaction with guest seller and returns actions\npage url\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"APIKey","scopes":[],"type":"http","scheme":"basic"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_135"}},"schemaId":"schema_135","pointer":"/paths/~1api~1v1~1p2p~1listings~1create_with_seller/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/p2p/listings/create_with_seller","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"APIKey","type":"http","scheme":"basic","x-defaultUsername":"<API_KEY>","x-defaultPassword":"​"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_135"}},"responseCodes":["201","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/p2p/listings/create_with_seller","href":"trustap-lite/p2p.createlistingwithseller","openApiOperationId":"p2p.createListingWithSeller","summary":"Creates a transaction with guest seller and returns actions\npage url\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"schemaId":"schema_135","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_135"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.ActionsUrl"}},"schemaId":"components/schemas/p2p.ActionsUrl"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"* "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_role"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": '' is not a valid role"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"* "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_image_url"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": '' is not a valid image url"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"* "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"image_url_too_long"},"children":[]}]}]}]}],"pointer":"/paths/~1api~1v1~1p2p~1listings~1create_with_seller/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/p2p.ActionsUrl","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/p2p.ActionsUrl"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/trustap-lite/p2p.createlistingwithseller"}],"panels":[]}]},"httpPath":"/api/v1/p2p/listings/create_with_seller"}],"content":{"contentType":"group","meta":{"name":"Trustap Lite"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Trustap Lite","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/p2p/listings/create_with_seller","summary":"Creates a transaction with guest seller and returns actions\npage url\n","prefix":{"name":"post","color":"post"},"badges":[],"link":"/trustap-lite/p2p.createlistingwithseller","deprecated":false}]}]}]}]}},{"type":"separator","label":"Notifications","content":null},{"type":"group","label":"Notifications","link":"/apis/v1.0/openapi/notifications","routeSlug":"/apis/v1.0/openapi/notifications","items":[{"label":"Get the notifications for the logged-in user","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/notifications/app_notifs.getnotifications","routeSlug":"/apis/v1.0/openapi/notifications/app_notifs.getnotifications","metadata":{"seo":{"title":"Get the notifications for the logged-in user","description":"Get the notifications for the logged-in user"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"app_notifs.getNotifications","name":"Get the notifications for the logged-in user","isWebhook":false,"pointer":"/paths/~1api~1v1~1me~1notifications/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the notifications for the logged-in user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"before_id","in":"query","schemaId":"schema_99","description":"Only return transactions that were created chronologically\nbefore the transaction with this ID\n"},{"name":"after_id","in":"query","schemaId":"schema_99","description":"Only return notifications that were created chronologically\nafter the notification with this ID (i.e. with smaller IDs)\n"},{"name":"limit","in":"query","schemaId":"schema_100","description":"The maximum number of notifications to return\n"}],"pointer":"/paths/~1api~1v1~1me~1notifications/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/me/notifications","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[],"query":[{"name":"before_id","in":"query","schemaId":"schema_99"},{"name":"after_id","in":"query","schemaId":"schema_99"},{"name":"limit","in":"query","schemaId":"schema_100"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","400"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/me/notifications","href":"notifications/app_notifs.getnotifications","openApiOperationId":"app_notifs.getNotifications","summary":"Get the notifications for the logged-in user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_136"}},"schemaId":"schema_136"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be one of the following:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_before_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_after_id"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invalid_limit"},"children":[]}]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}},"schemaId":"components/schemas/Error"}],"pointer":"/paths/~1api~1v1~1me~1notifications/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_136","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_136"}}},{"code":"400","schemaId":"components/schemas/Error","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/notifications/app_notifs.getnotifications"}],"panels":[]}]},"httpPath":"/api/v1/me/notifications"},{"label":"Get a notification by its ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/notifications/app_notifs.getnotification","routeSlug":"/apis/v1.0/openapi/notifications/app_notifs.getnotification","metadata":{"seo":{"title":"Get a notification by its ID","description":"Get a notification by its ID"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"app_notifs.getNotification","name":"Get a notification by its ID","isWebhook":false,"pointer":"/paths/~1api~1v1~1notifications~1{notification_id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get a notification by its ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"notification_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1notifications~1{notification_id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/v1/notifications/{notification_id}","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"notification_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/notifications/{notification_id}","href":"notifications/app_notifs.getnotification","openApiOperationId":"app_notifs.getNotification","summary":"Get a notification by its ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/app_notifs.Notification"}},"schemaId":"components/schemas/app_notifs.Notification"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1notifications~1{notification_id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/app_notifs.Notification","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/app_notifs.Notification"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/notifications/app_notifs.getnotification"}],"panels":[]}]},"httpPath":"/api/v1/notifications/{notification_id}"},{"label":"Mark this notification as read","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v1.0/openapi/notifications/app_notifs.marknotificationasread","routeSlug":"/apis/v1.0/openapi/notifications/app_notifs.marknotificationasread","metadata":{"seo":{"title":"Mark this notification as read","description":"Mark this notification as read"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"app_notifs.markNotificationAsRead","name":"Mark this notification as read","isWebhook":false,"pointer":"/paths/~1api~1v1~1notifications~1{notification_id}~1mark_as_read/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Mark this notification as read","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"notification_id","in":"path","schemaId":"schema_105","required":true}],"pointer":"/paths/~1api~1v1~1notifications~1{notification_id}~1mark_as_read/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/v1/notifications/{notification_id}/mark_as_read","servers":[{"url":"https://dev.stage.trustap.com"}],"parameters":{"path":[{"name":"notification_id","in":"path","required":true,"schemaId":"schema_105"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}],"scopes":[]}],"responseCodes":["200","404"],"requestValues":{"security":{"APIKey":{"username":"<API_KEY>","password":"​"}}},"pointer":"/api/v1/notifications/{notification_id}/mark_as_read","href":"notifications/app_notifs.marknotificationasread","openApiOperationId":"app_notifs.markNotificationAsRead","summary":"Mark this notification as read"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://dev.stage.trustap.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/app_notifs.Notification"}},"schemaId":"components/schemas/app_notifs.Notification"},{"code":"404","description":"Not Found"}],"pointer":"/paths/~1api~1v1~1notifications~1{notification_id}~1mark_as_read/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/app_notifs.Notification","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/app_notifs.Notification"}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/notifications/app_notifs.marknotificationasread"}],"panels":[]}]},"httpPath":"/api/v1/notifications/{notification_id}/mark_as_read"}],"content":{"contentType":"group","meta":{"name":"Notifications"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Notifications","showPageActions":true},{"nodeType":"markdoc","content":"Notifications log updates for users."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/v1/me/notifications","summary":"Get the notifications for the logged-in user","prefix":{"name":"get","color":"get"},"badges":[],"link":"/notifications/app_notifs.getnotifications","deprecated":false},{"title":"/api/v1/notifications/{notification_id}","summary":"Get a notification by its ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/notifications/app_notifs.getnotification","deprecated":false},{"title":"/api/v1/notifications/{notification_id}/mark_as_read","summary":"Mark this notification as read","prefix":{"name":"post","color":"post"},"badges":[],"link":"/notifications/app_notifs.marknotificationasread","deprecated":false}]}]}]}]}},{"type":"separator","label":"Deprecated endpoints","content":null},{"type":"group","label":"F2F Multi-use Listings","link":"/apis/v1.0/openapi/f2f-multi-use-listings","routeSlug":"/apis/v1.0/openapi/f2f-multi-use-listings","items":[],"content":{"contentType":"group","meta":{"name":"F2F Multi-use Listings"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"F2F Multi-use Listings","showPageActions":true},{"nodeType":"markdoc","content":"These endpoints are no longer supported. We do not recommend using these\nendpoints."}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-multi-use-listings"}],"panels":[]}]}},{"type":"group","label":"F2F Single-use Listings","link":"/apis/v1.0/openapi/f2f-single-use-listings","routeSlug":"/apis/v1.0/openapi/f2f-single-use-listings","items":[],"content":{"contentType":"group","meta":{"name":"F2F Single-use Listings"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"F2F Single-use Listings","showPageActions":true},{"nodeType":"markdoc","content":"These endpoints are no longer supported. We do not recommend using these\nendpoints."}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/f2f-single-use-listings"}],"panels":[]}]}}],"store":{"schemaStore":{"components/schemas/Carrier":{"id":"components/schemas/Carrier","kind":"json-schema","title":"Carrier","data":{"properties":{"code":{"type":"string"},"name":{"type":"string"}},"required":["code","name"],"type":"object"}},"components/schemas/Complaint":{"id":"components/schemas/Complaint","kind":"json-schema","title":"Complaint","data":{"example":{"description":"Item was fake"},"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"}},"components/schemas/Currency":{"id":"components/schemas/Currency","kind":"json-schema","title":"Currency","data":{"enum":["aud","eur","gbp","myr","pln","sek","usd","huf"],"example":"eur","type":"string"}},"components/schemas/DocumentVerification":{"id":"components/schemas/DocumentVerification","kind":"json-schema","title":"DocumentVerification","data":{"example":{"previously_submitted":true,"status":"verifying"},"properties":{"previously_submitted":{"type":"boolean"},"status":{"description":"Verification status of the document could be one of the following:\n`due`, `not_due`, `verifying`, `verified`\n","type":"string"}},"required":["status","previously_submitted"],"type":"object"}},"components/schemas/Error":{"id":"components/schemas/Error","kind":"json-schema","title":"Error","data":{"example":{"code":"negative_price","error":"`price` cannot be negative"},"properties":{"code":{"type":"string"},"error":{"description":"A contextual description of the error that occurred. When\nhandling errors the `code` field should be used to determine\nthe type of error that occurred, as the text in the `error`\nfield may change unexpectedly.\n","type":"string"}},"required":["code","error"],"type":"object"}},"components/schemas/ListingType":{"id":"components/schemas/ListingType","kind":"json-schema","title":"ListingType","data":{"enum":["single_use","multi_use"],"example":"single_use","type":"string"}},"components/schemas/OrderIssue":{"id":"components/schemas/OrderIssue","kind":"json-schema","title":"OrderIssue","data":{"example":{"description":"Delivery delayed"},"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"}},"components/schemas/PostaHrTracking":{"id":"components/schemas/PostaHrTracking","kind":"json-schema","title":"PostaHrTracking","data":{"example":{"barcode":"ABC123456","barcode_generated":"2019-12-26T14:00:00Z"},"properties":{"barcode":{"type":"string"},"barcode_generated":{"format":"date-time","type":"string"}},"required":["barcode","barcode_generated"],"type":"object"}},"components/schemas/ProfilePayoutStatus":{"id":"components/schemas/ProfilePayoutStatus","kind":"json-schema","title":"ProfilePayoutStatus","data":{"example":{"status":"verifying"},"properties":{"status":{"description":"Payout status will be one of the following:\n- `complete`: The user has completed their profile and payment information,\nand can accept payouts.\n- `verifying`: The user has submitted profile and payment information, which\nis currently being verified.\n- `due`: The user has not adequately filled out their payment information,\nor may need to update or ammend the provided information before they can\naccept payouts.\n","enum":["complete","verifying","due"],"type":"string"}},"required":["status"],"type":"object"}},"components/schemas/ShippingDetails":{"id":"components/schemas/ShippingDetails","kind":"json-schema","title":"ShippingDetails","data":{"properties":{"address":{"$ref":"#/components/schemas/ShippingDetailsAddress"},"name":{"type":"string"},"phone":{"type":"string"}},"required":["address","name","phone"],"type":"object"}},"components/schemas/ShippingDetailsAddress":{"id":"components/schemas/ShippingDetailsAddress","kind":"json-schema","title":"ShippingDetailsAddress","data":{"properties":{"city":{"type":"string"},"country":{"type":"string"},"line1":{"type":"string"},"line2":{"type":"string"},"postal_code":{"type":"string"},"state":{"type":"string"}},"required":["city","country","line1","line2","state","postal_code"],"type":"object"}},"components/schemas/ShippoLabelDetails":{"id":"components/schemas/ShippoLabelDetails","kind":"json-schema","title":"ShippoLabelDetails","data":{"properties":{"label_url":{"type":"string"},"qr_code_url":{"format":"uri","type":"string"},"tracking_code":{"type":"string"},"tracking_url":{"type":"string"}},"required":["label_url","tracking_url","tracking_code"],"type":"object"}},"components/schemas/Tracking":{"id":"components/schemas/Tracking","kind":"json-schema","title":"Tracking","data":{"example":{"carrier":"ups","tracking_code":"***"},"properties":{"carrier":{"type":"string"},"tracking_code":{"type":"string"}},"required":["carrier","tracking_code"],"type":"object"}},"components/schemas/UserDetails":{"id":"components/schemas/UserDetails","kind":"json-schema","title":"UserDetails","data":{"properties":{"email":{"type":"string"},"name":{"$ref":"#/components/schemas/basic.UserDetailsName"},"phone":{"type":"string"}},"required":["email"],"type":"object"}},"components/schemas/app_notifs.Notification":{"id":"components/schemas/app_notifs.Notification","kind":"json-schema","title":"app_notifs.Notification","data":{"example":{"created":"2019-12-25T10:00:00Z","description":"Buyer has joined transaction for 'Soccer ticket'","id":1990,"target":"basic/1309","user_id":"ad5bb99f-85bf-47e1-be0d-15e7541c6ad7"},"properties":{"created":{"format":"date-time","type":"string"},"description":{"type":"string"},"id":{"format":"int64","type":"integer"},"read":{"format":"date-time","type":"string"},"target":{"type":"string"},"user_id":{"type":"string"}},"required":["id","created","user_id","description","target"],"type":"object"}},"components/schemas/basic.Aba":{"id":"components/schemas/basic.Aba","kind":"json-schema","title":"basic.Aba","data":{"properties":{"account_number":{"type":"string"},"bank_name":{"type":"string"},"routing_number":{"type":"string"}},"required":["account_number","bank_name","routing_number"],"type":"object"}},"components/schemas/basic.BankTransferDetails":{"id":"components/schemas/basic.BankTransferDetails","kind":"json-schema","title":"basic.BankTransferDetails","data":{"properties":{"amount":{"format":"int64","type":"integer"},"currency":{"type":"string"},"financial_address":{"$ref":"#/components/schemas/basic.FinancialAddress"},"hosted_instructions_url":{"type":"string"},"reference":{"type":"string"}},"required":["amount","currency","hosted_instructions_url","reference","financial_address"],"type":"object"}},"components/schemas/basic.BillingDetails":{"id":"components/schemas/basic.BillingDetails","kind":"json-schema","title":"basic.BillingDetails","data":{"properties":{"email":{"type":"string"},"name":{"type":"string"},"phone":{"type":"string"}},"required":["email"],"type":"object"}},"components/schemas/basic.Charge":{"id":"components/schemas/basic.Charge","kind":"json-schema","title":"basic.Charge","data":{"example":{"charge":340,"charge_buyer_client":0,"charge_calculator_version":5,"charge_config":1,"charge_postage_buyer":1000,"charge_seller":0,"charge_seller_client":0,"currency":"eur","payment_method":"card","price":10000},"properties":{"charge":{"description":"The Trustap fee that the buyer will pay, in the `currency`'s\nsmallest unit, for a queried amount. See [the Stripe\ndocumentation](https://stripe.com/docs/currencies#zero-decimal)\nfor more details.\n","format":"int64","type":"integer"},"charge_buyer_client":{"description":"The portion of the buyer's fee that is attributed to the client,\nin the `currency`'s smallest unit.\n","format":"int64","type":"integer"},"charge_calculator_version":{"description":"The version of the Trustap charge calculator that was used\nto calculate this charge.\n\nThis property is present for error-handling purposes. The\nTrustap API allows apps and users to query how much Trustap\nwill charge for a transaction before creating a transaction.\nTrustap then requires the queried charge to be provided when\ncreating a transaction or listing. At this point the charge\nis calculated again and checked against the provided charge,\nto ensure that the charge calculated for the new resource is\nthe same as the one shown to the user. In the unlikely event\nthat the Trustap charge calculator used to calculate the\ncharge has been updated, then the\n`charge_calculator_version` property will be used to return\nan `incorrect_calc_version` to the API client, which will\nindicate that the `/charge` endpoint should be queried again\nto get the newest charge value.\n","format":"int64","type":"integer"},"charge_config":{"default":1,"description":"The config for which the charge amount is computed.\n","format":"int64","type":"integer"},"charge_postage_buyer":{"description":"When the transaction handles the generation of postage\nlabels, then `charge_postage_buyer` will be added to cover this\nfee together with `charge_postage_client`\n","format":"int64","type":"integer"},"charge_postage_client":{"format":"int64","type":"integer"},"charge_seller":{"description":"The Trustap fee that the seller will pay, in the\n`currency`'s smallest unit, for a queried amount. See [the\nStripe\ndocumentation](https://stripe.com/docs/currencies#zero-decimal)\nfor more details.\n","format":"int64","type":"integer"},"charge_seller_client":{"description":"The portion of the seller's fee that is attributed to the client,\nin the `currency`'s smallest unit.\n","format":"int64","type":"integer"},"currency":{"type":"string"},"payment_method":{"type":"string"},"price":{"format":"int64","type":"integer"}},"required":["currency","charge","charge_seller","charge_buyer_client","charge_seller_client","charge_calculator_version","price"],"type":"object"}},"components/schemas/basic.ClientTimelines":{"id":"components/schemas/basic.ClientTimelines","kind":"json-schema","title":"basic.ClientTimelines","data":{"properties":{"complaint_period_seconds":{"format":"int64","type":"integer"},"delivery_allowance_seconds":{"format":"int64","type":"integer"},"tracking_details_allowance_seconds":{"format":"int64","type":"integer"}},"type":"object"}},"components/schemas/basic.DistanceUnit":{"id":"components/schemas/basic.DistanceUnit","kind":"json-schema","title":"basic.DistanceUnit","data":{"enum":["in","cm"],"example":"cm","type":"string"}},"components/schemas/basic.Feature":{"id":"components/schemas/basic.Feature","kind":"json-schema","title":"basic.Feature","data":{"enum":["require_seller_acceptance","use_hr_post","use_shippo"],"example":"require_seller_acceptance","type":"string"}},"components/schemas/basic.FinancialAddress":{"id":"components/schemas/basic.FinancialAddress","kind":"json-schema","title":"basic.FinancialAddress","data":{"properties":{"aba":{"$ref":"#/components/schemas/basic.Aba"},"iban":{"$ref":"#/components/schemas/basic.Iban"},"sort_code":{"$ref":"#/components/schemas/basic.SortCode"},"swift":{"$ref":"#/components/schemas/basic.Swift"}},"type":"object"}},"components/schemas/basic.Iban":{"id":"components/schemas/basic.Iban","kind":"json-schema","title":"basic.Iban","data":{"properties":{"account_holder_name":{"type":"string"},"bic":{"type":"string"},"country":{"type":"string"},"iban":{"type":"string"}},"required":["account_holder_name","bic","country","iban"],"type":"object"}},"components/schemas/basic.MassUnit":{"id":"components/schemas/basic.MassUnit","kind":"json-schema","title":"basic.MassUnit","data":{"enum":["lb","kg"],"example":"kg","type":"string"}},"components/schemas/basic.Refund":{"id":"components/schemas/basic.Refund","kind":"json-schema","title":"basic.Refund","data":{"properties":{"amount":{"format":"int64","type":"integer"},"id":{"type":"string"},"refunded":{"format":"date-time","type":"string"}},"required":["id","amount","refunded"],"type":"object"}},"components/schemas/basic.Review":{"id":"components/schemas/basic.Review","kind":"json-schema","title":"basic.Review","data":{"properties":{"approved":{"type":"boolean"},"finished":{"format":"date-time","type":"string"},"outcome_reason":{"type":"string"},"started":{"format":"date-time","type":"string"}},"type":"object"}},"components/schemas/basic.Role":{"id":"components/schemas/basic.Role","kind":"json-schema","title":"basic.Role","data":{"enum":["buyer","seller"],"example":"buyer","type":"string"}},"components/schemas/basic.ServiceLevel":{"id":"components/schemas/basic.ServiceLevel","kind":"json-schema","title":"basic.ServiceLevel","data":{"properties":{"extended_token":{"type":"string"},"name":{"type":"string"},"terms":{"type":"string"},"token":{"type":"string"}},"required":["name","terms","token","extended_token"],"type":"object"}},"components/schemas/basic.ShipmentLabel":{"id":"components/schemas/basic.ShipmentLabel","kind":"json-schema","title":"basic.ShipmentLabel","data":{"properties":{"label":{"type":"string"}},"required":["label"],"type":"object"}},"components/schemas/basic.ShippoAddress":{"id":"components/schemas/basic.ShippoAddress","kind":"json-schema","title":"basic.ShippoAddress","data":{"properties":{"city":{"type":"string"},"country":{"type":"string"},"email":{"type":"string"},"full_name":{"type":"string"},"phone":{"type":"string"},"state":{"type":"string"},"street_1":{"type":"string"},"street_2":{"type":"string"},"zip_code":{"type":"string"}},"required":["full_name","street_1","zip_code","city","state","country","phone"],"type":"object"}},"components/schemas/basic.ShippoParcel":{"id":"components/schemas/basic.ShippoParcel","kind":"json-schema","title":"basic.ShippoParcel","data":{"properties":{"distance_unit":{"type":"string"},"height":{"format":"double","type":"number"},"length":{"format":"double","type":"number"},"mass_unit":{"type":"string"},"shipment_date":{"type":"string"},"weight":{"format":"double","type":"number"},"width":{"format":"double","type":"number"}},"required":["height","weight","width","length","mass_unit","distance_unit","shipment_date"],"type":"object"}},"components/schemas/basic.ShippoRate":{"id":"components/schemas/basic.ShippoRate","kind":"json-schema","title":"basic.ShippoRate","data":{"properties":{"amount":{"type":"string"},"amount_local":{"type":"string"},"arrives_by":{"type":"string"},"attributes":{"items":{"type":"string"},"type":"array"},"currency":{"type":"string"},"currency_local":{"type":"string"},"duration_terms":{"type":"string"},"estimated_days":{"format":"int64","type":"integer"},"id":{"type":"string"},"provider":{"type":"string"},"provider_image":{"type":"string"},"servicelevel":{"$ref":"#/components/schemas/basic.ServiceLevel"}},"required":["id","amount","currency","amount_local","currency_local","provider","provider_image","duration_terms","estimated_days","attributes","servicelevel"],"type":"object"}},"components/schemas/basic.ShippoShippingRatesResponse":{"id":"components/schemas/basic.ShippoShippingRatesResponse","kind":"json-schema","title":"basic.ShippoShippingRatesResponse","data":{"properties":{"rates":{"items":{"$ref":"#/components/schemas/basic.ShippoRate"},"type":"array"},"shipment_id":{"type":"string"}},"required":["shipment_id","rates"],"type":"object"}},"components/schemas/basic.SortCode":{"id":"components/schemas/basic.SortCode","kind":"json-schema","title":"basic.SortCode","data":{"properties":{"account_holder_name":{"type":"string"},"account_number":{"type":"string"},"sort_code":{"type":"string"}},"required":["account_holder_name","account_number","sort_code"],"type":"object"}},"components/schemas/basic.Swift":{"id":"components/schemas/basic.Swift","kind":"json-schema","title":"basic.Swift","data":{"properties":{"account_number":{"type":"string"},"bank_name":{"type":"string"},"swift_code":{"type":"string"}},"required":["account_number","bank_name","swift_code"],"type":"object"}},"components/schemas/basic.Transaction":{"id":"components/schemas/basic.Transaction","kind":"json-schema","title":"basic.Transaction","data":{"example":{"buyer_id":"feb33a87-3917-4538-9260-127c8a6b5232","charge":78,"charge_buyer_client":0,"charge_seller":0,"charge_seller_client":0,"client_id":"trustap-app","created":"2019-12-25T09:00:00Z","currency":"eur","delivered":"2019-12-25T13:00:00Z","description":"Soccer ticket","funds_released":"2019-12-26T14:00:00Z","id":1309,"is_payment_in_progress":false,"joined":"2019-12-25T10:00:00Z","paid":"2019-12-25T11:00:00Z","posta_hr_tracking":{"barcode":"ABC12345","barcode_generated":"2019-12-25T12:00:00Z"},"price":1234,"quantity":1,"seller_id":"ad5bb99f-85bf-47e1-be0d-15e7541c6ad7","status":"funds_released","tracked":"2019-12-25T12:00:00Z","tracking":{"carrier":"ups","tracking_code":"***"}},"properties":{"amount_refunded":{"format":"int64","type":"integer"},"amount_released":{"format":"int64","type":"integer"},"buyer_id":{"type":"string"},"cancelled":{"format":"date-time","type":"string"},"charge":{"format":"int64","type":"integer"},"charge_buyer_client":{"format":"int64","type":"integer"},"charge_international_payment":{"format":"int64","type":"integer"},"charge_postage_buyer":{"format":"int64","type":"integer"},"charge_postage_client":{"format":"int64","type":"integer"},"charge_seller":{"format":"int64","type":"integer"},"charge_seller_client":{"format":"int64","type":"integer"},"claimed_by_buyer":{"format":"date-time","type":"string"},"client_id":{"type":"string"},"complained":{"format":"date-time","type":"string"},"complaint":{"$ref":"#/components/schemas/Complaint"},"complaint_period_deadline":{"format":"date-time","type":"string"},"complaint_period_ended":{"format":"date-time","type":"string"},"created":{"format":"date-time","type":"string"},"currency":{"description":"The currency of the transaction. Note that, at present, the\nbuyer must pay using the transaction's currency and the\nseller will be paid in the transaction's currency.\n","type":"string"},"delivered":{"format":"date-time","type":"string"},"denied":{"format":"date-time","type":"string"},"description":{"type":"string"},"funds_released":{"format":"date-time","type":"string"},"id":{"format":"int64","type":"integer"},"image_url":{"description":"URL of the image displayed on the Trustap payment page to show the buyer\nthe item they are paying for.\nSupports jpg, png, gif, bmp and svg files. Images displayed as a squares.\nNon-square images are cropped\n","format":"absolute_url","type":"string"},"is_payment_in_progress":{"description":"If the transaction is paid via a delayed payment method,\nsuch as SEPA debit, this field will be `true` until the\npayment has fully succeeded or failed.\n","type":"boolean"},"join_code":{"type":"string"},"joined":{"format":"date-time","type":"string"},"listing_creator_accepted":{"format":"date-time","type":"string"},"listing_creator_rejected":{"format":"date-time","type":"string"},"listing_id":{"description":"If the transaction is created from a listing then this is\nthe ID of that listing; otherwise this property is omitted.\n","type":"string"},"listing_type":{"$ref":"#/components/schemas/ListingType"},"order_issue":{"$ref":"#/components/schemas/OrderIssue"},"order_issue_raised":{"format":"date-time","type":"string"},"paid":{"format":"date-time","type":"string"},"payment_accepted":{"format":"date-time","type":"string"},"payment_refunded":{"format":"date-time","type":"string"},"posta_hr_tracking":{"$ref":"#/components/schemas/PostaHrTracking"},"price":{"format":"int64","type":"integer"},"quantity":{"format":"int64","type":"integer"},"refunds":{"items":{"$ref":"#/components/schemas/basic.Refund"},"type":"array"},"released_to_seller":{"type":"boolean"},"review":{"$ref":"#/components/schemas/basic.Review"},"review_flagged":{"format":"date-time","type":"string"},"seller_id":{"type":"string"},"shippo_transaction_id":{"type":"string"},"status":{"type":"string"},"tracked":{"format":"date-time","type":"string"},"tracking":{"$ref":"#/components/schemas/Tracking"},"tracking_details_deadline":{"format":"date-time","type":"string"},"tracking_details_window_started":{"format":"date-time","type":"string"}},"required":["id","status","currency","price","charge","charge_seller","charge_buyer_client","charge_seller_client","description","quantity","created","is_payment_in_progress","client_id"],"type":"object"}},"components/schemas/basic.UserDetailsName":{"id":"components/schemas/basic.UserDetailsName","kind":"json-schema","title":"basic.UserDetailsName","data":{"example":{"first":"John","last":"Doe"},"properties":{"first":{"type":"string"},"last":{"type":"string"}},"required":["first","last"],"type":"object"}},"components/schemas/p2p.Aba":{"id":"components/schemas/p2p.Aba","kind":"json-schema","title":"p2p.Aba","data":{"properties":{"account_number":{"type":"string"},"bank_name":{"type":"string"},"routing_number":{"type":"string"}},"required":["account_number","bank_name","routing_number"],"type":"object"}},"components/schemas/p2p.ActionsUrl":{"id":"components/schemas/p2p.ActionsUrl","kind":"json-schema","title":"p2p.ActionsUrl","data":{"properties":{"actions_url":{"type":"string"}},"required":["actions_url"],"type":"object"}},"components/schemas/p2p.BankTransferDetails":{"id":"components/schemas/p2p.BankTransferDetails","kind":"json-schema","title":"p2p.BankTransferDetails","data":{"properties":{"amount":{"format":"int64","type":"integer"},"currency":{"type":"string"},"financial_address":{"$ref":"#/components/schemas/p2p.FinancialAddress"},"hosted_instructions_url":{"type":"string"},"reference":{"type":"string"}},"required":["amount","currency","hosted_instructions_url","reference","financial_address"],"type":"object"}},"components/schemas/p2p.Cancellation":{"id":"components/schemas/p2p.Cancellation","kind":"json-schema","title":"p2p.Cancellation","data":{"properties":{"reason":{"type":"string"}},"required":["reason"],"type":"object"}},"components/schemas/p2p.Charge":{"id":"components/schemas/p2p.Charge","kind":"json-schema","title":"p2p.Charge","data":{"example":{"charge":78,"charge_buyer_client":0,"charge_calculator_version":5,"charge_config":1,"charge_seller":0,"charge_seller_client":0,"currency":"eur","payment_method":"card","price":1234,"price_extra":0},"properties":{"charge":{"description":"The Trustap fee that the buyer will pay, in the `currency`'s\nsmallest unit, for a queried amount. See [the Stripe\ndocumentation](https://stripe.com/docs/currencies#zero-decimal)\nfor more details.\n","format":"int64","type":"integer"},"charge_buyer_client":{"description":"The portion of the buyer's fee that is attributed to the client,\nin the `currency`'s smallest unit.\n","format":"int64","type":"integer"},"charge_calculator_version":{"description":"The version of the Trustap charge calculator that was used\nto calculate this charge.\n\nThis property is present for error-handling purposes. The\nTrustap API allows apps and users to query how much Trustap\nwill charge for a transaction before creating a transaction.\nTrustap then requires the queried charge to be provided when\ncreating a transaction or listing. At this point the charge\nis calculated again and checked against the provided charge,\nto ensure that the charge calculated for the new resource is\nthe same as the one shown to the user. In the unlikely event\nthat the Trustap charge calculator used to calculate the\ncharge has been updated, then the\n`charge_calculator_version` property will be used to return\nan `incorrect_calc_version` to the API client, which will\nindicate that the `/charge` endpoint should be queried again\nto get the newest charge value.\n","format":"int64","type":"integer"},"charge_config":{"default":1,"format":"int64","type":"integer"},"charge_seller":{"description":"The Trustap fee that the seller will pay, in the\n`currency`'s smallest unit, for a queried amount. See [the\nStripe\ndocumentation](https://stripe.com/docs/currencies#zero-decimal)\nfor more details.\n","format":"int64","type":"integer"},"charge_seller_client":{"description":"The portion of the seller's fee that is attributed to the client,\nin the `currency`'s smallest unit.\n","format":"int64","type":"integer"},"currency":{"type":"string"},"payment_method":{"type":"string"},"price":{"format":"int64","type":"integer"},"price_extra":{"description":"Represents an additional charge to be paid by the buyer added\nto the transaction total. Use this field to include costs like\nprocessing fees, local taxes, or shipping surcharges.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD). Defaults to 0 if not provided.\n","format":"int64","type":"integer"},"price_postage":{"description":"Represents the postage/shipping cost to be paid by the buyer.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD).\n","format":"int64","type":"integer"}},"required":["currency","charge","charge_seller","charge_buyer_client","charge_seller_client","charge_calculator_version","price"],"type":"object"}},"components/schemas/p2p.ClientTimelines":{"id":"components/schemas/p2p.ClientTimelines","kind":"json-schema","title":"p2p.ClientTimelines","data":{"properties":{"complaint_period_seconds":{"format":"int64","type":"integer"}},"type":"object"}},"components/schemas/p2p.Complaint":{"id":"components/schemas/p2p.Complaint","kind":"json-schema","title":"p2p.Complaint","data":{"example":{"category":"other","description":"Item was fake"},"properties":{"accepted":{"format":"date-time","type":"string"},"category":{"$ref":"#/components/schemas/p2p.ComplaintCategory"},"description":{"type":"string"}},"required":["description","category"],"type":"object"}},"components/schemas/p2p.ComplaintCategory":{"id":"components/schemas/p2p.ComplaintCategory","kind":"json-schema","title":"p2p.ComplaintCategory","data":{"enum":["item_not_received","item_not_as_described","other"],"example":"other","type":"string"}},"components/schemas/p2p.Currency":{"id":"components/schemas/p2p.Currency","kind":"json-schema","title":"p2p.Currency","data":{"enum":["aud","eur","gbp","myr","pln","sek","usd","huf","aed","brl","cad","chf","dkk","rsd","czk"],"example":"eur","type":"string"}},"components/schemas/p2p.DepositFeeMultiplier":{"id":"components/schemas/p2p.DepositFeeMultiplier","kind":"json-schema","title":"p2p.DepositFeeMultiplier","data":{"properties":{"fee_multiplier":{"format":"double","type":"number"}},"required":["fee_multiplier"],"type":"object"}},"components/schemas/p2p.DepositPaymentMethod":{"id":"components/schemas/p2p.DepositPaymentMethod","kind":"json-schema","title":"p2p.DepositPaymentMethod","data":{"example":{"currency":"eur","deposit_charge":2000,"deposit_charge_seller":0,"deposit_price":200000,"deposit_price_extra":500,"payment_method":"bank_transfer"},"properties":{"charge_config":{"format":"int64","type":"integer"},"currency":{"type":"string"},"deposit_charge":{"format":"int64","type":"integer"},"deposit_charge_seller":{"format":"int64","type":"integer"},"deposit_price":{"format":"int64","type":"integer"},"deposit_price_extra":{"format":"int64","type":"integer"},"deposit_price_postage":{"format":"int64","type":"integer"},"payment_method":{"type":"string"}},"required":["payment_method","currency","deposit_price","deposit_charge","deposit_charge_seller"],"type":"object"}},"components/schemas/p2p.FinancialAddress":{"id":"components/schemas/p2p.FinancialAddress","kind":"json-schema","title":"p2p.FinancialAddress","data":{"properties":{"aba":{"$ref":"#/components/schemas/p2p.Aba"},"iban":{"$ref":"#/components/schemas/p2p.Iban"},"sort_code":{"$ref":"#/components/schemas/p2p.SortCode"},"swift":{"$ref":"#/components/schemas/p2p.Swift"}},"type":"object"}},"components/schemas/p2p.Iban":{"id":"components/schemas/p2p.Iban","kind":"json-schema","title":"p2p.Iban","data":{"properties":{"account_holder_name":{"type":"string"},"bic":{"type":"string"},"country":{"type":"string"},"iban":{"type":"string"}},"required":["account_holder_name","bic","country","iban"],"type":"object"}},"components/schemas/p2p.ListingType":{"id":"components/schemas/p2p.ListingType","kind":"json-schema","title":"p2p.ListingType","data":{"enum":["single_use","multi_use"],"example":"single_use","type":"string"}},"components/schemas/p2p.OrderIssue":{"id":"components/schemas/p2p.OrderIssue","kind":"json-schema","title":"p2p.OrderIssue","data":{"example":{"category":"other","description":"Item was not delivered"},"properties":{"category":{"$ref":"#/components/schemas/p2p.OrderIssueCategory"},"description":{"type":"string"}},"required":["description","category"],"type":"object"}},"components/schemas/p2p.OrderIssueCategory":{"id":"components/schemas/p2p.OrderIssueCategory","kind":"json-schema","title":"p2p.OrderIssueCategory","data":{"enum":["item_not_received","other"],"example":"other","type":"string"}},"components/schemas/p2p.Pricing":{"id":"components/schemas/p2p.Pricing","kind":"json-schema","title":"p2p.Pricing","data":{"example":{"charge":78,"charge_buyer_client":0,"charge_buyer_service":78,"charge_seller":0,"charge_seller_client":0,"charge_seller_service":0,"extra_processing_charge":0,"postage_processing_charge":0,"price":1234,"price_extra":0},"properties":{"charge":{"description":"The total charge of the transaction paid by the buyer.\nThis is the sum of `charge_buyer_service` + `charge_buyer_client`.\n","format":"int64","type":"integer"},"charge_buyer_client":{"description":"Portion of the charge paid by the buyer that is collected as commission for the customer.\n","format":"int64","type":"integer"},"charge_buyer_service":{"description":"Portion of the charge that has been paid by the buyer that is collected as the Trustap fee.\n","format":"int64","type":"integer"},"charge_international_payment":{"description":"This charge is added to the seller charge if the payment method used in a transaction is from a different economic region to the seller.\n","format":"int64","type":"integer"},"charge_seller":{"description":"Portion of the charge paid by the seller.\nThis is the sum of `charge_seller_client` + `charge_seller_service` + `charge_international_payment`.\n","format":"int64","type":"integer"},"charge_seller_client":{"description":"Portion of the charge deducted from the seller's payout that that is collected as commission for the platform.\n","format":"int64","type":"integer"},"charge_seller_service":{"description":"Portion of the charge paid by the seller that is collected as the Trustap fee.\n","format":"int64","type":"integer"},"deposit_fee_multiplier":{"$ref":"#/components/schemas/p2p.DepositFeeMultiplier"},"extra_processing_charge":{"description":"Fee collected to cover the processing costs associated with `price_extra`.\nThis charge is configurable in the Trustap Dashboard and is paid by either the client or the seller.\n","format":"int64","type":"integer"},"postage_bearer":{"description":"Indicates who is responsible for paying the postage price.\nOnly present if `price_postage` is provided.\n","enum":["buyer","seller","client"],"type":"string"},"postage_processing_charge":{"description":"Fee collected to cover the processing costs associated with `price_postage`.\nThis charge is configurable in the Trustap Dashboard and is paid by either the client or the seller.\n","format":"int64","type":"integer"},"price":{"description":"The base price of the item or service in the transaction.\n","format":"int64","type":"integer"},"price_extra":{"description":"This field adds an additional cost to the transaction.\nUse it to charge a buyer for things like tax or fulfillment costs.\nThe `price_extra` field is separate from the `price`` field. This separation displays the additional cost apart from the base price on the Trustap payment page.\nIt also helps clients track the breakdown of charges.\n","format":"int64","type":"integer"},"price_postage":{"description":"This field adds an additional cost to the transaction.\nUse it to charge a buyer for things like shipping costs.\nThe `price_postage` field is separate from the `price`` field. This separation displays the additional cost apart from the base price on the Trustap payment page.\nIt also helps clients track the breakdown of charges.\n","format":"int64","type":"integer"}},"required":["price","price_extra","charge","charge_seller","charge_buyer_client","charge_seller_client","charge_seller_service","charge_buyer_service","extra_processing_charge"],"type":"object"}},"components/schemas/p2p.RecurringPeriod":{"id":"components/schemas/p2p.RecurringPeriod","kind":"json-schema","title":"p2p.RecurringPeriod","data":{"enum":["day","week","month","year"],"example":"month","type":"string"}},"components/schemas/p2p.Refund":{"id":"components/schemas/p2p.Refund","kind":"json-schema","title":"p2p.Refund","data":{"properties":{"amount":{"format":"int64","type":"integer"},"id":{"type":"string"},"refunded":{"format":"date-time","type":"string"}},"required":["id","amount","refunded"],"type":"object"}},"components/schemas/p2p.Review":{"id":"components/schemas/p2p.Review","kind":"json-schema","title":"p2p.Review","data":{"properties":{"approved":{"type":"boolean"},"finished":{"format":"date-time","type":"string"},"outcome_reason":{"type":"string"},"started":{"format":"date-time","type":"string"}},"type":"object"}},"components/schemas/p2p.Role":{"id":"components/schemas/p2p.Role","kind":"json-schema","title":"p2p.Role","data":{"enum":["buyer","seller"],"example":"buyer","type":"string"}},"components/schemas/p2p.SortCode":{"id":"components/schemas/p2p.SortCode","kind":"json-schema","title":"p2p.SortCode","data":{"properties":{"account_holder_name":{"type":"string"},"account_number":{"type":"string"},"sort_code":{"type":"string"}},"required":["account_holder_name","account_number","sort_code"],"type":"object"}},"components/schemas/p2p.Swift":{"id":"components/schemas/p2p.Swift","kind":"json-schema","title":"p2p.Swift","data":{"properties":{"account_number":{"type":"string"},"bank_name":{"type":"string"},"swift_code":{"type":"string"}},"required":["account_number","bank_name","swift_code"],"type":"object"}},"components/schemas/p2p.Tracking":{"id":"components/schemas/p2p.Tracking","kind":"json-schema","title":"p2p.Tracking","data":{"example":{"carrier":"ups","tracking_code":"***"},"properties":{"carrier":{"type":"string"},"tracking_code":{"type":"string"}},"required":["carrier","tracking_code"],"type":"object"}},"components/schemas/p2p.Transaction":{"id":"components/schemas/p2p.Transaction","kind":"json-schema","title":"p2p.Transaction","data":{"example":{"buyer_handover_confirmed":"2019-12-25T16:00:00Z","buyer_id":"feb33a87-3917-4538-9260-127c8a6b5232","charge_config":1,"client_id":"trustap-app","created":"2019-12-25T09:00:00Z","currency":"eur","deposit_accepted":"2019-12-25T12:00:00Z","deposit_paid":"2019-12-25T11:00:00Z","deposit_pricing":{"charge":78,"charge_buyer_client":0,"charge_buyer_service":78,"charge_seller":0,"charge_seller_client":0,"charge_seller_service":0,"extra_processing_charge":0,"price":1234,"price_extra":0},"description":"Soccer ticket","funds_released":"2019-12-25T17:00:00Z","id":1309,"is_deposit_payment_in_progress":false,"is_remainder_payment_in_progress":false,"joined":"2019-12-25T10:00:00Z","priced":"2019-12-25T13:00:00Z","pricing":{"charge":190,"charge_buyer_client":0,"charge_buyer_service":190,"charge_seller":0,"charge_seller_client":0,"charge_seller_service":0,"extra_processing_charge":0,"price":5000,"price_extra":0},"quantity":1,"remainder_paid":"2019-12-25T14:00:00Z","seller_handover_confirmed":"2019-12-25T15:00:00Z","seller_id":"ad5bb99f-85bf-47e1-be0d-15e7541c6ad7","skip_remainder":false,"status":"funds_released"},"properties":{"allocate_extra_price_to_client":{"type":"boolean"},"allocate_postage_price_to":{"enum":["seller","client","service"],"type":"string"},"amount_refunded":{"format":"int64","type":"integer"},"amount_released":{"format":"int64","type":"integer"},"buyer_handover_confirmed":{"format":"date-time","type":"string"},"buyer_id":{"type":"string"},"buyer_is_guest":{"type":"boolean"},"cancellation":{"$ref":"#/components/schemas/p2p.Cancellation"},"cancelled":{"format":"date-time","type":"string"},"charge_config":{"format":"int64","type":"integer"},"claimed_by_buyer":{"format":"date-time","type":"string"},"claimed_by_seller":{"format":"date-time","type":"string"},"client_accrual_net":{"format":"int64","type":"integer"},"client_id":{"type":"string"},"complained":{"format":"date-time","type":"string"},"complaint":{"$ref":"#/components/schemas/p2p.Complaint"},"complaint_period_deadline":{"format":"date-time","type":"string"},"complaint_period_ended":{"format":"date-time","type":"string"},"contains_shipping":{"type":"boolean"},"created":{"format":"date-time","type":"string"},"currency":{"description":"The currency of the transaction. Note that, at present, the\nbuyer must pay using the transaction's currency and the\nseller will be paid in the transaction's currency.\n","type":"string"},"delivered":{"format":"date-time","type":"string"},"deposit_accepted":{"format":"date-time","type":"string"},"deposit_paid":{"format":"date-time","type":"string"},"deposit_pricing":{"$ref":"#/components/schemas/p2p.Pricing"},"deposit_refunded":{"format":"date-time","type":"string"},"deposit_review":{"$ref":"#/components/schemas/p2p.Review"},"deposit_review_flagged":{"format":"date-time","type":"string"},"description":{"type":"string"},"funds_released":{"format":"date-time","type":"string"},"id":{"format":"int64","type":"integer"},"image_url":{"description":"URL of the image displayed on the Trustap payment page to show the buyer\nthe item they are paying for.\nSupports jpg, png, gif, bmp and svg files. Images displayed as a squares.\nNon-square images are cropped\n","format":"absolute_url","type":"string"},"is_deposit_payment_in_progress":{"description":"If the deposit is paid via a delayed payment method,\nsuch as SEPA debit, this field will be `true` until the\npayment has fully succeeded or failed.\n","type":"boolean"},"is_remainder_payment_in_progress":{"description":"If the remainder is paid via a delayed payment method,\nsuch as SEPA debit, this field will be `true` until the\npayment has fully succeeded or failed.\n","type":"boolean"},"items":{"description":"The items added to the transaction.\n","items":{"$ref":"#/components/schemas/p2p.TransactionItem"},"type":"array"},"join_code":{"type":"string"},"joined":{"format":"date-time","type":"string"},"listing_id":{"description":"If the transaction is created from a listing then this is\nthe ID of that listing; otherwise this property is omitted.\n","type":"string"},"listing_type":{"$ref":"#/components/schemas/p2p.ListingType"},"metadata":{"additionalProperties":true,"description":"Arbitrary key-value string pairs, which allows the addition of extra\ninformation to transactions outside of the prescribed fields. For\nexample, when a transaction is used to power a product on an ecommerce\nmarketplace, the the product ID can be added to the transaction for\nreference.\n","type":"object"},"order_issue":{"$ref":"#/components/schemas/p2p.OrderIssue"},"order_issue_raised":{"format":"date-time","type":"string"},"payout_id":{"type":"string"},"priced":{"format":"date-time","type":"string"},"pricing":{"$ref":"#/components/schemas/p2p.Pricing"},"quantity":{"format":"int64","type":"integer"},"refunded":{"format":"date-time","type":"string"},"refunds":{"items":{"$ref":"#/components/schemas/p2p.Refund"},"type":"array"},"rejected":{"format":"date-time","type":"string"},"released_to_seller":{"type":"boolean"},"remainder_paid":{"format":"date-time","type":"string"},"remainder_review":{"$ref":"#/components/schemas/p2p.Review"},"remainder_review_flagged":{"format":"date-time","type":"string"},"remainder_skipped":{"format":"date-time","type":"string"},"seller_handover_confirmed":{"format":"date-time","type":"string"},"seller_id":{"type":"string"},"seller_is_guest":{"type":"boolean"},"seller_phone_number":{"type":"string"},"skip_remainder":{"description":"If `skip_remainder` is `true` then this transaction will\nmove to the \"confirm handover\" step after the deposit has\nbeen accepted.\n","type":"boolean"},"status":{"type":"string"},"subscription_id":{"type":"string"},"tracked":{"format":"date-time","type":"string"},"tracking":{"$ref":"#/components/schemas/p2p.Tracking"}},"required":["id","currency","deposit_pricing","description","skip_remainder","status","quantity","created","is_deposit_payment_in_progress","is_remainder_payment_in_progress","client_id"],"type":"object"}},"components/schemas/p2p.TransactionItem":{"id":"components/schemas/p2p.TransactionItem","kind":"json-schema","title":"p2p.TransactionItem","data":{"example":{"charge_config":1,"created":"2026-06-25T09:00:00Z","currency":"eur","description":"Monthly subscription","item_id":"it_01h2xcejqtf2nbrexx3vqjhp41","payment_method":"card","price":999,"price_extra":50,"price_postage":200,"recurring_period":"month","ref_id":"sku-widget-1","tax_code":"digital_goods","transaction_id":1234},"properties":{"charge_config":{"format":"int64","type":"integer"},"created":{"format":"date-time","type":"string"},"currency":{"$ref":"#/components/schemas/p2p.Currency"},"description":{"type":"string"},"item_id":{"type":"string"},"payment_method":{"type":"string"},"price":{"format":"int64","type":"integer"},"price_extra":{"format":"int64","type":"integer"},"price_postage":{"format":"int64","type":"integer"},"recurring_period":{"$ref":"#/components/schemas/p2p.RecurringPeriod"},"ref_id":{"type":"string"},"tax_code":{"type":"string"},"transaction_id":{"format":"int64","type":"integer"}},"required":["transaction_id","item_id","description","price","currency","created"],"type":"object"}},"components/schemas/p2p.UserDetails":{"id":"components/schemas/p2p.UserDetails","kind":"json-schema","title":"p2p.UserDetails","data":{"properties":{"email":{"type":"string"},"name":{"example":{"first":"John","last":"Doe"},"properties":{"first":{"type":"string"},"last":{"type":"string"}},"required":["first","last"],"type":"object"},"phone":{"type":"string"}},"required":["email"],"type":"object"}},"components/schemas/personal.BankAccount":{"id":"components/schemas/personal.BankAccount","kind":"json-schema","title":"personal.BankAccount","data":{"properties":{"bank_name":{"type":"string"},"country":{"type":"string"},"currency_alpha_2":{"type":"string"},"last4":{"type":"string"},"routing":{"type":"string"}},"required":["country","currency_alpha_2","last4","bank_name"],"type":"object"}},"components/schemas/personal.Card":{"id":"components/schemas/personal.Card","kind":"json-schema","title":"personal.Card","data":{"properties":{"last4":{"type":"string"},"month":{"format":"int64","type":"integer"},"year":{"format":"int64","type":"integer"}},"required":["last4","month","year"],"type":"object"}},"components/schemas/personal.DateValidation":{"id":"components/schemas/personal.DateValidation","kind":"json-schema","title":"personal.DateValidation","data":{"properties":{"max_date":{"type":"integer"},"max_day":{"type":"integer"},"max_month":{"type":"integer"},"max_year":{"type":"integer"},"min_day":{"type":"integer"},"min_month":{"type":"integer"},"min_year":{"type":"integer"}},"type":"object"}},"components/schemas/personal.DebitAccount":{"id":"components/schemas/personal.DebitAccount","kind":"json-schema","title":"personal.DebitAccount","data":{"properties":{"bank_account":{"$ref":"#/components/schemas/personal.BankAccount"},"card":{"$ref":"#/components/schemas/personal.Card"}},"required":["bank_account","card"],"type":"object"}},"components/schemas/personal.Details":{"id":"components/schemas/personal.Details","kind":"json-schema","title":"personal.Details","data":{"properties":{"address_city":{"$ref":"#/components/schemas/personal.VerifiableString"},"address_country":{"$ref":"#/components/schemas/personal.VerifiableString"},"address_line1":{"$ref":"#/components/schemas/personal.VerifiableString"},"address_line2":{"$ref":"#/components/schemas/personal.VerifiableString"},"address_postal_code":{"$ref":"#/components/schemas/personal.VerifiableString"},"address_state":{"$ref":"#/components/schemas/personal.VerifiableString"},"dob":{"$ref":"#/components/schemas/personal.VerifiableDate"},"id_number":{"$ref":"#/components/schemas/personal.VerifiableIdNumber"},"name_first":{"$ref":"#/components/schemas/personal.VerifiableString"},"name_last":{"$ref":"#/components/schemas/personal.VerifiableString"},"phone":{"$ref":"#/components/schemas/personal.VerifiablePhone"}},"required":["name_first","name_last","dob","phone","address_line1","address_line2","address_city","address_postal_code","address_state","address_country","id_number"],"type":"object"}},"components/schemas/personal.FieldType":{"id":"components/schemas/personal.FieldType","kind":"json-schema","title":"personal.FieldType","data":{"enum":["date","id_number","phone","string"],"type":"string"}},"components/schemas/personal.InstantPayoutBalance":{"id":"components/schemas/personal.InstantPayoutBalance","kind":"json-schema","title":"personal.InstantPayoutBalance","data":{"properties":{"amount":{"format":"int64","type":"integer"},"currency":{"type":"string"}},"required":["amount","currency"],"type":"object"}},"components/schemas/personal.InvalidReason":{"id":"components/schemas/personal.InvalidReason","kind":"json-schema","title":"personal.InvalidReason","data":{"properties":{"code":{"type":"string"},"description":{"description":"An English-language description of the error.","type":"string"}},"required":["code","description"],"type":"object"}},"components/schemas/personal.PayoutAttempt":{"id":"components/schemas/personal.PayoutAttempt","kind":"json-schema","title":"personal.PayoutAttempt","data":{"properties":{"amount":{"format":"int64","type":"integer"},"arrival_date":{"format":"int64","type":"integer"},"created_date":{"format":"int64","type":"integer"},"failure_code":{"enum":["account_closed","account_frozen","bank_account_restricted","bank_ownership_changed","could_not_process","debit_not_authorized","declined","insufficient_funds","invalid_account_number","incorrect_account_holder_name","incorrect_account_holder_address","incorrect_account_holder_tax_id","invalid_currency","no_account","unsupported_card"],"type":"string"},"status":{"enum":["paid","pending","in_transit","canceled","failed"],"type":"string"}},"required":["amount","created_date","arrival_date","status"],"type":"object"}},"components/schemas/personal.Validation":{"id":"components/schemas/personal.Validation","kind":"json-schema","title":"personal.Validation","data":{"properties":{"cannot_unset":{"type":"boolean"},"cannot_update":{"type":"boolean"},"max_length":{"type":"integer"},"min_length":{"type":"integer"}},"type":"object"}},"components/schemas/personal.VerifiableDate":{"id":"components/schemas/personal.VerifiableDate","kind":"json-schema","title":"personal.VerifiableDate","data":{"properties":{"invalid_reason":{"$ref":"#/components/schemas/personal.InvalidReason"},"required_now":{"type":"boolean"},"status":{"$ref":"#/components/schemas/personal.VerificationStatus"},"type":{"$ref":"#/components/schemas/personal.FieldType"},"validation":{"$ref":"#/components/schemas/personal.DateValidation"},"value":{"properties":{"day":{"type":"integer"},"month":{"type":"integer"},"year":{"type":"integer"}},"required":["day","month","year"],"type":"object"}},"required":["value","required_now","validation","status","type"],"type":"object"}},"components/schemas/personal.VerifiableIdNumber":{"id":"components/schemas/personal.VerifiableIdNumber","kind":"json-schema","title":"personal.VerifiableIdNumber","data":{"properties":{"invalid_reason":{"$ref":"#/components/schemas/personal.InvalidReason"},"required_now":{"type":"boolean"},"status":{"$ref":"#/components/schemas/personal.VerificationStatus"},"type":{"$ref":"#/components/schemas/personal.FieldType"},"validation":{"properties":{"max_length":{"type":"integer"},"min_length":{"type":"integer"}},"type":"object"},"value":{"properties":{"provided":{"type":"boolean"}},"required":["provided"],"type":"object"}},"required":["required_now","value","validation","status","type"],"type":"object"}},"components/schemas/personal.VerifiablePhone":{"id":"components/schemas/personal.VerifiablePhone","kind":"json-schema","title":"personal.VerifiablePhone","data":{"properties":{"invalid_reason":{"$ref":"#/components/schemas/personal.InvalidReason"},"required_now":{"type":"boolean"},"status":{"$ref":"#/components/schemas/personal.VerificationStatus"},"type":{"$ref":"#/components/schemas/personal.FieldType"},"validation":{"properties":{"number_min_length":{"type":"integer"}},"type":"object"},"value":{"properties":{"dial_code":{"type":"string"},"dial_code_country":{"description":"This field is mostly non-functional, but is instead used to render the phone number for the user. This field is necessary because different countries may use the same dial code (for example, the US and Canada).","type":"string"},"number":{"type":"string"}},"required":["dial_code_country","dial_code","number"],"type":"object"}},"required":["required_now","value","validation","status","type"],"type":"object"}},"components/schemas/personal.VerifiableString":{"id":"components/schemas/personal.VerifiableString","kind":"json-schema","title":"personal.VerifiableString","data":{"properties":{"invalid_reason":{"$ref":"#/components/schemas/personal.InvalidReason"},"required_now":{"type":"boolean"},"status":{"$ref":"#/components/schemas/personal.VerificationStatus"},"type":{"$ref":"#/components/schemas/personal.FieldType"},"validation":{"$ref":"#/components/schemas/personal.Validation"},"value":{"type":"string"}},"required":["required_now","type","value","validation","status"],"type":"object"}},"components/schemas/personal.VerificationSessionLastError":{"id":"components/schemas/personal.VerificationSessionLastError","kind":"json-schema","title":"personal.VerificationSessionLastError","data":{"description":"Optional error information if there was an error in the verification session.\n","properties":{"code":{"enum":["abandoned","consent_declined","country_not_supported","device_not_supported","document_expired","document_type_not_supported","document_unverified_other","email_unverified_other","email_verification_declined","id_number_insufficient_document_data","id_number_mismatch","id_number_unverified_other","phone_unverified_other","phone_verification_declined","selfie_document_missing_photo","selfie_face_mismatch","selfie_manipulated","selfie_unverified_other","under_supported_age"],"type":"string"},"reason":{"description":"Explanation or description related to the error code.\n","type":"string"}},"required":["code","reason"],"type":"object"}},"components/schemas/personal.VerificationStatus":{"id":"components/schemas/personal.VerificationStatus","kind":"json-schema","title":"personal.VerificationStatus","data":{"enum":["unset","invalid","verifying","verified_and_verifying","verified","set"],"type":"string"}},"components/schemas/users.Balances":{"id":"components/schemas/users.Balances","kind":"json-schema","title":"users.Balances","data":{"properties":{"available":{"items":{"properties":{"amount":{"format":"int64","type":"integer"},"currency":{"type":"string"}},"required":["currency","amount"],"type":"object"},"type":"array"}},"required":["available"],"type":"object"}},"components/schemas/users.Features":{"id":"components/schemas/users.Features","kind":"json-schema","title":"users.Features","data":{"properties":{"instant_payouts_enabled":{"type":"boolean"}},"type":"object"}},"components/schemas/users.GuestUser":{"id":"components/schemas/users.GuestUser","kind":"json-schema","title":"users.GuestUser","data":{"example":{"created_at":"2019-12-25T13:00:00Z","email":"jo@example.com","id":"1-feb33a87-3917-4538-9260-127c8a6b5232"},"properties":{"created_at":{"format":"date-time","type":"string"},"deleted_at":{"format":"date-time","type":"string"},"email":{"type":"string"},"id":{"type":"string"}},"required":["id","email","created_at"],"type":"object"}},"components/schemas/users.PayoutItem":{"id":"components/schemas/users.PayoutItem","kind":"json-schema","title":"users.PayoutItem","data":{"properties":{"amount":{"format":"int64","type":"integer"},"arriving":{"format":"date-time","type":"string"},"currency":{"type":"string"},"initiated":{"format":"date-time","type":"string"},"status":{"type":"string"}},"required":["amount","currency","status","initiated","arriving"],"type":"object"}},"components/schemas/users.Payouts":{"id":"components/schemas/users.Payouts","kind":"json-schema","title":"users.Payouts","data":{"properties":{"payouts":{"items":{"$ref":"#/components/schemas/users.PayoutItem"},"type":"array"}},"required":["payouts"],"type":"object"}},"components/schemas/users.TosAcceptance":{"id":"components/schemas/users.TosAcceptance","kind":"json-schema","title":"users.TosAcceptance","data":{"properties":{"ip":{"minLength":1,"type":"string"},"unix_timestamp":{"format":"int64","type":"integer"}},"required":["unix_timestamp","ip"],"type":"object"}},"schema_83":{"kind":"json-schema","data":{"example":{"country_code":"IE","email":"guest@test.com","first_name":"Test","last_name":"User","tos_acceptance":{"ip":"192.168.1.2","unix_timestamp":1672531200}},"properties":{"country_code":{"type":"string"},"email":{"minLength":1,"type":"string"},"first_name":{"minLength":1,"type":"string"},"last_name":{"minLength":1,"type":"string"},"tos_acceptance":{"$ref":"#/components/schemas/users.TosAcceptance"}},"required":["email","tos_acceptance"],"type":"object"},"id":"schema_83"},"schema_84":{"kind":"json-schema","data":{"type":"string"},"id":"schema_84"},"schema_85":{"kind":"json-schema","data":{"properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"type":"object"},"id":"schema_85"},"schema_86":{"kind":"json-schema","data":{"items":{"type":"string"},"type":"array"},"id":"schema_86"},"schema_87":{"kind":"json-schema","data":{"example":{"client_secret":"accs_secret__***********************************************"},"properties":{"client_secret":{"type":"string"}},"required":["client_secret"],"type":"object"},"id":"schema_87"},"schema_88":{"kind":"json-schema","data":{"items":{"$ref":"#/components/schemas/personal.PayoutAttempt"},"type":"array"},"id":"schema_88"},"schema_89":{"kind":"json-schema","data":{"properties":{"address_city":{"type":"string"},"address_line1":{"type":"string"},"address_line2":{"type":"string"},"address_postal_code":{"type":"string"},"address_state":{"type":"string"},"dob":{"properties":{"day":{"type":"integer"},"month":{"type":"integer"},"year":{"type":"integer"}},"required":["day","month","year"],"type":"object"},"id_number":{"description":"The full ID number for this user.","type":"string","nullable":true},"name_first":{"type":"string"},"name_last":{"type":"string"},"phone":{"properties":{"dial_code":{"type":"string"},"dial_code_country":{"description":"This field is mostly non-functional, but is instead used to render the dial code for the user. This field is necessary because different countries may use the same dial code (for example, the US and Canada).","type":"string"},"number":{"type":"string"}},"required":["dial_code_country","dial_code","number"],"type":"object","nullable":true}},"type":"object"},"id":"schema_89"},"schema_90":{"kind":"json-schema","data":{"example":{"publishable_key":"pk_xXxXxXxXxXx"},"properties":{"publishable_key":{"type":"string"}},"type":"object"},"id":"schema_90"},"schema_91":{"kind":"json-schema","data":{"properties":{"payment_method_id":{"type":"string"}},"required":["payment_method_id"],"type":"object"},"id":"schema_91"},"schema_92":{"kind":"json-schema","data":{"properties":{"email":{"type":"string"},"name":{"type":"string"},"raw_address":{"type":"string"},"raw_phone":{"type":"string"}},"required":["name","email","raw_phone","raw_address"],"type":"object"},"id":"schema_92"},"schema_93":{"kind":"json-schema","data":{"properties":{"setup_intent_client_secret":{"type":"string"},"setup_intent_id":{"type":"string"}},"required":["setup_intent_id","setup_intent_client_secret"],"type":"object"},"id":"schema_93"},"schema_94":{"kind":"json-schema","data":{"example":{"message":"not_available","verification_method":"stripe_identity"},"properties":{"message":{"type":"string"},"verification_method":{"type":"string"}},"required":["verification_method","message"],"type":"object"},"id":"schema_94"},"schema_95":{"kind":"json-schema","data":{"example":{"verification_session_client_secret":"vs_1P**********************_******_****_********************************************************************************0PVs"},"properties":{"verification_session_client_secret":{"type":"string"}},"required":["verification_session_client_secret"],"type":"object"},"id":"schema_95"},"schema_96":{"kind":"json-schema","data":{"properties":{"ephemeral_key":{"type":"string"},"verification_session_id":{"type":"string"}},"required":["verification_session_id","ephemeral_key"],"type":"object"},"id":"schema_96"},"schema_97":{"kind":"json-schema","data":{"example":{"verification_session_id":"vs_1PH0bmDnTEntFpTD2xDXZy9t","verification_session_status":"created"},"properties":{"verification_session_id":{"type":"string"},"verification_session_last_error":{"$ref":"#/components/schemas/personal.VerificationSessionLastError"},"verification_session_status":{"type":"string"}},"required":["verification_session_id","verification_session_status"],"type":"object"},"id":"schema_97"},"schema_98":{"kind":"json-schema","data":{"items":{"$ref":"#/components/schemas/basic.Transaction"},"type":"array"},"id":"schema_98"},"schema_99":{"kind":"json-schema","data":{"type":"integer","format":"int64","minimum":0},"id":"schema_99"},"schema_100":{"kind":"json-schema","data":{"type":"integer","format":"int64","minimum":1,"maximum":50,"default":25},"id":"schema_100"},"schema_101":{"kind":"json-schema","data":{"example":[{"charge":78,"charge_buyer_client":0,"charge_seller":0,"charge_seller_client":0,"client_id":"trustap-app","created":"2019-12-25T09:00:00Z","currency":"eur","description":"Soccer ticket","id":1309,"is_payment_in_progress":false,"join_code":"54c5bb89-a5ea-4be7-ad7a-e740c2eebab4","price":1234,"quantity":1,"seller_id":"ad5bb99f-85bf-47e1-be0d-15e7541c6ad7","status":"created"},{"buyer_id":"ad5bb99f-85bf-47e1-be0d-15e7541c6ad7","charge":78,"charge_buyer_client":0,"charge_seller":0,"charge_seller_client":0,"client_id":"trustap-app","created":"2018-12-25T09:00:00Z","currency":"eur","description":"Soccer ticket","id":609,"is_payment_in_progress":false,"join_code":"c9cd6a9d-1096-4d38-b4aa-2c354beac845","price":1234,"quantity":1,"status":"created"}],"items":{"$ref":"#/components/schemas/basic.Transaction"},"type":"array"},"id":"schema_101"},"schema_102":{"kind":"json-schema","data":{"example":{"charge":78,"charge_calculator_version":5,"charge_seller":0,"currency":"eur","description":"Little Fish","price":1234,"role":"seller"},"properties":{"charge":{"description":"The `charge` value returned from a request to\n`/charge`.\n","format":"int64","type":"integer"},"charge_calculator_version":{"description":"The `charge_calculator_version` value returned from a request to `/charge`.","format":"int64","type":"integer"},"charge_config":{"description":"The charge config for which the charge amount is computed.\n","format":"int64","type":"integer"},"charge_seller":{"description":"The seller `charge` value returned from a\nrequest to `/charge`.\n","format":"int64","type":"integer"},"client_id":{"type":"string"},"currency":{"description":"The currency that the `price` is specified in.\n","type":"string"},"description":{"description":"A description of the goods being sold.\n","type":"string"},"features":{"description":"`features` contains flags that modify the\ntransaction flow.\n","items":{"$ref":"#/components/schemas/basic.Feature"},"type":"array"},"payment_method":{"description":"The payment method to use for the transaction.\n","type":"string"},"price":{"description":"The price of the goods being sold, in the\n`currency`'s smallest unit.  The `charge` value\nshould correspond to the Trustap charge created\nwith this price, otherwise this request will\nfail with a `400` error.\n","format":"int64","type":"integer"},"role":{"$ref":"#/components/schemas/basic.Role"}},"required":["role","currency","price","description","charge","charge_calculator_version"],"type":"object"},"id":"schema_102"},"schema_103":{"kind":"json-schema","data":{"example":{"charge":78,"charge_calculator_version":5,"charge_config":1,"creator_role":"seller","currency":"eur","description":"Soccer ticket","join_user_id":"feb33a87-3917-4538-9260-127c8a6b5232","payment_method":"bank_transfer","price":1234},"properties":{"charge":{"description":"The `charge` value returned from a request to\n`/charge`.\n","format":"int64","type":"integer"},"charge_calculator_version":{"description":"The `charge_calculator_version` value returned from a request to `/charge`.","format":"int64","type":"integer"},"charge_config":{"default":1,"description":"The charge config for which the charge amount is computed.\n","format":"int64","type":"integer"},"charge_seller":{"description":"The seller `charge` value returned from a request to\n`/charge`.\n","format":"int64","type":"integer"},"client_id":{"type":"string"},"creator_role":{"$ref":"#/components/schemas/basic.Role"},"currency":{"description":"The currency that the `price` is specified in.\n","type":"string"},"description":{"description":"A description of the goods being sold.\n","type":"string"},"features":{"description":"`features` contains flags that modify the\ntransaction flow.\n","items":{"$ref":"#/components/schemas/basic.Feature"},"type":"array"},"join_user_id":{"description":"The user that will be joined to the new\ntransaction when it is created. It cannot be the\nID of the user making the request.\n","type":"string"},"payment_method":{"description":"The payment method to use for the transaction.\n","type":"string"},"postage_fee":{"description":"The custom `postage_fee` for the transaction.","format":"int64","type":"integer"},"price":{"description":"The price of the goods being sold, in the\n`currency`'s smallest unit.  The `charge` value\nshould correspond to the Trustap charge created\nwith this price, otherwise this request will\nfail with a `400` error.\n","format":"int64","type":"integer"}},"required":["join_user_id","creator_role","currency","price","description","charge","charge_calculator_version"],"type":"object"},"id":"schema_103"},"schema_104":{"kind":"json-schema","data":{"example":{"buyer_id":"1-bd5bb99j-95bf-87e2-ce0d-95e7541c6ad5","charge":78,"charge_calculator_version":5,"charge_config":1,"charge_seller":0,"creator_role":"seller","currency":"eur","description":"Soccer ticket","payment_method":"bank_transfer","price":1234,"seller_id":"ad5bb99f-85bf-47e1-be0d-15e7541c6ad7"},"properties":{"buyer_id":{"description":"The id of the buyer for this transaction\n(it can be full user id or guest user id).\n","type":"string"},"charge":{"description":"The `charge` value returned from a request to\n`/charge`.\n","format":"int64","type":"integer"},"charge_calculator_version":{"description":"The `charge_calculator_version` value returned from a request to `/charge`.","format":"int64","type":"integer"},"charge_config":{"default":1,"description":"The charge config for which the charge amount is computed.\n","format":"int64","type":"integer"},"charge_seller":{"description":"The seller `charge` value returned from a\nrequest to `/charge`.\n","format":"int64","type":"integer"},"client_id":{"type":"string"},"creator_role":{"$ref":"#/components/schemas/basic.Role"},"currency":{"$ref":"#/components/schemas/Currency"},"description":{"description":"A description of the goods being sold.\n","type":"string"},"features":{"description":"`features` contains flags that modify the\ntransaction flow.\n","items":{"$ref":"#/components/schemas/basic.Feature"},"type":"array"},"image_url":{"description":"URL of the image displayed on the Trustap payment page to show the buyer\nthe item they are paying for.\nSupports jpg, png, gif, bmp, webp and svg files. Images displayed as a\nsquares. Non-square images are cropped.\n","format":"absolute_url","maxLength":2047,"type":"string"},"payment_method":{"description":"The payment method to use for the transaction.\n","type":"string"},"postage_fee":{"description":"The custom `postage fee`, this fee only applies in the case\n`postage fee feature flag` is enabled.\n","format":"int64","type":"integer"},"price":{"description":"The price of the goods being sold, in the\n`currency`'s smallest unit.  The `charge` value\nshould correspond to the Trustap charge created\nwith this price, otherwise this request will\nfail with a `400` error.\n","format":"int64","type":"integer"},"seller_id":{"description":"The id of the seller for this transaction\n(it can be full user id or guest user id).\n","type":"string"}},"required":["buyer_id","seller_id","creator_role","currency","price","description","charge","charge_calculator_version"],"type":"object"},"id":"schema_104"},"schema_105":{"kind":"json-schema","data":{"type":"integer","format":"int64"},"id":"schema_105"},"schema_106":{"kind":"json-schema","data":{"example":{"description":"Delivery is delayed"},"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"id":"schema_106"},"schema_107":{"kind":"json-schema","data":{"type":"boolean"},"id":"schema_107"},"schema_108":{"kind":"json-schema","data":{"type":"integer","format":"int64","default":1},"id":"schema_108"},"schema_109":{"kind":"json-schema","data":{"example":{"charge":78,"currency":"eur","description":"Soccer ticket","price":1234},"properties":{"charge":{"description":"The `charge` value returned from a request to\n`/charge`.\n","format":"int64","type":"integer"},"charge_seller":{"description":"The `charge_seller` value returned from a\nrequest to `/charge`.\n","format":"int64","type":"integer"},"currency":{"type":"string"},"description":{"description":"A description of the goods being sold.\n","type":"string"},"price":{"description":"The price of the goods being sold, in the\n`currency`'s smallest unit.  The `charge` value\nshould correspond to the Trustap charge created\nwith this price, otherwise this request will\nfail with a `400` error.\n","format":"int64","type":"integer"}},"type":"object"},"id":"schema_109"},"schema_110":{"kind":"json-schema","data":{"properties":{"charge":{"description":"The `charge` value returned from a request to\n`/charge`.\n","format":"int64","type":"integer"},"charge_config":{"description":"The charge config for which the charge amount is computed.\n","format":"int64","type":"integer"},"charge_seller":{"description":"The `charge_seller` value returned from a request to\n`/charge`.\n","format":"int64","type":"integer"},"currency":{"type":"string"},"payment_method":{"type":"string"},"price":{"description":"The price of the goods being sold, in the\n`currency`'s smallest unit.  The `charge` value\nshould correspond to the Trustap charge created\nwith this price, otherwise this request will\nfail with a `400` error.\n","format":"int64","type":"integer"}},"required":["currency","price","charge"],"type":"object"},"id":"schema_110"},"schema_111":{"kind":"json-schema","data":{"example":{"currency":"EUR","customs_certify":true,"customs_certify_signer":"Joe Doe","customs_description":"T-Shirt","customs_incoterm":"DDU","customs_mass_unit":"lb","customs_net_weight":5,"customs_non_delivery_option":"return","customs_origin_country":"US","customs_quantity":20,"customs_value_amount":"200","customs_value_currency":"USD","parcel_distance_unit":"cm","parcel_height":10,"parcel_length":10,"parcel_mass_unit":"lb","parcel_weight":10,"parcel_width":10,"recipient_city":"New York","recipient_country":"us","recipient_full_name":"Ivan Horvat","recipient_phone":"123456789","recipient_state":"New York","recipient_street_1":"21-27 Marshall Court","recipient_zip_code":"90218","sender_city":"Altona","sender_country":"au","sender_full_name":"Ana Potter","sender_phone":"123456789","sender_state":"Victoria","sender_street_1":"21-27 Marshall Court","sender_zip_code":"44685"},"properties":{"currency":{"type":"string"},"customs_certify":{"type":"boolean"},"customs_certify_signer":{"type":"string"},"customs_description":{"type":"string"},"customs_eel_pfc":{"type":"string"},"customs_incoterm":{"type":"string"},"customs_mass_unit":{"type":"string"},"customs_net_weight":{"format":"double","type":"number"},"customs_non_delivery_option":{"enum":["return","abandon"],"type":"string"},"customs_origin_country":{"type":"string"},"customs_quantity":{"format":"int64","type":"integer"},"customs_value_amount":{"type":"string"},"customs_value_currency":{"type":"string"},"parcel_distance_unit":{"$ref":"#/components/schemas/basic.DistanceUnit"},"parcel_height":{"format":"double","type":"number"},"parcel_length":{"format":"double","type":"number"},"parcel_mass_unit":{"$ref":"#/components/schemas/basic.MassUnit"},"parcel_weight":{"format":"double","type":"number"},"parcel_width":{"format":"double","type":"number"},"recipient_city":{"type":"string"},"recipient_country":{"type":"string"},"recipient_full_name":{"type":"string"},"recipient_phone":{"type":"string"},"recipient_state":{"type":"string"},"recipient_street_1":{"type":"string"},"recipient_street_2":{"type":"string"},"recipient_zip_code":{"type":"string"},"sender_city":{"type":"string"},"sender_country":{"type":"string"},"sender_full_name":{"type":"string"},"sender_phone":{"type":"string"},"sender_state":{"type":"string"},"sender_street_1":{"type":"string"},"sender_street_2":{"type":"string"},"sender_zip_code":{"type":"string"}},"required":["sender_full_name","sender_street_1","sender_zip_code","sender_city","sender_state","sender_country","sender_phone","recipient_full_name","recipient_street_1","recipient_zip_code","recipient_city","recipient_state","recipient_country","recipient_phone","parcel_height","parcel_length","parcel_width","parcel_distance_unit","parcel_weight","parcel_mass_unit","currency"],"type":"object"},"id":"schema_111"},"schema_112":{"kind":"json-schema","data":{"example":[{"code":"an-post","name":"An Post"},{"code":"fedex","name":"FedEx"},{"code":"ups","name":"UPS"},{"code":"usps","name":"USPS"}],"items":{"$ref":"#/components/schemas/Carrier"},"type":"array"},"id":"schema_112"},"schema_113":{"kind":"json-schema","data":{"example":{"address_line_1":"3672 Massillon Rd","address_line_2":"3672 Massillon Rd","city":"Green","country":"us","name":"John Doe","phone":"330-896-9303","postal_code":"44685","state":"Ohio"},"properties":{"address_line_1":{"type":"string"},"address_line_2":{"type":"string"},"city":{"type":"string"},"country":{"minLength":1,"type":"string"},"name":{"minLength":1,"type":"string"},"phone":{"type":"string"},"postal_code":{"type":"string"},"state":{"type":"string"}},"required":["name","country"],"type":"object"},"id":"schema_113"},"schema_114":{"kind":"json-schema","data":{"example":{"city":"Altona","country":"au","full_name":"Ivan Horvat","is_sender_address":true,"phone":"4215559099","state":"Victoria","street_1":"21-27 Marshall Court","zip_code":"10000"},"properties":{"city":{"type":"string"},"country":{"type":"string"},"email":{"type":"string"},"full_name":{"type":"string"},"is_sender_address":{"type":"boolean"},"phone":{"type":"string"},"state":{"type":"string"},"street_1":{"type":"string"},"street_2":{"type":"string"},"zip_code":{"type":"string"}},"required":["is_sender_address","full_name","street_1","zip_code","city","state","country","phone"],"type":"object"},"id":"schema_114"},"schema_115":{"kind":"json-schema","data":{"example":{"certify":true,"certify_signer":"Joe Doe","description":"T-Shirt","incoterm":"DDU","mass_unit":"lb","net_weight":5,"non_delivery_option":"return","origin_country":"US","quantity":20,"value_amount":"200","value_currency":"USD"},"properties":{"certify":{"type":"boolean"},"certify_signer":{"type":"string"},"description":{"type":"string"},"eel_pfc":{"type":"string"},"incoterm":{"type":"string"},"mass_unit":{"type":"string"},"net_weight":{"format":"double","type":"number"},"non_delivery_option":{"enum":["return","abandon"],"type":"string"},"origin_country":{"type":"string"},"quantity":{"format":"int64","type":"integer"},"value_amount":{"type":"string"},"value_currency":{"type":"string"}},"required":["certify","certify_signer","non_delivery_option","description","mass_unit","net_weight","origin_country","quantity","value_amount","value_currency"],"type":"object"},"id":"schema_115"},"schema_116":{"kind":"json-schema","data":{"example":{"distance_unit":"cm","height":10,"length":10,"mass_unit":"lb","shipment_date":"2019-12-25T09:00:00Z","weight":10,"width":10},"properties":{"distance_unit":{"$ref":"#/components/schemas/basic.DistanceUnit"},"height":{"format":"double","type":"number"},"length":{"format":"double","type":"number"},"mass_unit":{"$ref":"#/components/schemas/basic.MassUnit"},"shipment_date":{"description":"Date the shipment will be tendered to the carrier.\nMust be in the format 2014-01-18T00:35:03.463Z\n","type":"string"},"weight":{"format":"double","type":"number"},"width":{"format":"double","type":"number"}},"required":["height","length","width","distance_unit","weight","mass_unit","shipment_date"],"type":"object"},"id":"schema_116"},"schema_117":{"kind":"json-schema","data":{"example":{"rate_id":"d755e91036a84c15bd5318f4b67c7707"},"properties":{"rate_id":{"type":"string"},"shipment_id":{"type":"string"}},"required":["rate_id"],"type":"object"},"id":"schema_117"},"schema_118":{"kind":"json-schema","data":{"items":{"$ref":"#/components/schemas/basic.ShippoRate"},"type":"array"},"id":"schema_118"},"schema_119":{"kind":"json-schema","data":{"example":{"carrier":"ups","tracking_code":"***"},"properties":{"carrier":{"minLength":1,"type":"string"},"tracking_code":{"minLength":1,"type":"string"}},"required":["carrier","tracking_code"],"type":"object"},"id":"schema_119"},"schema_120":{"kind":"json-schema","data":{"properties":{"client_secret":{"type":"string"}},"required":["client_secret"],"type":"object"},"id":"schema_120"},"schema_121":{"kind":"json-schema","data":{"example":{"publishable_key":"pk_xXxXxXxXxXx"},"properties":{"publishable_key":{"type":"string"}},"required":["publishable_key"],"type":"object"},"id":"schema_121"},"schema_122":{"kind":"json-schema","data":{"items":{"$ref":"#/components/schemas/p2p.Transaction"},"type":"array"},"id":"schema_122"},"schema_123":{"kind":"json-schema","data":{"example":[{"client_id":"test-auth","created":"2025-11-03T09:37:47Z","currency":"eur","deposit_pricing":{"charge":118,"charge_buyer_client":0,"charge_buyer_service":118,"charge_seller":0,"charge_seller_client":0,"charge_seller_service":0,"extra_processing_charge":0,"price":1234,"price_extra":0},"description":"Little Fish","id":156,"is_deposit_payment_in_progress":false,"is_remainder_payment_in_progress":false,"quantity":1,"seller_id":"1d9a9af7-b57b-4c48-a56f-86fe328f9682","seller_is_guest":false,"skip_remainder":false,"status":"created"},{"client_id":"test-auth","created":"2025-11-03T09:37:47Z","currency":"eur","deposit_pricing":{"charge":118,"charge_buyer_client":0,"charge_buyer_service":118,"charge_seller":0,"charge_seller_client":0,"charge_seller_service":0,"extra_processing_charge":0,"price":1234,"price_extra":0},"description":"Little Fish","id":155,"is_deposit_payment_in_progress":false,"is_remainder_payment_in_progress":false,"quantity":1,"seller_id":"1d9a9af7-b57b-4c48-a56f-86fe328f9682","seller_is_guest":false,"skip_remainder":false,"status":"created"}],"items":{"$ref":"#/components/schemas/p2p.Transaction"},"type":"array"},"id":"schema_123"},"schema_124":{"kind":"json-schema","data":{"example":{"charge_calculator_version":2,"currency":"eur","deposit_charge":78,"deposit_charge_config":1,"deposit_payment_method":"bank_transfer","deposit_price":1234,"deposit_price_extra":500,"description":"Soccer ticket","role":"seller"},"properties":{"charge_calculator_version":{"format":"int64","type":"integer"},"client_id":{"type":"string"},"contains_shipping":{"description":"Specifies if the transaction contains a shippable item and\nthe shipping details should be collected from the buyer.\n","type":"boolean"},"currency":{"$ref":"#/components/schemas/p2p.Currency"},"deposit_charge":{"format":"int64","type":"integer"},"deposit_charge_config":{"description":"The charge config for which the charge amount is computed.\n","format":"int64","type":"integer"},"deposit_charge_seller":{"format":"int64","type":"integer"},"deposit_payment_method":{"description":"The payment method to use for the transaction.\n","type":"string"},"deposit_price":{"format":"int64","type":"integer"},"deposit_price_extra":{"description":"Represents an additional charge to be paid by the buyer added\nto the transaction total. Use this field to include costs like\nprocessing fees, local taxes, or shipping surcharges.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD). Defaults to 0 if not provided.\n","format":"int64","type":"integer"},"deposit_price_postage":{"description":"Represents the postage/shipping cost to be paid by the buyer.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD).\n","format":"int64","type":"integer"},"description":{"description":"A description of the goods being sold.\n","type":"string"},"role":{"$ref":"#/components/schemas/p2p.Role"},"skip_remainder":{"description":"If `skip_remainder` is `true` then this\ntransaction will move to the \"confirm handover\"\nstep after the deposit has been accepted.\n","type":"boolean"}},"required":["role","currency","description","deposit_price","deposit_charge","charge_calculator_version"],"type":"object"},"id":"schema_124"},"schema_125":{"kind":"json-schema","data":{"example":{"charge_calculator_version":5,"creator_role":"seller","currency":"eur","deposit_charge":118,"deposit_charge_config":1,"deposit_charge_seller":0,"deposit_payment_method":"bank_transfer","deposit_price":1234,"deposit_price_extra":500,"description":"Little Fish","join_user_id":"2-8ab12191-7508-4efe-b65e-51d1bc440ed9"},"properties":{"charge_calculator_version":{"format":"int64","type":"integer"},"contains_shipping":{"description":"Specifies if the transaction contains a shippable item and\nthe shipping details should be collected from the buyer.\n","type":"boolean"},"creator_role":{"$ref":"#/components/schemas/p2p.Role"},"currency":{"$ref":"#/components/schemas/p2p.Currency"},"deposit_charge":{"format":"int64","type":"integer"},"deposit_charge_config":{"description":"The charge config for which the charge amount is computed.\n","format":"int64","type":"integer"},"deposit_charge_seller":{"format":"int64","type":"integer"},"deposit_fee_multiplier":{"description":"The `fee_multiplier` parameter is used to apply a higher percentage\nfee based on the total price of the transaction. The percentage fee\nis calculated multiplying the `percentage fee` by the `fee_multiplier`.\n","format":"double","type":"number"},"deposit_payment_method":{"description":"The payment method to use for the transaction.\n","type":"string"},"deposit_price":{"format":"int64","type":"integer"},"deposit_price_extra":{"description":"Represents an additional charge to be paid by the buyer added\nto the transaction total. Use this field to include costs like\nprocessing fees, local taxes, or shipping surcharges.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD). Defaults to 0 if not provided.\n","format":"int64","type":"integer"},"deposit_price_postage":{"description":"Represents the postage/shipping cost to be paid by the buyer.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD).\n","format":"int64","type":"integer"},"description":{"description":"A description of the goods being sold.\n","type":"string"},"image_url":{"description":"URL of the image displayed on the Trustap payment page to show the buyer\nthe item they are paying for.\nSupports jpg, png, gif, bmp, webp and svg files. Images displayed as a\nsquares. Non-square images are cropped.\n","format":"absolute_url","maxLength":2047,"type":"string"},"join_user_id":{"description":"The user that will be joined to the new\ntransaction when it is created. It cannot be the\nID of the user making the request.\n","type":"string"},"skip_remainder":{"description":"If `skip_remainder` is `true` then the\ntransaction will move to the \"confirm handover\"\nstep after the deposit has been accepted.\n","type":"boolean"}},"required":["join_user_id","creator_role","currency","description","deposit_price","deposit_charge","deposit_charge_seller","charge_calculator_version"],"type":"object"},"id":"schema_125"},"schema_126":{"kind":"json-schema","data":{"example":{"buyer_id":"1-ef9664e4-921a-4696-8eaa-d8b2593d9ff9","charge_calculator_version":3,"creator_role":"seller","currency":"eur","deposit_charge":118,"deposit_charge_config":1,"deposit_charge_seller":0,"deposit_payment_method":"bank_transfer","deposit_price":1234,"deposit_price_extra":500,"description":"Little Fish","seller_id":"1-f40b6944-3c54-405e-9ae3-3fa9d2be9f91","skip_remainder":true},"properties":{"buyer_id":{"description":"The id of the buyer for this transaction\n(it can be full user id or guest user id).\n","type":"string"},"charge_calculator_version":{"format":"int64","type":"integer"},"contains_shipping":{"description":"Specifies if the transaction contains a shippable item and\nthe shipping details should be collected from the buyer.\n","type":"boolean"},"creator_role":{"$ref":"#/components/schemas/p2p.Role"},"currency":{"$ref":"#/components/schemas/p2p.Currency"},"deposit_charge":{"format":"int64","type":"integer"},"deposit_charge_config":{"description":"The charge config for which the charge amount is computed.\n","format":"int64","type":"integer"},"deposit_charge_seller":{"format":"int64","type":"integer"},"deposit_fee_multiplier":{"description":"The `fee_multiplier` parameter is used to apply a higher percentage\nfee based on the total price of the transaction. The percentage fee\nis calculated multiplying the `percentage fee` by the `fee_multiplier`.\n","format":"double","type":"number"},"deposit_payment_method":{"description":"The payment method to use for the transaction.\n","type":"string"},"deposit_price":{"format":"int64","type":"integer"},"deposit_price_extra":{"description":"Represents an additional charge to be paid by the buyer added\nto the transaction total. Use this field to include costs like\nprocessing fees, local taxes, or shipping surcharges.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD). Defaults to 0 if not provided.\n","format":"int64","type":"integer"},"deposit_price_postage":{"description":"Represents the postage/shipping cost to be paid by the buyer.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD).\n","format":"int64","type":"integer"},"description":{"description":"A description of the goods being sold.\n","type":"string"},"image_url":{"description":"URL of the image displayed on the Trustap payment page to show the buyer\nthe item they are paying for.\nSupports jpg, png, gif, bmp, webp and svg files. Images displayed as a\nsquares. Non-square images are cropped.\n","format":"absolute_url","maxLength":2047,"type":"string"},"seller_id":{"description":"The id of the seller for this transaction\n(it can be full user id or guest user id).\n","type":"string"},"skip_remainder":{"description":"If `skip_remainder` is `true` then the\ntransaction will move to the \"confirm handover\"\nstep after the deposit has been accepted.\n","type":"boolean"}},"required":["buyer_id","seller_id","creator_role","currency","description","deposit_price","deposit_charge","charge_calculator_version"],"type":"object"},"id":"schema_126"},"schema_127":{"kind":"json-schema","data":{"type":"number","format":"double"},"id":"schema_127"},"schema_128":{"kind":"json-schema","data":{"additionalProperties":true,"type":"object"},"id":"schema_128"},"schema_129":{"kind":"json-schema","data":{"example":{"currency":"eur","deposit_charge":78,"deposit_price":1234,"deposit_price_extra":500,"description":"Soccer ticket"},"properties":{"currency":{"$ref":"#/components/schemas/p2p.Currency"},"deposit_charge":{"format":"int64","type":"integer"},"deposit_charge_seller":{"format":"int64","type":"integer"},"deposit_price":{"format":"int64","type":"integer"},"deposit_price_extra":{"format":"int64","type":"integer"},"deposit_price_postage":{"description":"Represents the postage/shipping cost to be paid by the buyer.\nMust be an integer provided in the smallest unit of the currency\n(for example, 500 for $5.00 USD).\n","format":"int64","type":"integer"},"description":{"description":"A description of the goods being sold.\n","type":"string"}},"type":"object"},"id":"schema_129"},"schema_130":{"kind":"json-schema","data":{"example":{"client_secret":"***"},"properties":{"client_secret":{"type":"string"}},"required":["client_secret"],"type":"object"},"id":"schema_130"},"schema_131":{"kind":"json-schema","data":{"example":{"charge":190,"charge_calculator_version":2,"currency":"eur","price":5000},"properties":{"charge":{"description":"The `charge` value returned from a request to\n`/p2p/charge`.\n","format":"int64","type":"integer"},"charge_calculator_version":{"description":"The `charge_calculator_version` value returned from a request to `/p2p/charge`.","format":"int64","type":"integer"},"currency":{"$ref":"#/components/schemas/Currency"},"price":{"description":"The price of the goods being sold, in the\n`currency`'s smallest unit.  The `charge` value\nshould correspond to the Trustap charge created\nwith this price, otherwise this request will\nfail with a `400` error.\n","format":"int64","type":"integer"}},"required":["currency","price","charge","charge_calculator_version"],"type":"object"},"id":"schema_131"},"schema_132":{"kind":"json-schema","data":{"example":{"description":"Item was fake"},"properties":{"category":{"$ref":"#/components/schemas/p2p.ComplaintCategory"},"description":{"type":"string"}},"required":["description"],"type":"object"},"id":"schema_132"},"schema_133":{"kind":"json-schema","data":{"example":{"description":"Found another buyer"},"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"id":"schema_133"},"schema_134":{"kind":"json-schema","data":{"example":{"description":"Found another buyer"},"properties":{"description":{"minLength":1,"type":"string"}},"required":["description"],"type":"object"},"id":"schema_134"},"schema_135":{"kind":"json-schema","data":{"properties":{"ad_id":{"description":"Unique ID for the product or service.\nNot used by Trustap internally, but returned in webhook events.\n","type":"string"},"currency":{"$ref":"#/components/schemas/p2p.Currency"},"description":{"description":"Description of the product or service.\nThis description is shown in all emails and payment screens.\n","type":"string"},"image_url":{"description":"URL of the image displayed on the Trustap payment page to show the buyer\nthe item they are paying for.\nSupports jpg, png, gif, bmp, webp and svg files. Images displayed as a\nsquares. Non-square images are cropped.\n","format":"absolute_url","maxLength":2047,"type":"string"},"seller_country_code":{"description":"ISO 4217 three-character currency code representing the currency of the transaction.\n","type":"string"},"seller_email":{"description":"Valid email address of your seller.\nEnsure this email is correct as Trustap will send all transaction correspondence to this email.\n","type":"string"},"seller_phone_number":{"description":"Phone number of seller.\n","type":"string"},"value":{"description":"The price of the product or service.\nThis value must be provided in a currency's smallest unit.\n","format":"int64","type":"integer"}},"required":["seller_email","currency","description","value","ad_id","seller_country_code"],"type":"object"},"id":"schema_135"},"schema_136":{"kind":"json-schema","data":{"items":{"$ref":"#/components/schemas/app_notifs.Notification"},"type":"array"},"id":"schema_136"}},"exampleStore":{},"securitySchemeStore":{"APIKey":{"id":"APIKey","type":"http","scheme":"basic"},"OAuth2":{"id":"OAuth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/auth","tokenUrl":"https://sso.trustap.com/auth/realms/trustap-stage/protocol/openid-connect/token","scopes":{"basic_ls:offline_accept_listing":"This client may accept Online listings on the user's behalf\nwhile the user is offline.\n","basic_ls:offline_create":"This client may create Online listings for the user while the\nuser is offline.\n","basic_tx:offline_accept_payment":"This client may accept payments for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_cancel":"This client may cancel Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_claim":"This client may claim Online transactions on the user's behalf\nwhile the user is offline.\n","basic_tx:offline_complain":"This client may submit complaints for Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_create_join":"This client may create and join Online transactions on the\nuser's behalf while the user is offline.\n","basic_tx:offline_track":"This client may submit tracking information for Online\ntransactions on the user's behalf while the user is offline.\n","openid":"This client is making an OpenID Connect request.\n","p2p_ls:offline_create":"This client may create F2F listings for the user while the user\nis offline.\n","p2p_ls:offline_update":"This client may update F2F listings on the user's behalf while\nthe user is offline.\n","p2p_tx:offline_accept_deposit":"This client may accept deposits for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_cancel":"This client may cancel F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_claim":"This client may claim F2F transactions on the user's behalf\nwhile the user is offline.\n","p2p_tx:offline_complain":"This client may submit complaints for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_confirm_handover":"This client may confirm handovers for F2F transactions on the\nuser's behalf while the user is offline.\n","p2p_tx:offline_create_join":"This client may create and join F2F transactions on the user's\nbehalf while the user is offline.\n","p2p_tx:offline_set_price":"This client may set the price for F2F transactions on the user's\nbehalf while the user is offline.\n","profile":"This client may access the user's default profile claims: `name`,\n`family_name`, `given_name`, `middle_name`, `nickname`,\n`preferred_username`, `profile`, `picture`, `website`, `gender`,\n`birthdate`, `zoneinfo`, `locale`, and `updated_at`.\n"}}}}},"servers":[{"url":"https://dev.stage.trustap.com"}]},"options":{"hideSidebar":true,"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/apis/@v1.0/openapi.json?download"},{"url":"/_bundle/apis/@v1.0/openapi.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Trustap API","description":"The Trustap API is a REST-based API for managing user data and\ntransactions for Trustap users.\n\nNote that, like Stripe, all API `price` and `charge` fields expect\namounts to be provided in a currency's smallest unit. See [the Stripe\ndocumentation](https://stripe.com/docs/currencies#zero-decimal) for more\ndetails.\n\nAPI Keys\n--------\n\nSome endpoints such as `/charge` endpoints can be accessed directly\nusing an API key. API keys are provided as the \"username\" portion of a\nbasic auth authentication. For example, the Trustap fee for a new online\ntransaction can be determined using the following cURL request with an\nAPI key:\n\n``` bash\ncurl -u '<api_key>': 'https://dev.stage.trustap.com/api/v1/charge?currency=eur&price=1234'\n```\n\nDeprecation\n-----------\n\nDeprecated endpoints are tagged with the word `DEPRECATED` at the start\nof their description. The deprecation message will describe what\nendpoints/approach should be used instead.\n\nNote that deprecated endpoints will not be removed from the current\nversion of the API, but their use is discouraged. Furthermore, migrating\nto later major versions of the API will be made easier by avoiding\ndeprecated endpoints.\n\nProduction\n----------\n\nThis documentation references the staging environment of the Trustap\nAPI, which is available at `https://dev.stage.trustap.com` and uses the\n`trustap-stage` realm during authentication. This environment can be\nused for implementing and testing features using test credit cards, bank\naccounts, etc.\n\nWhen all features using Trustap have been implemented and tested\nsufficiently, the production environment of the Trustap API can be used\nto process actual currency. This environment is available at\n`https://dev.trustap.com` and uses the `trustap` realm during\nauthentication.\n\nNote that only your client ID will be the same in the staging and\nproduction Trustap API environments; your client secret and API key will\nbe different in the two environments.\n"}},"baseSlug":"/apis/v1.0/openapi","routesMapping":{}}