{"items":[{"type":"link","label":"simpay-api","link":"/en/apis","routeSlug":"/en/apis","content":{"contentType":"overview","meta":{"name":"simpay-api"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"index.json","url":"/_bundle/@l10n/en/apis/index.json?download"},{"kind":"download","label":"index.yaml","url":"/_bundle/@l10n/en/apis/index.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"URL","titleTranslationKey":"info.contact.url","label":"https://simpay.pl/kontakt","url":"https://simpay.pl/kontakt"},{"kind":"email","title":"Support","email":"kontakt@simpay.pl","label":"kontakt@simpay.pl","withCopyButton":true,"copyContent":"kontakt@simpay.pl"},{"kind":"externallink","label":"Terms of Service","labelTranslationKey":"info.termsOfService","url":"https://simpay.pl/uploads/download/documents/regulamin.pdf"}]},{"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":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"simpay-api (1.0.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"href":"/apis"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Polish version"},"children":[],"type":"text"}],"type":"link"}],"type":"paragraph"}]}],"sectionId":"/"}],"sectionId":"/"}]}]}},{"type":"group","label":"SMS","link":"/en/apis/sms","routeSlug":"/en/apis/sms","items":[{"label":"Service list","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/sms/smsservicelist","routeSlug":"/en/apis/sms/smsservicelist","metadata":{"seo":{"title":"Service list","description":"Retrieving a list of available SMS services on the account"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"smsServiceList","name":"Service list","isWebhook":false,"pointer":"/paths/~1sms/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Service list","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieving a list of available SMS services on the account"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["sms.services"],"type":"http","scheme":"bearer"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/sms","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["sms.services"]}],"responseCodes":["200","401","403","404"],"pointer":"/sms","href":"sms/smsservicelist","openApiOperationId":"smsServiceList","summary":"Service list"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsGetServices"}},"schemaId":"components/schemas/smsGetServices"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1sms/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/smsGetServices","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsGetServices"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sms/smsservicelist"}],"panels":[]}]},"httpPath":"/sms"},{"label":"Retrieving service information","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/sms/smsserviceshow","routeSlug":"/en/apis/sms/smsserviceshow","metadata":{"seo":{"title":"Retrieving service information","description":"Retrieving service information"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"smsServiceShow","name":"Retrieving service information","isWebhook":false,"pointer":"/paths/~1sms~1{serviceId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving service information","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["sms.services.show"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1sms~1{serviceId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/sms/{serviceId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["sms.services.show"]}],"responseCodes":["200","401","403","404"],"pointer":"/sms/{serviceId}","href":"sms/smsserviceshow","openApiOperationId":"smsServiceShow","summary":"Retrieving service information"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsGetService"}},"schemaId":"components/schemas/smsGetService"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1sms~1{serviceId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/smsGetService","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsGetService"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sms/smsserviceshow"}],"panels":[]}]},"httpPath":"/sms/{serviceId}"},{"label":"Verifying code correctness","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/sms/smsservicecheckcode","routeSlug":"/en/apis/sms/smsservicecheckcode","metadata":{"seo":{"title":"Verifying code correctness","description":"Verifying code correctness"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"smsServiceCheckCode","name":"Verifying code correctness","isWebhook":false,"pointer":"/paths/~1sms~1{serviceId}/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Verifying code correctness","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["sms.services.code"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1sms~1{serviceId}/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1"}},"schemaId":"schema_1","pointer":"/paths/~1sms~1{serviceId}/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/sms/{serviceId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["sms.services.code"]}],"requestBody":{"application/json":{"schemaId":"schema_1"}},"responseCodes":["200","401","403","404"],"pointer":"/sms/{serviceId}","href":"sms/smsservicecheckcode","openApiOperationId":"smsServiceCheckCode","summary":"Verifying code correctness"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"schema_1","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_1"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_2"}},"schemaId":"schema_2"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1sms~1{serviceId}/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_2","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_2"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sms/smsservicecheckcode"}],"panels":[]}]},"httpPath":"/sms/{serviceId}"},{"label":"Retrieving a list of transactions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/sms/smstransactionslist","routeSlug":"/en/apis/sms/smstransactionslist","metadata":{"seo":{"title":"Retrieving a list of transactions","description":"Retrieving a list of transactions"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"smsTransactionsList","name":"Retrieving a list of transactions","isWebhook":false,"pointer":"/paths/~1sms~1{serviceId}~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving a list of transactions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["sms.services.transactions"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1sms~1{serviceId}~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/sms/{serviceId}/transactions","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["sms.services.transactions"]}],"responseCodes":["200","401","403","404"],"pointer":"/sms/{serviceId}/transactions","href":"sms/smstransactionslist","openApiOperationId":"smsTransactionsList","summary":"Retrieving a list of transactions"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsGetServiceTransactions"}},"schemaId":"components/schemas/smsGetServiceTransactions"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1sms~1{serviceId}~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/smsGetServiceTransactions","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsGetServiceTransactions"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sms/smstransactionslist"}],"panels":[]}]},"httpPath":"/sms/{serviceId}/transactions"},{"label":"Retrieving transaction information","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/sms/smstransactionsshow","routeSlug":"/en/apis/sms/smstransactionsshow","metadata":{"seo":{"title":"Retrieving transaction information","description":"Retrieving transaction information"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"smsTransactionsShow","name":"Retrieving transaction information","isWebhook":false,"pointer":"/paths/~1sms~1{serviceId}~1transactions~1{transactionId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving transaction information","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["sms.services.transactions.show"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true},{"name":"transactionId","in":"path","schemaId":"schema_3","required":true}],"pointer":"/paths/~1sms~1{serviceId}~1transactions~1{transactionId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/sms/{serviceId}/transactions/{transactionId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"},{"name":"transactionId","in":"path","required":true,"schemaId":"schema_3"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["sms.services.transactions.show"]}],"responseCodes":["200","401","403","404"],"pointer":"/sms/{serviceId}/transactions/{transactionId}","href":"sms/smstransactionsshow","openApiOperationId":"smsTransactionsShow","summary":"Retrieving transaction information"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsGetServiceTransaction"}},"schemaId":"components/schemas/smsGetServiceTransaction"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1sms~1{serviceId}~1transactions~1{transactionId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/smsGetServiceTransaction","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsGetServiceTransaction"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sms/smstransactionsshow"}],"panels":[]}]},"httpPath":"/sms/{serviceId}/transactions/{transactionId}"},{"label":"Retrieving information about numbers for the service","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/sms/smsservicenumbers","routeSlug":"/en/apis/sms/smsservicenumbers","metadata":{"seo":{"title":"Retrieving information about numbers for the service","description":"Retrieving information about numbers for the service"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"smsServiceNumbers","name":"Retrieving information about numbers for the service","isWebhook":false,"pointer":"/paths/~1sms~1{serviceId}~1numbers/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving information about numbers for the service","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["sms.services.numbers"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1sms~1{serviceId}~1numbers/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/sms/{serviceId}/numbers","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["sms.services.numbers"]}],"responseCodes":["200","401","403","404"],"pointer":"/sms/{serviceId}/numbers","href":"sms/smsservicenumbers","openApiOperationId":"smsServiceNumbers","summary":"Retrieving information about numbers for the service"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsServiceNumbers"}},"schemaId":"components/schemas/smsServiceNumbers"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1sms~1{serviceId}~1numbers/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/smsServiceNumbers","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsServiceNumbers"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sms/smsservicenumbers"}],"panels":[]}]},"httpPath":"/sms/{serviceId}/numbers"},{"label":"Retrieving information about the number for the service","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/sms/smsservicenumber","routeSlug":"/en/apis/sms/smsservicenumber","metadata":{"seo":{"title":"Retrieving information about the number for the service","description":"Retrieving information about the number for the service"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"smsServiceNumber","name":"Retrieving information about the number for the service","isWebhook":false,"pointer":"/paths/~1sms~1{serviceId}~1numbers~1{number}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving information about the number for the service","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["sms.services.numbers.show"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true},{"name":"number","in":"path","schemaId":"schema_3","required":true}],"pointer":"/paths/~1sms~1{serviceId}~1numbers~1{number}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/sms/{serviceId}/numbers/{number}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"},{"name":"number","in":"path","required":true,"schemaId":"schema_3"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["sms.services.numbers.show"]}],"responseCodes":["200","401","403","404"],"pointer":"/sms/{serviceId}/numbers/{number}","href":"sms/smsservicenumber","openApiOperationId":"smsServiceNumber","summary":"Retrieving information about the number for the service"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsServiceNumber"}},"schemaId":"components/schemas/smsServiceNumber"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1sms~1{serviceId}~1numbers~1{number}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/smsServiceNumber","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsServiceNumber"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sms/smsservicenumber"}],"panels":[]}]},"httpPath":"/sms/{serviceId}/numbers/{number}"},{"label":"Retrieving all available numbers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/sms/smsnumbers","routeSlug":"/en/apis/sms/smsnumbers","metadata":{"seo":{"title":"Retrieving all available numbers","description":"Retrieving all available numbers"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"smsNumbers","name":"Retrieving all available numbers","isWebhook":false,"pointer":"/paths/~1sms~1numbers/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving all available numbers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["sms.numbers"],"type":"http","scheme":"bearer"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/sms/numbers","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["sms.numbers"]}],"responseCodes":["200","401","403","404"],"pointer":"/sms/numbers","href":"sms/smsnumbers","openApiOperationId":"smsNumbers","summary":"Retrieving all available numbers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsServiceNumbers"}},"schemaId":"components/schemas/smsServiceNumbers"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1sms~1numbers/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/smsServiceNumbers","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsServiceNumbers"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sms/smsnumbers"}],"panels":[]}]},"httpPath":"/sms/numbers"},{"label":"Retrieving a number","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/sms/smsnumber","routeSlug":"/en/apis/sms/smsnumber","metadata":{"seo":{"title":"Retrieving a number","description":"Retrieving a number"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"smsNumber","name":"Retrieving a number","isWebhook":false,"pointer":"/paths/~1sms~1numbers~1{number}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving a number","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["sms.numbers.show"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"number","in":"path","schemaId":"schema_3","required":true}],"pointer":"/paths/~1sms~1numbers~1{number}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/sms/numbers/{number}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"number","in":"path","required":true,"schemaId":"schema_3"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["sms.numbers.show"]}],"responseCodes":["200","401","403","404"],"pointer":"/sms/numbers/{number}","href":"sms/smsnumber","openApiOperationId":"smsNumber","summary":"Retrieving a number"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsServiceNumber"}},"schemaId":"components/schemas/smsServiceNumber"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1sms~1numbers~1{number}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/smsServiceNumber","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/smsServiceNumber"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sms/smsnumber"}],"panels":[]}]},"httpPath":"/sms/numbers/{number}"}],"content":{"contentType":"group","meta":{"name":"SMS"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"SMS","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/sms","summary":"Service list","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sms/smsservicelist","deprecated":false},{"title":"/sms/{serviceId}","summary":"Retrieving service information","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sms/smsserviceshow","deprecated":false},{"title":"/sms/{serviceId}","summary":"Verifying code correctness","prefix":{"name":"post","color":"post"},"badges":[],"link":"/sms/smsservicecheckcode","deprecated":false},{"title":"/sms/{serviceId}/transactions","summary":"Retrieving a list of transactions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sms/smstransactionslist","deprecated":false},{"title":"/sms/{serviceId}/transactions/{transactionId}","summary":"Retrieving transaction information","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sms/smstransactionsshow","deprecated":false},{"title":"/sms/{serviceId}/numbers","summary":"Retrieving information about numbers for the service","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sms/smsservicenumbers","deprecated":false},{"title":"/sms/{serviceId}/numbers/{number}","summary":"Retrieving information about the number for the service","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sms/smsservicenumber","deprecated":false},{"title":"/sms/numbers","summary":"Retrieving all available numbers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sms/smsnumbers","deprecated":false},{"title":"/sms/numbers/{number}","summary":"Retrieving a number","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sms/smsnumber","deprecated":false}]}]}]}]}},{"type":"group","label":"DirectBilling","link":"/en/apis/directbilling","routeSlug":"/en/apis/directbilling","items":[{"label":"Retrieving a list of services","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/directbilling/directbillinggetservices","routeSlug":"/en/apis/directbilling/directbillinggetservices","metadata":{"seo":{"title":"Retrieving a list of services","description":"Retrieving a list of services"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"directbillingGetServices","name":"Retrieving a list of services","isWebhook":false,"pointer":"/paths/~1directbilling/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving a list of services","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["directbilling.services"],"type":"http","scheme":"bearer"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/directbilling","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["directbilling.services"]}],"responseCodes":["200","401","403","404"],"pointer":"/directbilling","href":"directbilling/directbillinggetservices","openApiOperationId":"directbillingGetServices","summary":"Retrieving a list of services"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingGetServicesResponse"}},"schemaId":"components/schemas/directbillingGetServicesResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1directbilling/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/directbillingGetServicesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingGetServicesResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/directbilling/directbillinggetservices"}],"panels":[]}]},"httpPath":"/directbilling"},{"label":"Retrieving service information","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/directbilling/directbillingservice","routeSlug":"/en/apis/directbilling/directbillingservice","metadata":{"seo":{"title":"Retrieving service information","description":"Retrieving service information"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"directbillingService","name":"Retrieving service information","isWebhook":false,"pointer":"/paths/~1directbilling~1{serviceId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving service information","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["directbilling.services.show"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1directbilling~1{serviceId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/directbilling/{serviceId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["directbilling.services.show"]}],"responseCodes":["200","401","403","404"],"pointer":"/directbilling/{serviceId}","href":"directbilling/directbillingservice","openApiOperationId":"directbillingService","summary":"Retrieving service information"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingGetServiceResponse"}},"schemaId":"components/schemas/directbillingGetServiceResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1directbilling~1{serviceId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/directbillingGetServiceResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingGetServiceResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/directbilling/directbillingservice"}],"panels":[]}]},"httpPath":"/directbilling/{serviceId}"},{"label":"Commission calculation","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/directbilling/directbillingservicecalculate","routeSlug":"/en/apis/directbilling/directbillingservicecalculate","metadata":{"seo":{"title":"Commission calculation","description":"Commission calculation"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"directbillingServiceCalculate","name":"Commission calculation","isWebhook":false,"pointer":"/paths/~1directbilling~1{serviceId}~1calculate/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Commission calculation","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["directbilling.services"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1directbilling~1{serviceId}~1calculate/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"amount","in":"query","schemaId":"schema_4","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The amount we want to receive “net”"},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1directbilling~1{serviceId}~1calculate/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/directbilling/{serviceId}/calculate","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[{"name":"amount","in":"query","required":true,"schemaId":"schema_4","allowReserved":true}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["directbilling.services"]}],"responseCodes":["200","401","403","404"],"pointer":"/directbilling/{serviceId}/calculate","href":"directbilling/directbillingservicecalculate","openApiOperationId":"directbillingServiceCalculate","summary":"Commission calculation"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingServiceCalculateResponse"}},"schemaId":"components/schemas/directbillingServiceCalculateResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1directbilling~1{serviceId}~1calculate/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/directbillingServiceCalculateResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingServiceCalculateResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/directbilling/directbillingservicecalculate"}],"panels":[]}]},"httpPath":"/directbilling/{serviceId}/calculate"},{"label":"Retrieving a list of transactions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/directbilling/directbillingtransactions","routeSlug":"/en/apis/directbilling/directbillingtransactions","metadata":{"seo":{"title":"Retrieving a list of transactions","description":"Retrieving a list of transactions"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"directbillingTransactions","name":"Retrieving a list of transactions","isWebhook":false,"pointer":"/paths/~1directbilling~1{serviceId}~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving a list of transactions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["directbilling.transactions"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1directbilling~1{serviceId}~1transactions/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"filter[status]","in":"query","schemaId":"schema_5"},{"name":"filter[phoneNumber]","in":"query","schemaId":"schema_6"},{"name":"filter[control]","in":"query","schemaId":"schema_7"}],"pointer":"/paths/~1directbilling~1{serviceId}~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/directbilling/{serviceId}/transactions","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[{"name":"filter[status]","in":"query","required":false,"schemaId":"components/schemas/directbillingTransactionStatus"},{"name":"filter[phoneNumber]","in":"query","required":false,"example":"48123123123","schemaId":"schema_6"},{"name":"filter[control]","in":"query","required":false,"schemaId":"schema_7"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["directbilling.transactions"]}],"responseCodes":["200","401","403","404"],"pointer":"/directbilling/{serviceId}/transactions","href":"directbilling/directbillingtransactions","openApiOperationId":"directbillingTransactions","summary":"Retrieving a list of transactions"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingGetTransactionsResponse"}},"schemaId":"components/schemas/directbillingGetTransactionsResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1directbilling~1{serviceId}~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/directbillingGetTransactionsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingGetTransactionsResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/directbilling/directbillingtransactions"}],"panels":[]}]},"httpPath":"/directbilling/{serviceId}/transactions"},{"label":"Generating a transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/directbilling/directbillingtransactioncreate","routeSlug":"/en/apis/directbilling/directbillingtransactioncreate","metadata":{"seo":{"title":"Generating a transaction","description":"Generating a transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"directbillingTransactionCreate","name":"Generating a transaction","isWebhook":false,"pointer":"/paths/~1directbilling~1{serviceId}~1transactions/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Generating a transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["directbilling.transactions.create"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1directbilling~1{serviceId}~1transactions/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_8"}},"schemaId":"schema_8","pointer":"/paths/~1directbilling~1{serviceId}~1transactions/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/directbilling/{serviceId}/transactions","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["directbilling.transactions.create"]}],"requestBody":{"application/json":{"schemaId":"schema_8"}},"responseCodes":["200","401","403","404","422"],"pointer":"/directbilling/{serviceId}/transactions","href":"directbilling/directbillingtransactioncreate","openApiOperationId":"directbillingTransactionCreate","summary":"Generating a transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"schema_8","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_8"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingTransactionCreateResponse"}},"schemaId":"components/schemas/directbillingTransactionCreateResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1directbilling~1{serviceId}~1transactions/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/directbillingTransactionCreateResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingTransactionCreateResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/directbilling/directbillingtransactioncreate"}],"panels":[]}]},"httpPath":"/directbilling/{serviceId}/transactions"},{"label":"Retrieving transaction information","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/directbilling/directbillingtransaction","routeSlug":"/en/apis/directbilling/directbillingtransaction","metadata":{"seo":{"title":"Retrieving transaction information","description":"Retrieving transaction information"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"directbillingTransaction","name":"Retrieving transaction information","isWebhook":false,"pointer":"/paths/~1directbilling~1{serviceId}~1transactions~1{transactionId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving transaction information","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["directbilling.transactions.show"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true},{"name":"transactionId","in":"path","schemaId":"schema_9","required":true}],"pointer":"/paths/~1directbilling~1{serviceId}~1transactions~1{transactionId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/directbilling/{serviceId}/transactions/{transactionId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"},{"name":"transactionId","in":"path","required":true,"schemaId":"components/schemas/TransactionId"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["directbilling.transactions.show"]}],"responseCodes":["200","401","403","404"],"pointer":"/directbilling/{serviceId}/transactions/{transactionId}","href":"directbilling/directbillingtransaction","openApiOperationId":"directbillingTransaction","summary":"Retrieving transaction information"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingGetTransactionResponse"}},"schemaId":"components/schemas/directbillingGetTransactionResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1directbilling~1{serviceId}~1transactions~1{transactionId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/directbillingGetTransactionResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/directbillingGetTransactionResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/directbilling/directbillingtransaction"}],"panels":[]}]},"httpPath":"/directbilling/{serviceId}/transactions/{transactionId}"},{"type":"separator","label":"Webhooks","variant":"secondary","content":null},{"label":"Receiving DirectBilling transaction information","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/en/apis/directbilling/directbillingtransactionnotification","routeSlug":"/en/apis/directbilling/directbillingtransactionnotification","metadata":{"seo":{"title":"Receiving DirectBilling transaction information","description":"Signature"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"directbillingTransactionNotification","name":"Receiving DirectBilling transaction information","isWebhook":true,"pointer":"/paths/directbillingTransactionNotification/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Receiving DirectBilling transaction information","isWebhook":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"directbilling/directbillingtransactionnotification/request/signature","deepLinkHash":"/directbilling/directbillingtransactionnotification#directbilling/directbillingtransactionnotification/request/signature"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Signature"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"level":2,"id":"directbilling/directbillingtransactionnotification/request/calculating-the-signature-when-receiving-a-notification","deepLinkHash":"/directbilling/directbillingtransactionnotification#directbilling/directbillingtransactionnotification/request/calculating-the-signature-when-receiving-a-notification"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Calculating the signature when receiving a notification"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"We generate the signature by combining all the parameters received (except for the signature) to the API in the order from the table above, separating them with a | separator and adding at the end the key available in the customer panel in the service. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Hashing must be done using sha256. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"dc261d4f-31ef-4728-bfd6-97bbe2a5ef0a|e14f8074|transaction_db_payed|11.07|13.67|5.00|https://www.simpay.pl/complete|https://www.simpay.pl/failure|test|123123123|1|key"},"children":[],"type":"code"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The notification is sent using the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" method and requires you to respond in the body with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"OK"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and Http Code "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"200"},"children":[],"type":"code"}],"type":"paragraph"}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","isEvent":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/directbillingTransactionNotification"}},"schemaId":"components/schemas/directbillingTransactionNotification","pointer":"/paths/directbillingTransactionNotification/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"webhook","method":"POST","path":"directbillingTransactionNotification","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/directbillingTransactionNotification"}},"responseCodes":["200"],"pointer":"directbillingTransactionNotification","href":"directbilling/directbillingtransactionnotification","openApiOperationId":"directbillingTransactionNotification","summary":"Receiving DirectBilling transaction information"},"isWebhook":true,"hideReplay":false,"schemaId":"components/schemas/directbillingTransactionNotification","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/directbillingTransactionNotification"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Return a 200 status to indicate that the data was received successfully","mediaType":"text/plain","mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"schemaId":"schema_10","exampleIds":["paths/directbillingTransactionNotification/post/responses/200/content/text~1plain/examples/test_request"]}},"schemaId":"schema_10","exampleIds":["paths/directbillingTransactionNotification/post/responses/200/content/text~1plain/examples/test_request"]}],"pointer":"/paths/directbillingTransactionNotification/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_10","exampleIds":["paths/directbillingTransactionNotification/post/responses/200/content/text~1plain/examples/test_request"],"mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"schemaId":"schema_10","exampleIds":["paths/directbillingTransactionNotification/post/responses/200/content/text~1plain/examples/test_request"]}}}],"isEvent":true,"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/directbilling/directbillingtransactionnotification"}],"panels":[]}]},"httpPath":"directbillingTransactionNotification"}],"content":{"contentType":"group","meta":{"name":"DirectBilling"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"DirectBilling","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/directbilling","summary":"Retrieving a list of services","prefix":{"name":"get","color":"get"},"badges":[],"link":"/directbilling/directbillinggetservices","deprecated":false},{"title":"/directbilling/{serviceId}","summary":"Retrieving service information","prefix":{"name":"get","color":"get"},"badges":[],"link":"/directbilling/directbillingservice","deprecated":false},{"title":"/directbilling/{serviceId}/calculate","summary":"Commission calculation","prefix":{"name":"get","color":"get"},"badges":[],"link":"/directbilling/directbillingservicecalculate","deprecated":false},{"title":"/directbilling/{serviceId}/transactions","summary":"Retrieving a list of transactions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/directbilling/directbillingtransactions","deprecated":false},{"title":"/directbilling/{serviceId}/transactions","summary":"Generating a transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/directbilling/directbillingtransactioncreate","deprecated":false},{"title":"/directbilling/{serviceId}/transactions/{transactionId}","summary":"Retrieving transaction information","prefix":{"name":"get","color":"get"},"badges":[],"link":"/directbilling/directbillingtransaction","deprecated":false}]},{"kind":"group-items","title":"Webhooks","titleTranslationKey":"webhooks","items":[{"title":"directbillingTransactionNotification","summary":"Receiving DirectBilling transaction information","prefix":{"name":"post","color":"post"},"badges":[],"link":"/directbilling/directbillingtransactionnotification","deprecated":false}]}]}]}]}},{"type":"group","label":"Online Payments","link":"/en/apis/payment","routeSlug":"/en/apis/payment","items":[{"label":"Retrieving a list of services","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentgetservices","routeSlug":"/en/apis/payment/paymentgetservices","metadata":{"seo":{"title":"Retrieving a list of services","description":"Retrieving a list of services"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentGetServices","name":"Retrieving a list of services","isWebhook":false,"pointer":"/paths/~1payment/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving a list of services","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.services"],"type":"http","scheme":"bearer"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payment","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.services"]}],"responseCodes":["200","401","403","404"],"pointer":"/payment","href":"payment/paymentgetservices","openApiOperationId":"paymentGetServices","summary":"Retrieving a list of services"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetServicesResponse"}},"schemaId":"components/schemas/paymentGetServicesResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1payment/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentGetServicesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetServicesResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentgetservices"}],"panels":[]}]},"httpPath":"/payment"},{"label":"Retrieving service details","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentgetservice","routeSlug":"/en/apis/payment/paymentgetservice","metadata":{"seo":{"title":"Retrieving service details","description":"Retrieving service details"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentGetService","name":"Retrieving service details","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving service details","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.service"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1payment~1{serviceId}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payment/{serviceId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.service"]}],"responseCodes":["200","401","403","404"],"pointer":"/payment/{serviceId}","href":"payment/paymentgetservice","openApiOperationId":"paymentGetService","summary":"Retrieving service details"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetServiceResponse"}},"schemaId":"components/schemas/paymentGetServiceResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1payment~1{serviceId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentGetServiceResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetServiceResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentgetservice"}],"panels":[]}]},"httpPath":"/payment/{serviceId}"},{"label":"Retrieving a list of channels for the service","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentgetchannels","routeSlug":"/en/apis/payment/paymentgetchannels","metadata":{"seo":{"title":"Retrieving a list of channels for the service","description":"Retrieving a list of channels for the service"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentGetChannels","name":"Retrieving a list of channels for the service","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1channels/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving a list of channels for the service","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.channels"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1channels/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1channels/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payment/{serviceId}/channels","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.channels"]}],"responseCodes":["200","401","403","404"],"pointer":"/payment/{serviceId}/channels","href":"payment/paymentgetchannels","openApiOperationId":"paymentGetChannels","summary":"Retrieving a list of channels for the service"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetServiceChannelsResponse"}},"schemaId":"components/schemas/paymentGetServiceChannelsResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1payment~1{serviceId}~1channels/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentGetServiceChannelsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetServiceChannelsResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentgetchannels"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/channels"},{"label":"Retrieving a list of transactions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentgettransactions","routeSlug":"/en/apis/payment/paymentgettransactions","metadata":{"seo":{"title":"Retrieving a list of transactions","description":"Retrieving a list of transactions"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentGetTransactions","name":"Retrieving a list of transactions","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving a list of transactions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1transactions/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payment/{serviceId}/transactions","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions"]}],"responseCodes":["200","401","403","404"],"pointer":"/payment/{serviceId}/transactions","href":"payment/paymentgettransactions","openApiOperationId":"paymentGetTransactions","summary":"Retrieving a list of transactions"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetTransactionsResponse"}},"schemaId":"components/schemas/paymentGetTransactionsResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1payment~1{serviceId}~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentGetTransactionsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetTransactionsResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentgettransactions"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/transactions"},{"label":"Generating a transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymenttransactioncreate","routeSlug":"/en/apis/payment/paymenttransactioncreate","metadata":{"seo":{"title":"Generating a transaction","description":"Generating a transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentTransactionCreate","name":"Generating a transaction","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1transactions/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Generating a transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions.create"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1transactions/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1transactions/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentCreateTransactionRequest"}},"schemaId":"components/schemas/paymentCreateTransactionRequest","pointer":"/paths/~1payment~1{serviceId}~1transactions/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payment/{serviceId}/transactions","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions.create"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/paymentCreateTransactionRequest"}},"responseCodes":["200","401","403","404","422"],"pointer":"/payment/{serviceId}/transactions","href":"payment/paymenttransactioncreate","openApiOperationId":"paymentTransactionCreate","summary":"Generating a transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"components/schemas/paymentCreateTransactionRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentCreateTransactionRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentTransactionCreateResponse"}},"schemaId":"components/schemas/paymentTransactionCreateResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1payment~1{serviceId}~1transactions/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentTransactionCreateResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentTransactionCreateResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymenttransactioncreate"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/transactions"},{"label":"Retrieving transaction details","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentgettransaction","routeSlug":"/en/apis/payment/paymentgettransaction","metadata":{"seo":{"title":"Retrieving transaction details","description":"Retrieving transaction details"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentGetTransaction","name":"Retrieving transaction details","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving transaction details","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transaction"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true},{"name":"transactionId","in":"path","schemaId":"schema_9","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payment/{serviceId}/transactions/{transactionId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"},{"name":"transactionId","in":"path","required":true,"schemaId":"components/schemas/TransactionId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transaction"]}],"responseCodes":["200","401","403","404"],"pointer":"/payment/{serviceId}/transactions/{transactionId}","href":"payment/paymentgettransaction","openApiOperationId":"paymentGetTransaction","summary":"Retrieving transaction details"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetTransactionResponse"}},"schemaId":"components/schemas/paymentGetTransactionResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentGetTransactionResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetTransactionResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentgettransaction"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/transactions/{transactionId}"},{"label":"Retrieve a list of refunds for a transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentgettransactionrefunds","routeSlug":"/en/apis/payment/paymentgettransactionrefunds","metadata":{"seo":{"title":"Retrieve a list of refunds for a transaction","description":"Retrieve a list of refunds for a transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentGetTransactionRefunds","name":"Retrieve a list of refunds for a transaction","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve a list of refunds for a transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions.create"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true},{"name":"transactionId","in":"path","schemaId":"schema_9","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payment/{serviceId}/transactions/{transactionId}/refunds","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"},{"name":"transactionId","in":"path","required":true,"schemaId":"components/schemas/TransactionId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions.create"]}],"responseCodes":["200","401","403","404"],"pointer":"/payment/{serviceId}/transactions/{transactionId}/refunds","href":"payment/paymentgettransactionrefunds","openApiOperationId":"paymentGetTransactionRefunds","summary":"Retrieve a list of refunds for a transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetTransactionRefundsResponse"}},"schemaId":"components/schemas/paymentGetTransactionRefundsResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentGetTransactionRefundsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetTransactionRefundsResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentgettransactionrefunds"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/transactions/{transactionId}/refunds"},{"label":"Create a refund for a transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentmaketransactionrefund","routeSlug":"/en/apis/payment/paymentmaketransactionrefund","metadata":{"seo":{"title":"Create a refund for a transaction","description":"Create a refund for a transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentMakeTransactionRefund","name":"Create a refund for a transaction","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a refund for a transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions.create"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true},{"name":"transactionId","in":"path","schemaId":"schema_9","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payment/{serviceId}/transactions/{transactionId}/refunds","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"},{"name":"transactionId","in":"path","required":true,"schemaId":"components/schemas/TransactionId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions.create"]}],"responseCodes":["200","400","401","403","404","409"],"pointer":"/payment/{serviceId}/transactions/{transactionId}/refunds","href":"payment/paymentmaketransactionrefund","openApiOperationId":"paymentMakeTransactionRefund","summary":"Create a refund for a transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentMakeTransactionRefundResponse"}},"schemaId":"components/schemas/paymentMakeTransactionRefundResponse"},{"code":"400","description":"Error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_12"}},"schemaId":"schema_12"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"},{"code":"409","description":"Error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_13"}},"schemaId":"schema_13"}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentMakeTransactionRefundResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentMakeTransactionRefundResponse"}}},{"code":"400","schemaId":"schema_12","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_12"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}},{"code":"409","schemaId":"schema_13","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_13"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentmaketransactionrefund"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/transactions/{transactionId}/refunds"},{"label":"Retrieve a single refund within a transaction","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymenttransactionrefundshow","routeSlug":"/en/apis/payment/paymenttransactionrefundshow","metadata":{"seo":{"title":"Retrieve a single refund within a transaction","description":"Retrieve a single refund within a transaction"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentTransactionRefundShow","name":"Retrieve a single refund within a transaction","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds~1{refundId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve a single refund within a transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions.create"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true},{"name":"transactionId","in":"path","schemaId":"schema_9","required":true},{"name":"refundId","in":"path","schemaId":"schema_14","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds~1{refundId}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds~1{refundId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payment/{serviceId}/transactions/{transactionId}/refunds/{refundId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"},{"name":"transactionId","in":"path","required":true,"schemaId":"components/schemas/TransactionId"},{"name":"refundId","in":"path","required":true,"schemaId":"components/schemas/RefundId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions.create"]}],"responseCodes":["200","401","403","404"],"pointer":"/payment/{serviceId}/transactions/{transactionId}/refunds/{refundId}","href":"payment/paymenttransactionrefundshow","openApiOperationId":"paymentTransactionRefundShow","summary":"Retrieve a single refund within a transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentShowTransactionRefundResponse"}},"schemaId":"components/schemas/paymentShowTransactionRefundResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1payment~1{serviceId}~1transactions~1{transactionId}~1refunds~1{refundId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentShowTransactionRefundResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentShowTransactionRefundResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymenttransactionrefundshow"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/transactions/{transactionId}/refunds/{refundId}"},{"label":"Retrieving a list of currencies for the service","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentgetcurrencies","routeSlug":"/en/apis/payment/paymentgetcurrencies","metadata":{"seo":{"title":"Retrieving a list of currencies for the service","description":"Retrieving a list of currencies for the service"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentGetCurrencies","name":"Retrieving a list of currencies for the service","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1currencies/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieving a list of currencies for the service","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.services"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1currencies/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1currencies/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payment/{serviceId}/currencies","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.services"]}],"responseCodes":["200","401","403","404"],"pointer":"/payment/{serviceId}/currencies","href":"payment/paymentgetcurrencies","openApiOperationId":"paymentGetCurrencies","summary":"Retrieving a list of currencies for the service"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetCurrenciesResponse"}},"schemaId":"components/schemas/paymentGetCurrenciesResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1payment~1{serviceId}~1currencies/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentGetCurrenciesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetCurrenciesResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentgetcurrencies"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/currencies"},{"label":"Providing BLIK code for Level 0 transaction","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentbliklevel0","routeSlug":"/en/apis/payment/paymentbliklevel0","metadata":{"seo":{"title":"Providing BLIK code for Level 0 transaction","description":"See https://docs.simpay.pl/payment/blik-level0 for more information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentBlikLevel0","name":"Providing BLIK code for Level 0 transaction","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Providing BLIK code for Level 0 transaction","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"See https://docs.simpay.pl/payment/blik-level0 for more information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true},{"name":"transactionId","in":"path","schemaId":"schema_9","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentBlik0TransactionRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/level0","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickRegistration","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentValueType","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentBlikId","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentUuid"]}},"schemaId":"components/schemas/paymentBlik0TransactionRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/level0","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickRegistration","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentValueType","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentBlikId","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentUuid"],"pointer":"/paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payment/{serviceId}/blik/level0/{transactionId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"},{"name":"transactionId","in":"path","required":true,"schemaId":"components/schemas/TransactionId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/paymentBlik0TransactionRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/level0","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickRegistration","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentValueType","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentBlikId","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentUuid"]}},"responseCodes":["204","400","401","403","404","409","422","429"],"pointer":"/payment/{serviceId}/blik/level0/{transactionId}","href":"payment/paymentbliklevel0","openApiOperationId":"paymentBlikLevel0","summary":"Providing BLIK code for Level 0 transaction"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"components/schemas/paymentBlik0TransactionRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/level0","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickRegistration","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentValueType","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentBlikId","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentUuid"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentBlik0TransactionRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/level0","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickRegistration","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentValueType","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentBlikId","paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentUuid"]}},"examples":[{},{},{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Payment confirmation sent to Payers Banking App"},{"code":"400","description":"Invalid BLIK code or BLIK ticket related error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_15"}},"schemaId":"schema_15"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"},{"code":"409","description":"Active multi-banking - need to specify the exact alias","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_16"}},"schemaId":"schema_16"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"},{"code":"429","description":"Too many failed BLIK code attempts within a minute (per payer)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_17"}},"schemaId":"schema_17"}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"schema_15","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_15"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}},{"code":"409","schemaId":"schema_16","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_16"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}},{"code":"429","schemaId":"schema_17","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_17"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentbliklevel0"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/blik/level0/{transactionId}"},{"label":"Retrieve subscription list","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentsubscriptionindex","routeSlug":"/en/apis/payment/paymentsubscriptionindex","metadata":{"seo":{"title":"Retrieve subscription list","description":"See https://docs.simpay.pl/payment/blik-recurrent for more information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentSubscriptionIndex","name":"Retrieve subscription list","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1subscriptions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve subscription list","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"See https://docs.simpay.pl/payment/blik-recurrent for more information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1subscriptions/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"filter[status]","in":"query","schemaId":"schema_18","example":"subscription_active"},{"name":"filter[mode]","in":"query","schemaId":"schema_19","example":"BLIK"},{"name":"filter[uuid]","in":"query","schemaId":"schema_20","example":"019970c6-3d3e-708c-9313-5f89e251e2c0"},{"name":"page","in":"query","schemaId":"schema_21","description":"Page number","example":1},{"name":"perPage","in":"query","schemaId":"schema_22","description":"How many results to display per page","example":20},{"name":"sort","in":"query","schemaId":"schema_23","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sort order (-created_at = newest first, created_at = oldest first)"},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1subscriptions/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1subscriptions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payment/{serviceId}/subscriptions","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[{"name":"filter[status]","in":"query","required":false,"example":"subscription_active","schemaId":"components/schemas/subscriptionStatus"},{"name":"filter[mode]","in":"query","required":false,"example":"BLIK","schemaId":"components/schemas/subscriptionMode"},{"name":"filter[uuid]","in":"query","required":false,"example":"019970c6-3d3e-708c-9313-5f89e251e2c0","schemaId":"components/schemas/SubscriptionId"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_21"},{"name":"perPage","in":"query","required":false,"example":20,"schemaId":"schema_22"},{"name":"sort","in":"query","required":false,"schemaId":"schema_23"}],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions"]}],"responseCodes":["200","401","403","404","422"],"pointer":"/payment/{serviceId}/subscriptions","href":"payment/paymentsubscriptionindex","openApiOperationId":"paymentSubscriptionIndex","summary":"Retrieve subscription list"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetSubscriptionsResponse"}},"schemaId":"components/schemas/paymentGetSubscriptionsResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1payment~1{serviceId}~1subscriptions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentGetSubscriptionsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetSubscriptionsResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentsubscriptionindex"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/subscriptions"},{"label":"Create a subscription","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentbliksubscriptioncreate","routeSlug":"/en/apis/payment/paymentbliksubscriptioncreate","metadata":{"seo":{"title":"Create a subscription","description":"See https://docs.simpay.pl/payment/blik-recurrent for more information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentBlikSubscriptionCreate","name":"Create a subscription","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1blik~1subscriptions/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a subscription","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"See https://docs.simpay.pl/payment/blik-recurrent for more information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1subscriptions/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1subscriptions/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentBlikSubscriptionCreateRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelA","paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelO","paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelM"]}},"schemaId":"components/schemas/paymentBlikSubscriptionCreateRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelA","paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelO","paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelM"],"pointer":"/paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payment/{serviceId}/blik/subscriptions","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/paymentBlikSubscriptionCreateRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelA","paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelO","paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelM"]}},"responseCodes":["201","400","401","403","404","409","422"],"pointer":"/payment/{serviceId}/blik/subscriptions","href":"payment/paymentbliksubscriptioncreate","openApiOperationId":"paymentBlikSubscriptionCreate","summary":"Create a subscription"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"components/schemas/paymentBlikSubscriptionCreateRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelA","paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelO","paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelM"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentBlikSubscriptionCreateRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelA","paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelO","paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelM"]}},"examples":[{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Subscription and alias created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_24"}},"schemaId":"schema_24"},{"code":"400","description":"Invalid BLIK code or similar error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_25"}},"schemaId":"schema_25"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"},{"code":"409","description":"Alias already exists","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_26"}},"schemaId":"schema_26"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1subscriptions/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"schema_24","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_24"}}},{"code":"400","schemaId":"schema_25","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_25"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}},{"code":"409","schemaId":"schema_26","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_26"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentbliksubscriptioncreate"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/blik/subscriptions"},{"label":"Execute BLIK Recurring Payment","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentbliksubscriptionexecuteautopayment","routeSlug":"/en/apis/payment/paymentbliksubscriptionexecuteautopayment","metadata":{"seo":{"title":"Execute BLIK Recurring Payment","description":"See https://docs.simpay.pl/payment/blik-recurrent for more information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentBlikSubscriptionExecuteAutoPayment","name":"Execute BLIK Recurring Payment","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Execute BLIK Recurring Payment","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"See https://docs.simpay.pl/payment/blik-recurrent for more information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true},{"name":"subscriptionId","in":"path","schemaId":"schema_20","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentBlikSubscriptionExecuteAutoPaymentRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/paymentBlikSubscriptionExecuteAutoPaymentRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payment/{serviceId}/blik/subscriptions/{subscriptionId}/autopayment","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"},{"name":"subscriptionId","in":"path","required":true,"schemaId":"components/schemas/SubscriptionId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/paymentBlikSubscriptionExecuteAutoPaymentRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401","403","404","422"],"pointer":"/payment/{serviceId}/blik/subscriptions/{subscriptionId}/autopayment","href":"payment/paymentbliksubscriptionexecuteautopayment","openApiOperationId":"paymentBlikSubscriptionExecuteAutoPayment","summary":"Execute BLIK Recurring Payment"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"components/schemas/paymentBlikSubscriptionExecuteAutoPaymentRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentBlikSubscriptionExecuteAutoPaymentRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Subscription forwarded for processing","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_27"}},"schemaId":"schema_27"},{"code":"400","description":"Error while processing Recurring Payment","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_15"}},"schemaId":"schema_15"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_27","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_27"}}},{"code":"400","schemaId":"schema_15","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_15"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentbliksubscriptionexecuteautopayment"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/blik/subscriptions/{subscriptionId}/autopayment"},{"label":"Retrieve list of BLIK aliases","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentblikaliasesindex","routeSlug":"/en/apis/payment/paymentblikaliasesindex","metadata":{"seo":{"title":"Retrieve list of BLIK aliases","description":"Retrieve list of BLIK aliases"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentBlikAliasesIndex","name":"Retrieve list of BLIK aliases","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1blik~1aliases/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve list of BLIK aliases","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1aliases/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"filter[status]","in":"query","schemaId":"schema_28","example":"alias_active"},{"name":"filter[type]","in":"query","schemaId":"schema_29","example":"PAYID"},{"name":"filter[uuid]","in":"query","schemaId":"schema_30","example":"019970c6-3ce8-71e7-8214-20fd635532fb"},{"name":"filter[value]","in":"query","schemaId":"schema_31","example":"019970c6-3ce8-71e7-8214-20fd635532fb"},{"name":"filter[blik_key]","in":"query","schemaId":"schema_32"},{"name":"page","in":"query","schemaId":"schema_21","description":"Page number","example":1},{"name":"perPage","in":"query","schemaId":"schema_22","description":"Number of results per page","example":20},{"name":"sort","in":"query","schemaId":"schema_23","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sort order (-created_at = newest first, created_at = oldest first)"},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1aliases/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1aliases/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payment/{serviceId}/blik/aliases","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[{"name":"filter[status]","in":"query","required":false,"example":"alias_active","schemaId":"components/schemas/blikAliasStatus"},{"name":"filter[type]","in":"query","required":false,"example":"PAYID","schemaId":"components/schemas/blikAliasType"},{"name":"filter[uuid]","in":"query","required":false,"example":"019970c6-3ce8-71e7-8214-20fd635532fb","schemaId":"components/schemas/AliasId"},{"name":"filter[value]","in":"query","required":false,"example":"019970c6-3ce8-71e7-8214-20fd635532fb","schemaId":"schema_31"},{"name":"filter[blik_key]","in":"query","required":false,"example":"123456","schemaId":"schema_32"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_21"},{"name":"perPage","in":"query","required":false,"example":20,"schemaId":"schema_22"},{"name":"sort","in":"query","required":false,"schemaId":"schema_23"}],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions"]}],"responseCodes":["200","401","403","404","422"],"pointer":"/payment/{serviceId}/blik/aliases","href":"payment/paymentblikaliasesindex","openApiOperationId":"paymentBlikAliasesIndex","summary":"Retrieve list of BLIK aliases"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetBlikAliasesResponse"}},"schemaId":"components/schemas/paymentGetBlikAliasesResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1aliases/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/paymentGetBlikAliasesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/paymentGetBlikAliasesResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentblikaliasesindex"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/blik/aliases"},{"label":"Delete/Unregister alias","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/payment/paymentblikaliasunregister","routeSlug":"/en/apis/payment/paymentblikaliasunregister","metadata":{"seo":{"title":"Delete/Unregister alias","description":"See https://docs.simpay.pl/payment/blik-recurrent for more information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentBlikAliasUnregister","name":"Delete/Unregister alias","isWebhook":false,"pointer":"/paths/~1payment~1{serviceId}~1blik~1aliases/delete","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete/Unregister alias","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"See https://docs.simpay.pl/payment/blik-recurrent for more information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["payment.transactions"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"serviceId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1aliases/delete/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"x-sim-flow-submerchant","in":"header","schemaId":"schema_11","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies only to SimPay Flow integrators."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you do not use SimPay Flow - skip this header."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the submerchant on whose behalf the request is made. The value is the submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned during registration (max. 36 characters)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When is the header required?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the path is an Online Payments service "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked to your active Flow service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(the parent service, visible as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paymentService"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /flow/{flowServiceId}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In that case every request to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/payment/{serviceId}/..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must include this header - without it you will receive"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" code."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For regular Online Payments services (not linked to Flow) the header is ignored."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How does it work?"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In the path you always pass the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent service"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (linked to the Flow service), not the submerchant's service."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request is executed in the context of the submerchant's Online Payments service - transactions, refunds, channels, subscriptions"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and BLIK aliases belong to the given submerchant, and funds go to its wallet."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments services cannot be used directly - passing their ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"serviceId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Possible errors:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SIMPAY_FLOW_VALIDATION_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - missing header for a service linked to Flow or an invalid value,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant does not exist within this Flow service,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has not completed onboarding or is not active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant's Online Payments service does not exist or is not active."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: flsm_aaaabbbb"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"x-sim-flow-submerchant: user-123"},"children":[],"type":"code"}],"type":"paragraph"}]}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1aliases/delete/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentBlikAliasUnregisterRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/simpayId","paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/aliasValueAndType"]}},"schemaId":"components/schemas/paymentBlikAliasUnregisterRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/simpayId","paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/aliasValueAndType"],"pointer":"/paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/payment/{serviceId}/blik/aliases","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"serviceId","in":"path","required":true,"schemaId":"components/schemas/ServiceId"}],"query":[],"querystring":[],"header":[{"name":"x-sim-flow-submerchant","in":"header","required":false,"example":"flsm_aaaabbbb","schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["payment.transactions"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/paymentBlikAliasUnregisterRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/simpayId","paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/aliasValueAndType"]}},"responseCodes":["204","401","403","404","422"],"pointer":"/payment/{serviceId}/blik/aliases","href":"payment/paymentblikaliasunregister","openApiOperationId":"paymentBlikAliasUnregister","summary":"Delete/Unregister alias"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"components/schemas/paymentBlikAliasUnregisterRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/simpayId","paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/aliasValueAndType"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentBlikAliasUnregisterRequest","exampleIds":["paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/simpayId","paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/aliasValueAndType"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The alias has been unregistered. An IPN "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"blik:alias_status_changed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" will be sent"},"children":[],"type":"text"}],"type":"paragraph"}]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1payment~1{serviceId}~1blik~1aliases/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymentblikaliasunregister"}],"panels":[]}]},"httpPath":"/payment/{serviceId}/blik/aliases"},{"type":"separator","label":"Webhooks","variant":"secondary","content":null},{"label":"Receiving information about online payment transactions","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/en/apis/payment/paymenttransactionnotification","routeSlug":"/en/apis/payment/paymenttransactionnotification","metadata":{"seo":{"title":"Receiving information about online payment transactions","description":"Check the link below. You’ll find all the details there:"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"paymentTransactionNotification","name":"Receiving information about online payment transactions","isWebhook":true,"pointer":"/paths/paymentTransactionNotification/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Receiving information about online payment transactions","isWebhook":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"payment/paymenttransactionnotification/request/check-the-link-below.-you'll-find-all-the-details-there:","deepLinkHash":"/payment/paymenttransactionnotification#payment/paymenttransactionnotification/request/check-the-link-below.-you'll-find-all-the-details-there:"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Check the link below. You’ll find all the details there:"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"https://docs.simpay.pl/en/notifications/payment"},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","isEvent":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentTransactionNotification"}},"schemaId":"components/schemas/paymentTransactionNotification","pointer":"/paths/paymentTransactionNotification/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"webhook","method":"POST","path":"paymentTransactionNotification","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/paymentTransactionNotification"}},"responseCodes":["200"],"pointer":"paymentTransactionNotification","href":"payment/paymenttransactionnotification","openApiOperationId":"paymentTransactionNotification","summary":"Receiving information about online payment transactions"},"isWebhook":true,"hideReplay":false,"schemaId":"components/schemas/paymentTransactionNotification","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/paymentTransactionNotification"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Return a 200 status to indicate that the data was received successfully","mediaType":"text/plain","mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"schemaId":"schema_10","exampleIds":["paths/paymentTransactionNotification/post/responses/200/content/text~1plain/examples/test_request"]}},"schemaId":"schema_10","exampleIds":["paths/paymentTransactionNotification/post/responses/200/content/text~1plain/examples/test_request"]}],"pointer":"/paths/paymentTransactionNotification/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_10","exampleIds":["paths/paymentTransactionNotification/post/responses/200/content/text~1plain/examples/test_request"],"mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"schemaId":"schema_10","exampleIds":["paths/paymentTransactionNotification/post/responses/200/content/text~1plain/examples/test_request"]}}}],"isEvent":true,"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payment/paymenttransactionnotification"}],"panels":[]}]},"httpPath":"paymentTransactionNotification"}],"content":{"contentType":"group","meta":{"name":"Payment"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Online Payments","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payment","summary":"Retrieving a list of services","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payment/paymentgetservices","deprecated":false},{"title":"/payment/{serviceId}","summary":"Retrieving service details","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payment/paymentgetservice","deprecated":false},{"title":"/payment/{serviceId}/channels","summary":"Retrieving a list of channels for the service","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payment/paymentgetchannels","deprecated":false},{"title":"/payment/{serviceId}/transactions","summary":"Retrieving a list of transactions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payment/paymentgettransactions","deprecated":false},{"title":"/payment/{serviceId}/transactions","summary":"Generating a transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payment/paymenttransactioncreate","deprecated":false},{"title":"/payment/{serviceId}/transactions/{transactionId}","summary":"Retrieving transaction details","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payment/paymentgettransaction","deprecated":false},{"title":"/payment/{serviceId}/transactions/{transactionId}/refunds","summary":"Retrieve a list of refunds for a transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payment/paymentgettransactionrefunds","deprecated":false},{"title":"/payment/{serviceId}/transactions/{transactionId}/refunds","summary":"Create a refund for a transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payment/paymentmaketransactionrefund","deprecated":false},{"title":"/payment/{serviceId}/transactions/{transactionId}/refunds/{refundId}","summary":"Retrieve a single refund within a transaction","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payment/paymenttransactionrefundshow","deprecated":false},{"title":"/payment/{serviceId}/currencies","summary":"Retrieving a list of currencies for the service","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payment/paymentgetcurrencies","deprecated":false},{"title":"/payment/{serviceId}/blik/level0/{transactionId}","summary":"Providing BLIK code for Level 0 transaction","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payment/paymentbliklevel0","deprecated":false},{"title":"/payment/{serviceId}/subscriptions","summary":"Retrieve subscription list","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payment/paymentsubscriptionindex","deprecated":false},{"title":"/payment/{serviceId}/blik/subscriptions","summary":"Create a subscription","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payment/paymentbliksubscriptioncreate","deprecated":false},{"title":"/payment/{serviceId}/blik/subscriptions/{subscriptionId}/autopayment","summary":"Execute BLIK Recurring Payment","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payment/paymentbliksubscriptionexecuteautopayment","deprecated":false},{"title":"/payment/{serviceId}/blik/aliases","summary":"Retrieve list of BLIK aliases","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payment/paymentblikaliasesindex","deprecated":false},{"title":"/payment/{serviceId}/blik/aliases","summary":"Delete/Unregister alias","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/payment/paymentblikaliasunregister","deprecated":false}]},{"kind":"group-items","title":"Webhooks","titleTranslationKey":"webhooks","items":[{"title":"paymentTransactionNotification","summary":"Receiving information about online payment transactions","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payment/paymenttransactionnotification","deprecated":false}]}]}]}]}},{"type":"group","label":"SimPay Flow","link":"/en/apis/flow","routeSlug":"/en/apis/flow","items":[{"label":"Get Flow services list","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetservices","routeSlug":"/en/apis/flow/flowgetservices","metadata":{"seo":{"title":"Get Flow services list","description":"Get Flow services list"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetServices","name":"Get Flow services list","isWebhook":false,"pointer":"/paths/~1flow/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Flow services list","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.services"],"type":"http","scheme":"bearer"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.services"]}],"responseCodes":["200"],"pointer":"/flow","href":"flow/flowgetservices","openApiOperationId":"flowGetServices","summary":"Get Flow services list"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetServicesResponse"}},"schemaId":"components/schemas/flowGetServicesResponse"}],"pointer":"/paths/~1flow/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/flowGetServicesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetServicesResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetservices"}],"panels":[]}]},"httpPath":"/flow"},{"label":"Get Flow service","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetservice","routeSlug":"/en/apis/flow/flowgetservice","metadata":{"seo":{"title":"Get Flow service","description":"Get Flow service"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetService","name":"Get Flow service","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Flow service","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.services"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true}],"pointer":"/paths/~1flow~1{flowServiceId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.services"]}],"responseCodes":["200","401","403","404"],"pointer":"/flow/{flowServiceId}","href":"flow/flowgetservice","openApiOperationId":"flowGetService","summary":"Get Flow service"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetServiceResponse"}},"schemaId":"components/schemas/flowGetServiceResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1flow~1{flowServiceId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/flowGetServiceResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetServiceResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetservice"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}"},{"label":"Get submerchants list","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetsubmerchants","routeSlug":"/en/apis/flow/flowgetsubmerchants","metadata":{"seo":{"title":"Get submerchants list","description":"Get submerchants list"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetSubmerchants","name":"Get submerchants list","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get submerchants list","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_21","description":"Page number (30 records per page)","example":1}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}/submerchants","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"}],"query":[{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_21"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants"]}],"responseCodes":["200","401","403","404"],"pointer":"/flow/{flowServiceId}/submerchants","href":"flow/flowgetsubmerchants","openApiOperationId":"flowGetSubmerchants","summary":"Get submerchants list"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetSubmerchantsResponse"}},"schemaId":"components/schemas/flowGetSubmerchantsResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/flowGetSubmerchantsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetSubmerchantsResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetsubmerchants"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants"},{"label":"Register submerchant","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowcreatesubmerchant","routeSlug":"/en/apis/flow/flowcreatesubmerchant","metadata":{"seo":{"title":"Register submerchant","description":"Creates a submerchant account within the Flow service together with an Online Payments service.For services with the role_payment_service_provider role, the service object is required."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowCreateSubmerchant","name":"Register submerchant","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Register submerchant","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Creates a submerchant account within the Flow service together with an Online Payments service."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"For services with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"role_payment_service_provider"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"service"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" object is required."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The response contains an "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"onboarding"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" object describing the next step:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"redirect_user"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - redirect the user to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"redirectUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", where they complete onboarding at SimPay,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"provide_api"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - onboarding is performed by the Flow service via the API."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.create"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/flowCreateSubmerchantRequest"}},"schemaId":"components/schemas/flowCreateSubmerchantRequest","pointer":"/paths/~1flow~1{flowServiceId}~1submerchants/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/flow/{flowServiceId}/submerchants","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.create"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/flowCreateSubmerchantRequest"}},"responseCodes":["201","401","403","404","422"],"pointer":"/flow/{flowServiceId}/submerchants","href":"flow/flowcreatesubmerchant","openApiOperationId":"flowCreateSubmerchant","summary":"Register submerchant"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"components/schemas/flowCreateSubmerchantRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/flowCreateSubmerchantRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowCreateSubmerchantResponse"}},"schemaId":"components/schemas/flowCreateSubmerchantResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Missing permissions or the Flow service is not active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants/post/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants/post/responses/403/content/application~1json/example"]},{"code":"404","description":"NotFound","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}},"schemaId":"components/schemas/ErrorResponseNotFound"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"components/schemas/flowCreateSubmerchantResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowCreateSubmerchantResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants/post/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants/post/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseNotFound","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseNotFound"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowcreatesubmerchant"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants"},{"label":"Get submerchant","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetsubmerchant","routeSlug":"/en/apis/flow/flowgetsubmerchant","metadata":{"seo":{"title":"Get submerchant","description":"Get submerchant"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetSubmerchant","name":"Get submerchant","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get submerchant","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}/submerchants/{submerchantId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants"]}],"responseCodes":["200","401","403","404"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}","href":"flow/flowgetsubmerchant","openApiOperationId":"flowGetSubmerchant","summary":"Get submerchant"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetSubmerchantResponse"}},"schemaId":"components/schemas/flowGetSubmerchantResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}/get/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/flowGetSubmerchantResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetSubmerchantResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}/get/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetsubmerchant"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}"},{"label":"Start submerchant onboarding","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowsubmerchantonboarding","routeSlug":"/en/apis/flow/flowsubmerchantonboarding","metadata":{"seo":{"title":"Start submerchant onboarding","description":"Returns the next onboarding step for the submerchant. For redirect_user a new SimPay onboarding link is generated."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowSubmerchantOnboarding","name":"Start submerchant onboarding","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start submerchant onboarding","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns the next onboarding step for the submerchant. For "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"redirect_user"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" a new SimPay onboarding link is generated."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.onboardings"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/onboardings","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.onboardings"]}],"responseCodes":["200","400","401","403","404"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/onboardings","href":"flow/flowsubmerchantonboarding","openApiOperationId":"flowSubmerchantOnboarding","summary":"Start submerchant onboarding"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_35"}},"schemaId":"schema_35"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant is already active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SUBMERCHANT_ALREADY_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_35","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_35"}}},{"code":"400","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowsubmerchantonboarding"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/onboardings"},{"label":"Generate submerchant widget link","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowsubmerchantwidget","routeSlug":"/en/apis/flow/flowsubmerchantwidget","metadata":{"seo":{"title":"Generate submerchant widget link","description":"Generates a one-time link to the SimPay panel widget for the submerchant. The link is valid for 5 minutes. Limit: 5 requests per minute."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowSubmerchantWidget","name":"Generate submerchant widget link","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1widgets/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Generate submerchant widget link","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Generates a one-time link to the SimPay panel widget for the submerchant. The link is valid for 5 minutes.\nLimit: 5 requests per minute.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.widget"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1widgets/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/widgets","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.widget"]}],"responseCodes":["200","401","403","404","429"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/widgets","href":"flow/flowsubmerchantwidget","openApiOperationId":"flowSubmerchantWidget","summary":"Generate submerchant widget link"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_36"}},"schemaId":"schema_36"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1widgets/post/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1widgets/post/responses/404/content/application~1json/example"]},{"code":"429","description":"Rate limit exceeded"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1widgets/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_36","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_36"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1widgets/post/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1widgets/post/responses/404/content/application~1json/example"]}}},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowsubmerchantwidget"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/widgets"},{"label":"Get submerchant payment channels","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetsubmerchantpaymentchannels","routeSlug":"/en/apis/flow/flowgetsubmerchantpaymentchannels","metadata":{"seo":{"title":"Get submerchant payment channels","description":"Get submerchant payment channels"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetSubmerchantPaymentChannels","name":"Get submerchant payment channels","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get submerchant payment channels","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.payment_methods"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.payment_methods"]}],"responseCodes":["200","400","401","403","404"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels","href":"flow/flowgetsubmerchantpaymentchannels","openApiOperationId":"flowGetSubmerchantPaymentChannels","summary":"Get submerchant payment channels"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetSubmerchantPaymentChannelsResponse"}},"schemaId":"components/schemas/flowGetSubmerchantPaymentChannelsResponse"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The submerchant has no assigned ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") Online Payments service"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Missing permissions or the submerchant is not active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/403/content/application~1json/example"]},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/flowGetSubmerchantPaymentChannelsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetSubmerchantPaymentChannelsResponse"}}},{"code":"400","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetsubmerchantpaymentchannels"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels"},{"label":"Enable/disable submerchant payment channels","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowupdatesubmerchantpaymentchannels","routeSlug":"/en/apis/flow/flowupdatesubmerchantpaymentchannels","metadata":{"seo":{"title":"Enable/disable submerchant payment channels","description":"Enables or disables payment channels. Channels that do not exist, are not active or have no active Flow commission are skipped."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowUpdateSubmerchantPaymentChannels","name":"Enable/disable submerchant payment channels","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Enable/disable submerchant payment channels","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Enables or disables payment channels. Channels that do not exist, are not active or have no active Flow commission are skipped.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.payment_methods"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_37"}},"schemaId":"schema_37","pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.payment_methods"]}],"requestBody":{"application/json":{"schemaId":"schema_37"}},"responseCodes":["204","400","401","403","404","422"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels","href":"flow/flowupdatesubmerchantpaymentchannels","openApiOperationId":"flowUpdateSubmerchantPaymentChannels","summary":"Enable/disable submerchant payment channels"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"schema_37","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_37"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Changes have been saved"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The submerchant has no assigned ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") Online Payments service"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Missing permissions or the submerchant is not active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/403/content/application~1json/example"]},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/404/content/application~1json/example"]},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/404/content/application~1json/example"]}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowupdatesubmerchantpaymentchannels"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels"},{"label":"Get payment channels available for registration","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetsubmerchantavailablepaymentchannels","routeSlug":"/en/apis/flow/flowgetsubmerchantavailablepaymentchannels","metadata":{"seo":{"title":"Get payment channels available for registration","description":"Get payment channels available for registration"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetSubmerchantAvailablePaymentChannels","name":"Get payment channels available for registration","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get payment channels available for registration","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.payment_methods","flow.payment_methods.register"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/available-for-registration","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.payment_methods","flow.payment_methods.register"]}],"responseCodes":["200","400","401","403","404"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/available-for-registration","href":"flow/flowgetsubmerchantavailablepaymentchannels","openApiOperationId":"flowGetSubmerchantAvailablePaymentChannels","summary":"Get payment channels available for registration"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetSubmerchantAvailablePaymentChannelsResponse"}},"schemaId":"components/schemas/flowGetSubmerchantAvailablePaymentChannelsResponse"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The submerchant has no assigned ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") Online Payments service"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Missing permissions or the submerchant is not active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/403/content/application~1json/example"]},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/flowGetSubmerchantAvailablePaymentChannelsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetSubmerchantAvailablePaymentChannelsResponse"}}},{"code":"400","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetsubmerchantavailablepaymentchannels"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/available-for-registration"},{"label":"Register payment channel","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowregistersubmerchantpaymentchannel","routeSlug":"/en/apis/flow/flowregistersubmerchantpaymentchannel","metadata":{"seo":{"title":"Register payment channel","description":"Registers a payment channel for the submerchant. After registration the channel is disabled (enabled: false) - enable it via PATCH /payment-channels.Channels that require verification are sent to SimPay for verification."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowRegisterSubmerchantPaymentChannel","name":"Register payment channel","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1register/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Register payment channel","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Registers a payment channel for the submerchant. After registration the channel is disabled ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"enabled: false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") - enable it via "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PATCH /payment-channels"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Channels that require verification are sent to SimPay for verification."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To activate BLIK Level 0 + OneClick, pass "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id: blik-level0-oneclick"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (requires an active "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"blik-level0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" channel)."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.payment_methods","flow.payment_methods.register"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1register/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_38"}},"schemaId":"schema_38","pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1register/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/register","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.payment_methods","flow.payment_methods.register"]}],"requestBody":{"application/json":{"schemaId":"schema_38"}},"responseCodes":["202","400","401","403","404","406","422"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/register","href":"flow/flowregistersubmerchantpaymentchannel","openApiOperationId":"flowRegisterSubmerchantPaymentChannel","summary":"Register payment channel"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"schema_38","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_38"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Channel activated ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Channel activated"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or sent for verification ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Channel sent for verification"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_39"}},"schemaId":"schema_39"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The submerchant has no assigned ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") Online Payments service"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1register/post/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1register/post/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - submerchant is not active"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"BLIK_LEVEL0_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"blik-level0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" channel is not active"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"ONECLICK_ACTIVATION_IN_PROGRESS"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - OneClick is already active or its activation is in progress"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}},"schemaId":"components/schemas/flowErrorResponse"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - submerchant not found"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"CHANNEL_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the channel does not exist, is already registered or is not available"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"BLIK_LEVEL0_NOT_REGISTERED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"blik-level0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must be registered before activating OneClick"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}},"schemaId":"components/schemas/flowErrorResponse"},{"code":"406","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The channel requires a registered business ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CHANNEL_REQUIRES_COMPANY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}},"schemaId":"components/schemas/flowErrorResponse"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1register/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202","schemaId":"schema_39","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_39"}}},{"code":"400","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1register/post/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1register/post/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/flowErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}}},{"code":"406","schemaId":"components/schemas/flowErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowregistersubmerchantpaymentchannel"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/register"},{"label":"Set PayPal Checkout email","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowupdatesubmerchantpaypal","routeSlug":"/en/apis/flow/flowupdatesubmerchantpaypal","metadata":{"seo":{"title":"Set PayPal Checkout email","description":"Set PayPal Checkout email"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowUpdateSubmerchantPayPal","name":"Set PayPal Checkout email","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set PayPal Checkout email","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.payment_methods"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_40"}},"schemaId":"schema_40","pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/paypal","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.payment_methods"]}],"requestBody":{"application/json":{"schemaId":"schema_40"}},"responseCodes":["204","400","401","403","404","422"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/paypal","href":"flow/flowupdatesubmerchantpaypal","openApiOperationId":"flowUpdateSubmerchantPayPal","summary":"Set PayPal Checkout email"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"schema_40","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_40"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Changes have been saved"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The submerchant has no assigned ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") Online Payments service"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Missing permissions or the submerchant is not active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/403/content/application~1json/example"]},{"code":"404","description":[{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - submerchant not found"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"CHANNEL_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant has no PayPal channel"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}},"schemaId":"components/schemas/flowErrorResponse"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowupdatesubmerchantpaypal"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/paypal"},{"label":"Get submerchant webhook settings","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetsubmerchantwebhooks","routeSlug":"/en/apis/flow/flowgetsubmerchantwebhooks","metadata":{"seo":{"title":"Get submerchant webhook settings","description":"Get submerchant webhook settings"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetSubmerchantWebhooks","name":"Get submerchant webhook settings","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get submerchant webhook settings","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.webhooks"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.webhooks"]}],"responseCodes":["200","400","401","403","404"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks","href":"flow/flowgetsubmerchantwebhooks","openApiOperationId":"flowGetSubmerchantWebhooks","summary":"Get submerchant webhook settings"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_41"}},"schemaId":"schema_41"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The submerchant has no assigned ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") Online Payments service"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_41","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_41"}}},{"code":"400","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetsubmerchantwebhooks"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks"},{"label":"Update submerchant webhooks","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowupdatesubmerchantwebhooks","routeSlug":"/en/apis/flow/flowupdatesubmerchantwebhooks","metadata":{"seo":{"title":"Update submerchant webhooks","description":"Sets a custom webhook URL (customUrl) or restores the default URL from the Flow service (useDefault).At least one of the flow or payment objects is required. Within an object, customUrl and useDefault are mutually exclusive."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowUpdateSubmerchantWebhooks","name":"Update submerchant webhooks","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update submerchant webhooks","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sets a custom webhook URL ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or restores the default URL from the Flow service ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"useDefault"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"At least one of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flow"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"payment"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" objects is required. Within an object, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"useDefault"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are mutually exclusive."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When a custom URL is set for the first time, a new webhook key is generated and returned once in the response."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.webhooks","flow.submerchants.webhooks.update"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_42","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/custom","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/default"]}},"schemaId":"schema_42","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/custom","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/default"],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.webhooks","flow.submerchants.webhooks.update"]}],"requestBody":{"application/json":{"schemaId":"schema_42","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/custom","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/default"]}},"responseCodes":["200","400","401","403","404","422"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks","href":"flow/flowupdatesubmerchantwebhooks","openApiOperationId":"flowUpdateSubmerchantWebhooks","summary":"Update submerchant webhooks"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"schema_42","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/custom","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/default"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_42","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/custom","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/default"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_43"}},"schemaId":"schema_43"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The submerchant has no assigned ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") Online Payments service"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/404/content/application~1json/example"]},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_43","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_43"}}},{"code":"400","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/404/content/application~1json/example"]}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowupdatesubmerchantwebhooks"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks"},{"label":"Regenerate webhook key","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowupdatesubmerchantwebhookkey","routeSlug":"/en/apis/flow/flowupdatesubmerchantwebhookkey","metadata":{"seo":{"title":"Regenerate webhook key","description":"Generates a new key for the custom webhook URL. Requires customUrl to be set first."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowUpdateSubmerchantWebhookKey","name":"Regenerate webhook key","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks~1key/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Regenerate webhook key","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Generates a new key for the custom webhook URL. Requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to be set first."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.webhooks","flow.submerchants.webhooks.update"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks~1key/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_44"}},"schemaId":"schema_44","pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks~1key/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks/key","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.webhooks","flow.submerchants.webhooks.update"]}],"requestBody":{"application/json":{"schemaId":"schema_44"}},"responseCodes":["200","400","401","403","404","422"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks/key","href":"flow/flowupdatesubmerchantwebhookkey","openApiOperationId":"flowUpdateSubmerchantWebhookKey","summary":"Regenerate webhook key"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"schema_44","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_44"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_45"}},"schemaId":"schema_45"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"CUSTOM_WEBHOOK_URL_NOT_SET"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - no custom webhook URL is set for the given type"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"children":[],"type":"code"}],"type":"item"}],"type":"list"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}},"schemaId":"components/schemas/flowErrorResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks~1key/patch/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks~1key/patch/responses/404/content/application~1json/example"]},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks~1key/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_45","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_45"}}},{"code":"400","schemaId":"components/schemas/flowErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks~1key/patch/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks~1key/patch/responses/404/content/application~1json/example"]}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowupdatesubmerchantwebhookkey"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks/key"},{"label":"Get submerchant wallets","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetsubmerchantwallets","routeSlug":"/en/apis/flow/flowgetsubmerchantwallets","metadata":{"seo":{"title":"Get submerchant wallets","description":"Get submerchant wallets"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetSubmerchantWallets","name":"Get submerchant wallets","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get submerchant wallets","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.finances"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.finances"]}],"responseCodes":["200","401","403","404"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances","href":"flow/flowgetsubmerchantwallets","openApiOperationId":"flowGetSubmerchantWallets","summary":"Get submerchant wallets"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_46"}},"schemaId":"schema_46"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances/get/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_46","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_46"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances/get/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetsubmerchantwallets"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances"},{"label":"Get submerchant commission invoices","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetsubmerchantinvoices","routeSlug":"/en/apis/flow/flowgetsubmerchantinvoices","metadata":{"seo":{"title":"Get submerchant commission invoices","description":"Get submerchant commission invoices"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetSubmerchantInvoices","name":"Get submerchant commission invoices","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1invoices/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get submerchant commission invoices","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.finances","flow.submerchants.finances.invoices"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1invoices/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_21","description":"Page number (15 records per page)","example":1}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1invoices/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/invoices","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"}],"query":[{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_21"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.finances","flow.submerchants.finances.invoices"]}],"responseCodes":["200","401","403","404"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/invoices","href":"flow/flowgetsubmerchantinvoices","openApiOperationId":"flowGetSubmerchantInvoices","summary":"Get submerchant commission invoices"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_47"}},"schemaId":"schema_47"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1invoices/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1invoices/get/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1invoices/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_47","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_47"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1invoices/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1invoices/get/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetsubmerchantinvoices"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/invoices"},{"label":"Get submerchant wallet","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetsubmerchantwallet","routeSlug":"/en/apis/flow/flowgetsubmerchantwallet","metadata":{"seo":{"title":"Get submerchant wallet","description":"Get submerchant wallet"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetSubmerchantWallet","name":"Get submerchant wallet","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get submerchant wallet","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.finances"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true},{"name":"walletId","in":"path","schemaId":"schema_48","description":"Wallet ID","required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"},{"name":"walletId","in":"path","required":true,"example":"0199a5f0-2b8c-7c1e-9e3a-1f2b3c4d5e6f","schemaId":"schema_48"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.finances"]}],"responseCodes":["200","401","403","404"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}","href":"flow/flowgetsubmerchantwallet","openApiOperationId":"flowGetSubmerchantWallet","summary":"Get submerchant wallet"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_49"}},"schemaId":"schema_49"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/get/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_49","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_49"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/get/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetsubmerchantwallet"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}"},{"label":"Update wallet settings","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowupdatesubmerchantwallet","routeSlug":"/en/apis/flow/flowupdatesubmerchantwallet","metadata":{"seo":{"title":"Update wallet settings","description":"Updates the invoice language and withdrawal settings of the wallet. Sending the withdraw object overwrites all existing withdrawal settings."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowUpdateSubmerchantWallet","name":"Update wallet settings","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update wallet settings","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Updates the invoice language and withdrawal settings of the wallet. Sending the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"withdraw"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" object overwrites all existing withdrawal settings."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Withdrawal types:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"manual"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - withdrawals requested manually ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /withdraws"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"),"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"workdays"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - automatic withdrawal on every business day,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"balance_greater_than"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - automatic withdrawal once the balance exceeds "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"balanceToAutoPayout"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"custom_days"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - automatic withdrawal on selected weekdays ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customDays"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") when the balance exceeds "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"balanceToAutoPayout"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.finances","flow.submerchants.withdraws.settings"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true},{"name":"walletId","in":"path","schemaId":"schema_48","description":"Wallet ID","required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/flowUpdateWalletRequest","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/customDays","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/manual"]}},"schemaId":"components/schemas/flowUpdateWalletRequest","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/customDays","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/manual"],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"},{"name":"walletId","in":"path","required":true,"example":"0199a5f0-2b8c-7c1e-9e3a-1f2b3c4d5e6f","schemaId":"schema_48"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.finances","flow.submerchants.withdraws.settings"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/flowUpdateWalletRequest","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/customDays","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/manual"]}},"responseCodes":["204","401","403","404","422"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}","href":"flow/flowupdatesubmerchantwallet","openApiOperationId":"flowUpdateSubmerchantWallet","summary":"Update wallet settings"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"components/schemas/flowUpdateWalletRequest","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/customDays","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/manual"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/flowUpdateWalletRequest","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/customDays","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/manual"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Changes have been saved"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Missing permissions or the submerchant is not active ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/403/content/application~1json/example"]},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/404/content/application~1json/example"]},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/404/content/application~1json/example"]}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowupdatesubmerchantwallet"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}"},{"label":"Get wallet operations","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetsubmerchantwallettransactions","routeSlug":"/en/apis/flow/flowgetsubmerchantwallettransactions","metadata":{"seo":{"title":"Get wallet operations","description":"List of wallet operations with cursor pagination. To fetch the next page, pass cursor in the query parameter named in cursor.queryField."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetSubmerchantWalletTransactions","name":"Get wallet operations","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get wallet operations","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List of wallet operations with cursor pagination. To fetch the next page, pass "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cursor"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the query parameter named in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cursor.queryField"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.finances"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true},{"name":"walletId","in":"path","schemaId":"schema_48","description":"Wallet ID","required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1transactions/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"filter[action]","in":"query","schemaId":"schema_50"},{"name":"cursor","in":"query","schemaId":"schema_51","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Page cursor (from "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cursor.next.cursor"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" / "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cursor.previous.cursor"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"perPage","in":"query","schemaId":"schema_52","description":"Number of results per page","example":15},{"name":"sort","in":"query","schemaId":"schema_53","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sort order (-created_at = newest first, created_at = oldest first)"},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/transactions","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"},{"name":"walletId","in":"path","required":true,"example":"0199a5f0-2b8c-7c1e-9e3a-1f2b3c4d5e6f","schemaId":"schema_48"}],"query":[{"name":"filter[action]","in":"query","required":false,"example":"service","schemaId":"components/schemas/flowWalletTransactionAction"},{"name":"cursor","in":"query","required":false,"schemaId":"schema_51"},{"name":"perPage","in":"query","required":false,"example":15,"schemaId":"schema_52"},{"name":"sort","in":"query","required":false,"schemaId":"schema_53"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.finances"]}],"responseCodes":["200","401","403","404","422"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/transactions","href":"flow/flowgetsubmerchantwallettransactions","openApiOperationId":"flowGetSubmerchantWalletTransactions","summary":"Get wallet operations"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetWalletTransactionsResponse"}},"schemaId":"components/schemas/flowGetWalletTransactionsResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1transactions/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1transactions/get/responses/404/content/application~1json/example"]},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/flowGetWalletTransactionsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowGetWalletTransactionsResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1transactions/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1transactions/get/responses/404/content/application~1json/example"]}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetsubmerchantwallettransactions"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/transactions"},{"label":"Generate wallet operations CSV report","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowsubmerchantwalletreport","routeSlug":"/en/apis/flow/flowsubmerchantwalletreport","metadata":{"seo":{"title":"Generate wallet operations CSV report","description":"Generates a CSV report (; separator) of wallet operations for the given period (date) or for the given withdrawal (withdraw).For a withdrawal, the report covers operations from the previous (non-rejected) withdrawal up to the given withdrawal.date and withdraw are mutually exclusive; in the withdraw object pass either id or shortId."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowSubmerchantWalletReport","name":"Generate wallet operations CSV report","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Generate wallet operations CSV report","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Generates a CSV report ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":";"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" separator) of wallet operations for the given period ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"date"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or for the given withdrawal ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"withdraw"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"For a withdrawal, the report covers operations from the previous (non-rejected) withdrawal up to the given withdrawal."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"date"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"withdraw"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are mutually exclusive; in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"withdraw"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" object pass either "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"shortId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Column headers are in Polish: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ID transakcji"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (operation ID), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Typ"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (type), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Operacja"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (operation), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Czy przeliczona do portfela"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (settled to wallet), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Kwota"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (amount), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Kwota przed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (balance before), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Kwota po"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (balance after), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Data operacji"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (operation date),"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ID transakcji płatności"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (payment transaction ID), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ID transakcji płatności zwrócone kupującemu"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (payment transaction ID shown to the buyer), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Opis transakcji płatności"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (payment transaction description), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Control transakcji płatności"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (payment transaction control),"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ID wypłaty"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (withdrawal ID), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Krótkie ID wypłaty"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (withdrawal short ID), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ID zwrotu"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (refund ID), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ID zwrotu zwrócone kupującemu"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (refund ID shown to the buyer)."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.finances","flow.submerchants.finances.reports"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true},{"name":"walletId","in":"path","schemaId":"schema_48","description":"Wallet ID","required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_54","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/date","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/withdraw"]}},"schemaId":"schema_54","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/date","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/withdraw"],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/raport","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"},{"name":"walletId","in":"path","required":true,"example":"0199a5f0-2b8c-7c1e-9e3a-1f2b3c4d5e6f","schemaId":"schema_48"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.finances","flow.submerchants.finances.reports"]}],"requestBody":{"application/json":{"schemaId":"schema_54","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/date","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/withdraw"]}},"responseCodes":["200","401","403","404","422"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/raport","href":"flow/flowsubmerchantwalletreport","openApiOperationId":"flowSubmerchantWalletReport","summary":"Generate wallet operations CSV report"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"schemaId":"schema_54","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/date","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/withdraw"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_54","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/date","paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/withdraw"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"CSV report","mediaType":"text/csv","mediaTypes":["text/csv"],"mediaTypeContent":{"text/csv":{"schemaId":"schema_51","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/responses/200/content/text~1csv/example"]}},"schemaId":"schema_51","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/responses/200/content/text~1csv/example"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":"Submerchant, wallet or withdrawal not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}},"schemaId":"components/schemas/flowErrorResponse"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_51","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/responses/200/content/text~1csv/example"],"mediaTypes":["text/csv"],"mediaTypeContent":{"text/csv":{"schemaId":"schema_51","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/responses/200/content/text~1csv/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowsubmerchantwalletreport"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/raport"},{"label":"Get withdrawals list","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowgetsubmerchantwithdraws","routeSlug":"/en/apis/flow/flowgetsubmerchantwithdraws","metadata":{"seo":{"title":"Get withdrawals list","description":"Get withdrawals list"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowGetSubmerchantWithdraws","name":"Get withdrawals list","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get withdrawals list","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.finances","flow.submerchants.withdraws"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true},{"name":"walletId","in":"path","schemaId":"schema_48","description":"Wallet ID","required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"filter[id]","in":"query","schemaId":"schema_55"},{"name":"filter[shortId]","in":"query","schemaId":"schema_56","example":"1f2b3c4d"},{"name":"filter[status]","in":"query","schemaId":"schema_57"},{"name":"page","in":"query","schemaId":"schema_21","description":"Page number","example":1},{"name":"perPage","in":"query","schemaId":"schema_58","description":"Number of results per page","example":15},{"name":"sort","in":"query","schemaId":"schema_53","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sort order (-created_at = newest first, created_at = oldest first)"},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/withdraws","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"},{"name":"walletId","in":"path","required":true,"example":"0199a5f0-2b8c-7c1e-9e3a-1f2b3c4d5e6f","schemaId":"schema_48"}],"query":[{"name":"filter[id]","in":"query","required":false,"schemaId":"schema_55"},{"name":"filter[shortId]","in":"query","required":false,"example":"1f2b3c4d","schemaId":"schema_56"},{"name":"filter[status]","in":"query","required":false,"example":"done","schemaId":"components/schemas/flowWithdrawStatus"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_21"},{"name":"perPage","in":"query","required":false,"example":15,"schemaId":"schema_58"},{"name":"sort","in":"query","required":false,"schemaId":"schema_53"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.finances","flow.submerchants.withdraws"]}],"responseCodes":["200","401","403","404","422"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/withdraws","href":"flow/flowgetsubmerchantwithdraws","openApiOperationId":"flowGetSubmerchantWithdraws","summary":"Get withdrawals list"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_59"}},"schemaId":"schema_59"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/get/responses/404/content/application~1json/example"]},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_59","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_59"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/get/responses/404/content/application~1json/example"]}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowgetsubmerchantwithdraws"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/withdraws"},{"label":"Request withdrawal","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/en/apis/flow/flowcreatesubmerchantwithdraw","routeSlug":"/en/apis/flow/flowcreatesubmerchantwithdraw","metadata":{"seo":{"title":"Request withdrawal","description":"Requests a manual withdrawal of funds from the wallet. Requires withdraw.type set to manual in the wallet settings."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"flowCreateSubmerchantWithdraw","name":"Request withdrawal","isWebhook":false,"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Request withdrawal","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Requests a manual withdrawal of funds from the wallet. Requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"withdraw.type"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"manual"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the wallet settings."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["flow.submerchants.finances","flow.submerchants.withdraws","flow.submerchants.withdraws.create"],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"flowServiceId","in":"path","schemaId":"schema_33","description":"Flow service ID","required":true},{"name":"submerchantId","in":"path","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customId"},"children":[],"type":"code"}],"type":"paragraph"}],"required":true},{"name":"walletId","in":"path","schemaId":"schema_48","description":"Wallet ID","required":true}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/withdraws","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[{"name":"flowServiceId","in":"path","required":true,"example":"flow_aaaabbbb","schemaId":"schema_33"},{"name":"submerchantId","in":"path","required":true,"example":"flsm_aaaabbbb","schemaId":"schema_34"},{"name":"walletId","in":"path","required":true,"example":"0199a5f0-2b8c-7c1e-9e3a-1f2b3c4d5e6f","schemaId":"schema_48"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":["flow.submerchants.finances","flow.submerchants.withdraws","flow.submerchants.withdraws.create"]}],"responseCodes":["204","400","401","403","404","409","500"],"pointer":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/withdraws","href":"flow/flowcreatesubmerchantwithdraw","openApiOperationId":"flowCreateSubmerchantWithdraw","summary":"Request withdrawal"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Withdrawal has been requested"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Withdrawal error ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ERR_WITHDRAW_ERROR"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), details in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"message"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}},"schemaId":"components/schemas/flowErrorResponse"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}},"schemaId":"components/schemas/ErrorResponseUnauthorized"},{"code":"403","description":[{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - submerchant is not active"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"UBO_DOCUMENT_REVERIFICATION_REQUIRED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the identity document of the ultimate beneficial owner has expired; withdrawals are blocked until a new document is approved"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"ERR_ACCESS_DENIED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the submerchant is not active, the wallet does not exist or is not a payment wallet"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}},"schemaId":"components/schemas/flowErrorResponse"},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant not found ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW_SUBMERCHANT_NOT_FOUND"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/post/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/post/responses/404/content/application~1json/example"]},{"code":"409","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Manual withdrawals are disabled ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ERR_MANUAL_WITHDRAWALS_DISABLED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}},"schemaId":"components/schemas/flowErrorResponse"},{"code":"500","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Internal error ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ERR_INTERNAL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ERR_INTERNAL_CONFIGURATION"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") - contact SimPay"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}},"schemaId":"components/schemas/flowErrorResponse"}],"pointer":"/paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/flowErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponseUnauthorized","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseUnauthorized"}}},{"code":"403","schemaId":"components/schemas/flowErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}}},{"code":"404","schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/post/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse","exampleIds":["paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/post/responses/404/content/application~1json/example"]}}},{"code":"409","schemaId":"components/schemas/flowErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}}},{"code":"500","schemaId":"components/schemas/flowErrorResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/flowErrorResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flow/flowcreatesubmerchantwithdraw"}],"panels":[]}]},"httpPath":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/withdraws"}],"content":{"contentType":"group","meta":{"name":"Flow"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"SimPay Flow","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/flow","summary":"Get Flow services list","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetservices","deprecated":false},{"title":"/flow/{flowServiceId}","summary":"Get Flow service","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetservice","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants","summary":"Get submerchants list","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetsubmerchants","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants","summary":"Register submerchant","prefix":{"name":"post","color":"post"},"badges":[],"link":"/flow/flowcreatesubmerchant","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}","summary":"Get submerchant","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetsubmerchant","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/onboardings","summary":"Start submerchant onboarding","prefix":{"name":"post","color":"post"},"badges":[],"link":"/flow/flowsubmerchantonboarding","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/widgets","summary":"Generate submerchant widget link","prefix":{"name":"post","color":"post"},"badges":[],"link":"/flow/flowsubmerchantwidget","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels","summary":"Get submerchant payment channels","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetsubmerchantpaymentchannels","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels","summary":"Enable/disable submerchant payment channels","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/flow/flowupdatesubmerchantpaymentchannels","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/available-for-registration","summary":"Get payment channels available for registration","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetsubmerchantavailablepaymentchannels","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/register","summary":"Register payment channel","prefix":{"name":"post","color":"post"},"badges":[],"link":"/flow/flowregistersubmerchantpaymentchannel","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/payment-channels/paypal","summary":"Set PayPal Checkout email","prefix":{"name":"put","color":"put"},"badges":[],"link":"/flow/flowupdatesubmerchantpaypal","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks","summary":"Get submerchant webhook settings","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetsubmerchantwebhooks","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks","summary":"Update submerchant webhooks","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/flow/flowupdatesubmerchantwebhooks","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/webhooks/key","summary":"Regenerate webhook key","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/flow/flowupdatesubmerchantwebhookkey","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances","summary":"Get submerchant wallets","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetsubmerchantwallets","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/invoices","summary":"Get submerchant commission invoices","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetsubmerchantinvoices","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}","summary":"Get submerchant wallet","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetsubmerchantwallet","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}","summary":"Update wallet settings","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/flow/flowupdatesubmerchantwallet","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/transactions","summary":"Get wallet operations","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetsubmerchantwallettransactions","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/raport","summary":"Generate wallet operations CSV report","prefix":{"name":"post","color":"post"},"badges":[],"link":"/flow/flowsubmerchantwalletreport","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/withdraws","summary":"Get withdrawals list","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flow/flowgetsubmerchantwithdraws","deprecated":false},{"title":"/flow/{flowServiceId}/submerchants/{submerchantId}/finances/{walletId}/withdraws","summary":"Request withdrawal","prefix":{"name":"post","color":"post"},"badges":[],"link":"/flow/flowcreatesubmerchantwithdraw","deprecated":false}]}]}]}]}},{"type":"group","label":"AI agent feedback","link":"/en/apis/feedback","routeSlug":"/en/apis/feedback","items":[{"label":"Report an API problem or suggestion","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/en/apis/feedback/sendfeedback","routeSlug":"/en/apis/feedback/sendfeedback","metadata":{"seo":{"title":"Report an API problem or suggestion","description":"Lets an integration or AI agent report an API bug, a confusing response or a missing capability to the SimPay team. The endpoint works with any enabled API key and requires no additional ability."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendFeedback","name":"Report an API problem or suggestion","isWebhook":true,"pointer":"/paths/~1feedback/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Report an API problem or suggestion","isWebhook":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Lets an integration or AI agent report an API bug, a confusing response or a missing capability to the SimPay team. The endpoint works with any enabled API key and requires no additional ability."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Error responses for an authenticated key include a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"feedbackUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field pointing to this endpoint. Report server errors, responses that contradict the documentation, confusing results and missing capabilities, even when a retry succeeded. Do not report validation errors caused by your own input that you have already corrected."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Remove API keys, IPN keys, customer data and payment data from the content. Each client can send at most 20 reports per hour."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":[],"type":"http","scheme":"bearer"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"isEvent":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_60"}},"schemaId":"schema_60","pointer":"/paths/~1feedback/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"webhook","method":"POST","path":"/feedback","servers":[{"url":"/_mock/en/apis","description":"Mock server","isMockServer":true},{"url":"https://api.simpay.pl"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_60"}},"responseCodes":["201","403","422","429"],"pointer":"/feedback","href":"feedback/sendfeedback","openApiOperationId":"sendFeedback","summary":"Report an API problem or suggestion"},"isWebhook":true,"hideReplay":false,"schemaId":"schema_60","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_60"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"The report was stored","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_61","exampleIds":["paths/~1feedback/post/responses/201/content/application~1json/example"]}},"schemaId":"schema_61","exampleIds":["paths/~1feedback/post/responses/201/content/application~1json/example"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}},"schemaId":"components/schemas/ErrorResponseForbidden"},{"code":"422","description":"Unprocessable Content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}},"schemaId":"components/schemas/ErrorUnprocessableContent"},{"code":"429","description":"Feedback limit exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"exampleIds":["paths/~1feedback/post/responses/429/content/application~1json/example"]}},"exampleIds":["paths/~1feedback/post/responses/429/content/application~1json/example"]}],"pointer":"/paths/~1feedback/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"schema_61","exampleIds":["paths/~1feedback/post/responses/201/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_61","exampleIds":["paths/~1feedback/post/responses/201/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseForbidden","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseForbidden"}}},{"code":"422","schemaId":"components/schemas/ErrorUnprocessableContent","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorUnprocessableContent"}}},{"code":"429","exampleIds":["paths/~1feedback/post/responses/429/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"exampleIds":["paths/~1feedback/post/responses/429/content/application~1json/example"]}}}],"isEvent":true,"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/feedback/sendfeedback"}],"panels":[]}]},"httpPath":"/feedback"}],"content":{"contentType":"group","meta":{"name":"Feedback"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"AI agent feedback","showPageActions":true},{"nodeType":"markdoc","content":"Reporting API problems from integrations and AI agents."}],"panels":[{"children":[{"kind":"group-items","title":"Webhooks","titleTranslationKey":"webhooks","items":[{"title":"/feedback","summary":"Report an API problem or suggestion","prefix":{"name":"post","color":"post"},"badges":[],"link":"/feedback/sendfeedback","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/ServiceId":{"id":"components/schemas/ServiceId","kind":"json-schema","title":"ServiceId","data":{"type":"string","description":"Service ID","pattern":"^[0-9a-f]{8}$","minLength":8,"maxLength":8}},"components/schemas/ServiceType":{"id":"components/schemas/ServiceType","kind":"json-schema","title":"ServiceType","data":{"type":"string","description":"SMS Service Type","enum":["ONE_TIME_CODE","CODE_PACK","API_URL"]}},"components/schemas/ServiceStatus":{"id":"components/schemas/ServiceStatus","kind":"json-schema","title":"ServiceStatus","data":{"type":"string","description":"Service Status","enum":["service_new","service_active","service_blocked","service_rejected","service_verify","service_ongoing_registration"]}},"components/schemas/DateTime":{"id":"components/schemas/DateTime","kind":"json-schema","title":"DateTime","data":{"type":"string","format":"date-time","description":"Creation date in format: ISO 8601"}},"components/schemas/smsServiceList":{"id":"components/schemas/smsServiceList","kind":"json-schema","title":"smsServiceList","data":{"type":"object","required":["id","type","status","name","prefix","suffix","adult","created_at"],"properties":{"id":{"$ref":"#/components/schemas/ServiceId"},"type":{"$ref":"#/components/schemas/ServiceType"},"status":{"$ref":"#/components/schemas/ServiceStatus"},"name":{"type":"string","description":"Service name"},"prefix":{"type":"string","description":"Service prefix, i.e. the first part of the SMS content, e.g. SIM"},"suffix":{"type":"string","description":"Service suffix, i.e. the second part of the SMS content"},"description":{"type":"string","description":"Service description"},"adult":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Information on whether the service is 18+"},"children":[],"type":"text"}],"type":"paragraph"}]},"created_at":{"$ref":"#/components/schemas/DateTime"}}}},"components/schemas/Pagination":{"id":"components/schemas/Pagination","kind":"json-schema","title":"Pagination","data":{"type":"object","required":["total","count","per_page","current_page","total_pages","links"],"properties":{"total":{"type":"integer","description":"Total number of records","example":1},"count":{"type":"integer","description":"Number of records on the current page","example":1},"per_page":{"type":"integer","description":"Maximum number of records per page","example":15},"current_page":{"type":"integer","description":"Current page","example":1},"total_pages":{"type":"integer","description":"Total number of pages","example":1},"links":{"type":"object","description":"URLs to pages","required":["next_page","prev_page"],"properties":{"next_page":{"nullable":true,"type":"string","format":"url","example":null,"description":"URL to the next page"},"prev_page":{"nullable":true,"type":"string","format":"url","example":null,"description":"URL to the previous page"}}}}}},"components/schemas/smsGetServices":{"id":"components/schemas/smsGetServices","kind":"json-schema","title":"smsGetServices","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/smsServiceList"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"example":{"success":true,"data":[{"id":"d151e4f9","type":"ONE_TIME_CODE","status":"service_active","name":"TEST","prefix":"SIM","suffix":"TESTSIMPAY","adult":false,"created_at":"2021-11-08T18:18:53+01:00"}],"pagination":{"total":1,"count":1,"per_page":15,"current_page":1,"total_pages":1,"links":{"next_page":null,"prev_page":null}}}}},"components/schemas/ErrorResponseUnauthorized":{"id":"components/schemas/ErrorResponseUnauthorized","kind":"json-schema","title":"ErrorResponseUnauthorized","data":{"type":"object","required":["success","errorCode"],"properties":{"feedbackUrl":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"URL for reporting API problems ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /feedback"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Returned for authenticated API keys."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"https://api.simpay.pl/feedback"},"success":{"type":"boolean","description":"Request status","default":false},"errorCode":{"type":"string","description":"Error status code","enum":["UNAUTHORIZED"]}}}},"components/schemas/ErrorResponseForbidden":{"id":"components/schemas/ErrorResponseForbidden","kind":"json-schema","title":"ErrorResponseForbidden","data":{"type":"object","required":["success","errorCode"],"properties":{"feedbackUrl":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"URL for reporting API problems ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /feedback"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Returned for authenticated API keys."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"https://api.simpay.pl/feedback"},"success":{"type":"boolean","description":"Request status","default":false},"errorCode":{"type":"string","description":"Error status code","enum":["INVALID_ABILITY_PROVIDED","IP_ADDRESS_NOT_WHITELISTED"]}}}},"components/schemas/ErrorResponseNotFound":{"id":"components/schemas/ErrorResponseNotFound","kind":"json-schema","title":"ErrorResponseNotFound","data":{"type":"object","required":["success","errorCode"],"properties":{"success":{"type":"boolean","description":"Request status","default":false},"errorCode":{"type":"string","description":"Error status code","enum":["SERVICE_NOT_FOUND","TRANSACTION_NOT_FOUND","ROUTE_NOT_FOUND"]}}}},"components/schemas/ServicesNumbers":{"id":"components/schemas/ServicesNumbers","kind":"json-schema","title":"ServicesNumbers","data":{"type":"array","items":{"type":"integer","enum":[7055,7155,7255,7355,7455,7555,7636,77464,78464,7936,91055,91155,91455,91664,91955,92055,92555]}}},"components/schemas/smsService":{"id":"components/schemas/smsService","kind":"json-schema","title":"smsService","data":{"type":"object","required":["id","type","status","name","prefix","suffix","adult","numbers","created_at"],"properties":{"id":{"$ref":"#/components/schemas/ServiceId"},"type":{"$ref":"#/components/schemas/ServiceType"},"status":{"$ref":"#/components/schemas/ServiceStatus"},"name":{"type":"string","description":"Service name"},"prefix":{"type":"string","description":"Service prefix, i.e. the first part of the SMS content, e.g. SIM"},"suffix":{"type":"string","description":"Service suffix, i.e. the second part of the SMS content"},"description":{"type":"string","description":"Service description"},"adult":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Information on whether the service is 18+"},"children":[],"type":"text"}],"type":"paragraph"}]},"numbers":{"$ref":"#/components/schemas/ServicesNumbers"},"created_at":{"$ref":"#/components/schemas/DateTime"}}}},"components/schemas/smsGetService":{"id":"components/schemas/smsGetService","kind":"json-schema","title":"smsGetService","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/smsService"}}},"example":{"success":true,"data":{"id":"d151e4f9","type":"ONE_TIME_CODE","status":"service_active","name":"TEST","prefix":"SIM","suffix":"TESTSIMPAY","adult":false,"numbers":[7055,7155,7255],"created_at":"2021-11-08T18:18:53+01:00"}}}},"components/schemas/SmsCode":{"id":"components/schemas/SmsCode","kind":"json-schema","title":"SmsCode","data":{"type":"string","description":"SMS code","pattern":"^[A-Z0-9]{6}$","minimum":6,"maximum":6}},"components/schemas/ServiceNumbers":{"id":"components/schemas/ServiceNumbers","kind":"json-schema","title":"ServiceNumbers","data":{"type":"integer","description":"Number to send SMS messages to","enum":[7055,7155,7255,7355,7455,7555,7636,77464,78464,7936,91055,91155,91455,91664,91955,92055,92555]}},"components/schemas/smsCodeWithNumber":{"id":"components/schemas/smsCodeWithNumber","kind":"json-schema","title":"smsCodeWithNumber","data":{"type":"object","required":["code","number"],"properties":{"code":{"$ref":"#/components/schemas/SmsCode"},"number":{"$ref":"#/components/schemas/ServiceNumbers"}},"example":{"code":"AB12D6","number":7055}}},"components/schemas/smsCodeWithoutNumber":{"id":"components/schemas/smsCodeWithoutNumber","kind":"json-schema","title":"smsCodeWithoutNumber","data":{"type":"object","required":["code"],"properties":{"code":{"$ref":"#/components/schemas/SmsCode"}},"example":{"code":"AB12D6"}}},"components/schemas/smsServiceCheckCodeUsedData":{"id":"components/schemas/smsServiceCheckCodeUsedData","kind":"json-schema","title":"smsServiceCheckCodeUsedData","data":{"type":"object","required":["used","code","test","from","number","value","used_at"],"properties":{"used":{"type":"boolean","description":"Information on whether the code has been used"},"code":{"type":"string","description":"SMS code"},"test":{"type":"boolean","description":"Information whether the code is a test code"},"from":{"type":"integer","description":"Number from which the SMS was sent"},"number":{"$ref":"#/components/schemas/ServiceNumbers"},"value":{"type":"number","format":"float","description":"Net amount of the SMS"},"used_at":{"$ref":"#/components/schemas/DateTime"}}}},"components/schemas/smsServiceCheckCodeUsed":{"id":"components/schemas/smsServiceCheckCodeUsed","kind":"json-schema","title":"smsServiceCheckCodeUsed","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/smsServiceCheckCodeUsedData"}}},"example":{"success":true,"data":{"used":true,"code":"ABC1D6","test":true,"from":"48123123123","number":7055,"value":0.5,"send_at":"2021-11-14T19:00:36+01:00"}}}},"components/schemas/smsServiceCheckCodeNotUsedData":{"id":"components/schemas/smsServiceCheckCodeNotUsedData","kind":"json-schema","title":"smsServiceCheckCodeNotUsedData","data":{"type":"object","required":["used","code","test","from","number","value"],"properties":{"used":{"type":"boolean","description":"Information on whether the code has been used"},"code":{"type":"string","description":"SMS code"},"test":{"type":"boolean","description":"Information whether the code is a test code"},"from":{"type":"integer","description":"Number from which the SMS was sent"},"number":{"$ref":"#/components/schemas/ServiceNumbers"},"value":{"type":"number","format":"float","description":"Net amount of the SMS"}}}},"components/schemas/smsServiceCheckCodeNotUsed":{"id":"components/schemas/smsServiceCheckCodeNotUsed","kind":"json-schema","title":"smsServiceCheckCodeNotUsed","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/smsServiceCheckCodeNotUsedData"}}},"example":{"success":true,"data":{"used":false,"code":"ABC1D6","test":true,"from":"48123123123","number":7055,"value":0.5}}}},"components/schemas/ServiceTransaction":{"id":"components/schemas/ServiceTransaction","kind":"json-schema","title":"ServiceTransaction","data":{"type":"object","required":["id","from","code","used","send_number","value","send_at"],"properties":{"id":{"type":"integer","description":"SMS transaction ID"},"from":{"type":"integer","description":"Number from which the SMS was sent"},"code":{"type":"string","description":"SMS code"},"used":{"type":"boolean","description":"Information on whether the code has been used"},"send_number":{"$ref":"#/components/schemas/ServiceNumbers"},"value":{"type":"number","format":"float","description":"Net amount of the SMS"},"send_at":{"$ref":"#/components/schemas/DateTime"}}}},"components/schemas/smsGetServiceTransactions":{"id":"components/schemas/smsGetServiceTransactions","kind":"json-schema","title":"smsGetServiceTransactions","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ServiceTransaction"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"example":{"success":true,"data":[{"id":1,"from":48123123123,"code":"ABC1D6","used":false,"send_number":7055,"value":0.5,"send_at":"2021-11-14T19:00:36+01:00"}],"pagination":{"total":1,"count":1,"per_page":15,"current_page":1,"total_pages":1,"links":{"next_page":null,"prev_page":null}}}}},"components/schemas/smsGetServiceTransaction":{"id":"components/schemas/smsGetServiceTransaction","kind":"json-schema","title":"smsGetServiceTransaction","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"$ref":"#/components/schemas/ServiceTransaction"}},"example":{"success":true,"data":{"id":1,"from":48123123123,"code":"ABC1D6","used":false,"send_number":7055,"value":0.5,"send_at":"2021-11-14T19:00:36+01:00"}}}},"components/schemas/smsNumber":{"id":"components/schemas/smsNumber","kind":"json-schema","title":"smsNumber","data":{"type":"object","required":["number","value","value_net","adult"],"properties":{"number":{"$ref":"#/components/schemas/ServiceNumbers"},"value":{"type":"number","format":"float"},"value_net":{"type":"number","format":"float"},"adult":{"type":"boolean"}}}},"components/schemas/smsServiceNumbers":{"id":"components/schemas/smsServiceNumbers","kind":"json-schema","title":"smsServiceNumbers","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/smsNumber"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"example":{"success":true,"data":[{"number":7055,"value":2,"value_net":2.46,"adult":false}],"pagination":{"total":1,"count":1,"per_page":15,"current_page":1,"total_pages":1,"links":{"next_page":null,"prev_page":null}}}}},"components/schemas/smsServiceNumber":{"id":"components/schemas/smsServiceNumber","kind":"json-schema","title":"smsServiceNumber","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/smsNumber"}},"example":{"success":true,"data":{"number":7055,"value":2,"value_net":2.46,"adult":false}}}},"components/schemas/directbillingServiceItem":{"id":"components/schemas/directbillingServiceItem","kind":"json-schema","title":"directbillingServiceItem","data":{"type":"object","required":["id","name","suffix","status","created_at"],"properties":{"id":{"$ref":"#/components/schemas/ServiceId"},"name":{"type":"string","description":"Service name"},"suffix":{"type":"string","description":"Title in the report"},"status":{"$ref":"#/components/schemas/ServiceStatus"},"created_at":{"$ref":"#/components/schemas/DateTime"}}}},"components/schemas/directbillingGetServicesResponse":{"id":"components/schemas/directbillingGetServicesResponse","kind":"json-schema","title":"directbillingGetServicesResponse","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/directbillingServiceItem"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"example":{"success":true,"data":[{"id":"d151e4f9","name":"Test service","suffix":"Test1","status":"service_active","created_at":"2021-11-08T18:19:16+01:00"}],"pagination":{"total":1,"count":1,"per_page":15,"current_page":1,"total_pages":1,"links":{"next_page":null,"prev_page":null}}}}},"components/schemas/directbillingGetServiceResponse":{"id":"components/schemas/directbillingGetServiceResponse","kind":"json-schema","title":"directbillingGetServiceResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ServiceId"},"name":{"type":"string","description":"Service name"},"suffix":{"type":"string","description":"Title in the report"},"status":{"$ref":"#/components/schemas/ServiceStatus"},"created_at":{"$ref":"#/components/schemas/DateTime"}}}},"example":{"success":true,"data":{"id":"d151e4f9","name":"Test service","suffix":"Test1","status":"service_active","created_at":"2021-11-08T18:19:16+01:00"}}}},"components/schemas/directbillingCalculationOperatorItem":{"id":"components/schemas/directbillingCalculationOperatorItem","kind":"json-schema","title":"directbillingCalculationOperatorItem","data":{"type":"object","nullable":true,"properties":{"net":{"type":"number","format":"float"},"gross":{"type":"number","format":"float"}}}},"components/schemas/directbillingServiceCalculateResponse":{"id":"components/schemas/directbillingServiceCalculateResponse","kind":"json-schema","title":"directbillingServiceCalculateResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["orange","play","t-mobile","plus"],"properties":{"orange":{"$ref":"#/components/schemas/directbillingCalculationOperatorItem"},"play":{"$ref":"#/components/schemas/directbillingCalculationOperatorItem"},"t-mobile":{"$ref":"#/components/schemas/directbillingCalculationOperatorItem"},"plus":{"$ref":"#/components/schemas/directbillingCalculationOperatorItem"}}}},"example":{"success":true,"data":{"orange":{"net":285.72,"gross":351.44},"play":{"net":285.72,"gross":351.44},"t-mobile":null,"plus":null}}}},"components/schemas/directbillingTransactionStatus":{"id":"components/schemas/directbillingTransactionStatus","kind":"json-schema","title":"directbillingTransactionStatus","data":{"type":"string","description":"Transaction status","enum":["transaction_db_new","transaction_db_confirmed","transaction_db_payed","transaction_db_rejected"]}},"components/schemas/directbillingTransactionItem":{"id":"components/schemas/directbillingTransactionItem","kind":"json-schema","title":"directbillingTransactionItem","data":{"type":"object","required":["id","status","value","value_netto","operator","created_at","updated_at"],"properties":{"id":{"$ref":"#/components/schemas/ServiceId"},"status":{"$ref":"#/components/schemas/directbillingTransactionStatus"},"value":{"type":"number","format":"float"},"value_netto":{"type":"number","format":"float"},"operator":{"type":"string"},"created_at":{"$ref":"#/components/schemas/DateTime","description":"Transaction creation date"},"updated_at":{"$ref":"#/components/schemas/DateTime","description":"Transaction update date"}}}},"components/schemas/directbillingGetTransactionsResponse":{"id":"components/schemas/directbillingGetTransactionsResponse","kind":"json-schema","title":"directbillingGetTransactionsResponse","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/directbillingTransactionItem"}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"example":{"success":true,"data":[{"id":"dc261d4f-31ef-4728-bfd6-97bbe2a5ef0a","status":"transaction_db_payed","value":0.34,"value_netto":0.24,"created_at":"2023-02-16T14:52:11+01:00","updated_at":"2023-02-16T14:52:11+01:00"}],"pagination":{"total":1,"count":1,"per_page":15,"current_page":1,"total_pages":1,"links":{"next_page":null,"prev_page":null}}}}},"components/schemas/directbillingTransactionCreateAll":{"id":"components/schemas/directbillingTransactionCreateAll","kind":"json-schema","title":"directbillingTransactionCreateAll","data":{"type":"object","required":["amount"],"properties":{"amount":{"type":"number","format":"float","description":"Transaction amount"},"amountType":{"type":"string","enum":["required","net","gross"],"default":"gross","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Transaction amount type"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"required"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - a fixed amount that the partner wants to obtain, the final amount to be paid will be visible on the gateway and depends on the operator"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"net"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - net amount"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"gross"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - gross amount"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},"description":{"type":"string","maximum":128,"description":"Transaction description visible on the payment gateway"},"control":{"type":"string","maximum":128,"description":"Parameter for use by the partner for, e.g. transaction identification"},"returns":{"type":"object","description":"URLs to redirect the customer after the transaction","properties":{"success":{"type":"string","format":"url","description":"Address to which the customer should be redirected after a successful transaction"},"failure":{"type":"string","format":"url","description":"Address to which the customer should be redirected after an unsuccessful transaction"}}},"phoneNumber":{"type":"string","description":"Forced phone number"},"steamid":{"type":"string","format":"steamId64","description":"Optional field (steamid64)"}},"example":{"amount":19.99,"amountType":"gross","description":"Payment for virtual products","control":"96125f23-d549-4bfc-a845-b781b5f1ad03","returns":{"success":"https://www.simpay.pl/success","failure":"https://www.simpay.pl/failure"},"phoneNumber":"48123123123"}}},"components/schemas/directbillingTransactionCreateOnlyNecessary":{"id":"components/schemas/directbillingTransactionCreateOnlyNecessary","kind":"json-schema","title":"directbillingTransactionCreateOnlyNecessary","data":{"type":"object","required":["amount"],"properties":{"amount":{"type":"number","format":"float","description":"Transaction amount"}},"example":{"amount":19.99}}},"components/schemas/TransactionId":{"id":"components/schemas/TransactionId","kind":"json-schema","title":"TransactionId","data":{"type":"string","format":"uuid","description":"Transaction ID","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","minLength":36,"maxLength":36}},"components/schemas/RefundId":{"id":"components/schemas/RefundId","kind":"json-schema","title":"RefundId","data":{"type":"string","format":"uuid","description":"Refund ID","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","minLength":36,"maxLength":36}},"components/schemas/SubscriptionId":{"id":"components/schemas/SubscriptionId","kind":"json-schema","title":"SubscriptionId","data":{"type":"string","format":"uuid","description":"Subscription ID","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","minLength":36,"maxLength":36}},"components/schemas/AliasId":{"id":"components/schemas/AliasId","kind":"json-schema","title":"AliasId","data":{"type":"string","format":"uuid","description":"Alias ID","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","minLength":36,"maxLength":36}},"components/schemas/directbillingTransactionCreateResponse":{"id":"components/schemas/directbillingTransactionCreateResponse","kind":"json-schema","title":"directbillingTransactionCreateResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["transactionId","redirectUrl"],"properties":{"transactionId":{"$ref":"#/components/schemas/TransactionId"},"redirectUrl":{"type":"string","format":"url"}}}},"example":{"success":true,"data":{"transactionId":"1d87a1b3-18f8-4146-bcb1-c0c9f293b04f","redirectUrl":"https://db.simpay.pl/1d87a1b3-18f8-4146-bcb1-c0c9f293b04f"}}}},"components/schemas/ErrorUnprocessableContent":{"id":"components/schemas/ErrorUnprocessableContent","kind":"json-schema","title":"ErrorUnprocessableContent","data":{"type":"object","required":["success","errorCode","errors"],"properties":{"feedbackUrl":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"URL for reporting API problems ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /feedback"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Returned for authenticated API keys."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"https://api.simpay.pl/feedback"},"success":{"type":"boolean","description":"Request status"},"errorCode":{"type":"string","description":"Error status code","enum":["VALIDATION_ERROR"]},"errors":{"type":"object","properties":{"amount":{"type":"array","items":{"type":"string"}}}}},"example":{"success":false,"errorCode":"VALIDATION_ERROR","errors":{"amount":["The amount field is required."],"currency":["The selected currency is invalid."]}}}},"components/schemas/directbillingGetTransactionResponse":{"id":"components/schemas/directbillingGetTransactionResponse","kind":"json-schema","title":"directbillingGetTransactionResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["id","status","value","value_netto","notify","created_at","updated_at"],"properties":{"id":{"$ref":"#/components/schemas/TransactionId"},"status":{"$ref":"#/components/schemas/directbillingTransactionStatus"},"phoneNumber":{"type":"string","format":"phone","nullable":true},"control":{"type":"string","nullable":true},"value":{"type":"number","format":"float"},"value_netto":{"type":"number","format":"float"},"operator":{"type":"string","nullable":true,"enum":["orange","plus","play","t-mobile"]},"notify":{"type":"object","required":["is_send","last_send_at","count"],"properties":{"is_send":{"type":"boolean"},"last_send_at":{"description":"Last send date","$ref":"#/components/schemas/DateTime"},"count":{"type":"integer"}}},"created_at":{"$ref":"#/components/schemas/DateTime"},"updated_at":{"$ref":"#/components/schemas/DateTime"}}}},"example":{"success":true,"data":{"id":"dc261d4f-31ef-4728-bfd6-97bbe2a5ef0a","status":"transaction_db_payed","phoneNumber":null,"control":"1d87a1b3-18f8-4146-bcb1-c0c9f293b04f","value":16.67,"value_netto":10,"operator":"t-mobile","notify":{"is_send":false,"last_send_at":"2023-02-16T14:52:11+01:00","count":1},"created_at":"2023-02-16T14:52:11+01:00","updated_at":"2023-02-16T14:52:11+01:00"}}}},"components/schemas/paymentGetServicesResponse":{"id":"components/schemas/paymentGetServicesResponse","kind":"json-schema","title":"paymentGetServicesResponse","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"type":"object","required":["id","name","status","created_at"],"properties":{"id":{"$ref":"#/components/schemas/ServiceId"},"name":{"type":"string","description":"Service name"},"status":{"$ref":"#/components/schemas/ServiceStatus"},"created_at":{"$ref":"#/components/schemas/DateTime"}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"example":{"success":true,"data":[{"id":"d151e4f9","name":"Test service","status":"service_active","created_at":"2021-11-08T18:19:16+01:00"}],"pagination":{"total":1,"count":1,"per_page":15,"current_page":1,"total_pages":1,"links":{"next_page":null,"prev_page":null}}}}},"components/schemas/paymentGetServiceResponse":{"id":"components/schemas/paymentGetServiceResponse","kind":"json-schema","title":"paymentGetServiceResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","description":"Fields with empty values are omitted from the response.","required":["id","name","status","created_at","service_type","settlement_id"],"properties":{"id":{"$ref":"#/components/schemas/ServiceId"},"name":{"type":"string","description":"Service name"},"status":{"$ref":"#/components/schemas/ServiceStatus"},"contact":{"type":"string","format":"email","description":"Service contact email"},"url":{"type":"string","format":"url","description":"Service URL"},"terms_url":{"type":"string","format":"url","description":"Service terms URL"},"created_at":{"$ref":"#/components/schemas/DateTime"},"service_type":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Service type ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for SimPay Flow submerchant services)"},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["SIMPAY","FLOW"]},"settlement_id":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Service settlement ID. For "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" services it is the parent service ID with the submerchant identifier appended."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"d151e4f9"},"flow":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Flow service data (only for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"service_type"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" = "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FLOW"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"properties":{"parent_payment_service":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Online Payments service linked to the Flow service (same structure as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"data"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}]}}}}}},"example":{"success":true,"data":{"id":"d151e4f9","name":"Test service","status":"service_active","contact":"kontakt@simpay.pl","url":"https://simpay.pl","terms_url":"https://simpay.pl/regulamin","created_at":"2021-11-08T18:19:16+01:00","service_type":"SIMPAY","settlement_id":"d151e4f9"}}}},"components/schemas/paymentGetServiceChannelsResponse":{"id":"components/schemas/paymentGetServiceChannelsResponse","kind":"json-schema","title":"paymentGetServiceChannelsResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"type":"object","required":["id","name","type","img","commission","currencies","amount"],"properties":{"id":{"type":"string","description":"Payment channel ID"},"name":{"type":"string","description":"Channel name"},"type":{"type":"string","description":"Channel type"},"img":{"type":"string","format":"url","description":"URL to the payment channel graphic"},"commission":{"type":"number","format":"float","description":"Commission charged by SimPay from the payment"},"currencies":{"type":"array","description":"Array of available currencies","items":{"type":"string"}},"amount":{"type":"object","description":"Amounts available for the channel","items":{"type":"object","required":["min","max"]},"properties":{"min":{"type":"number","format":"float","description":"Minimum payment amount"},"max":{"type":"number","format":"float","description":"Maximum payment amount"}}}}}}},"example":{"success":true,"data":[{"id":"blik","name":"BLIK","type":"blik","img":"https://img.simpay.pl/transfer/banks/blik.png","commission":1.5,"currencies":["PLN"],"amount":{"min":1,"max":20000}},{"id":"mbank","name":"mBank","type":"transfer","img":"https://img.simpay.pl/transfer/banks/mbank.png","commission":1.5,"currencies":["PLN"],"amount":{"min":1,"max":20000}}]}}},"components/schemas/paymentTransactionStatus":{"id":"components/schemas/paymentTransactionStatus","kind":"json-schema","title":"paymentTransactionStatus","data":{"type":"string","description":"Transaction status","enum":["transaction_new","transaction_confirmed","transaction_generated","transaction_paid","transaction_failure","transaction_expired","transaction_canceled","transaction_refunded","transaction_fraud","transaction_fraud_possibility"]}},"components/schemas/paymentTransactionRefundStatus":{"id":"components/schemas/paymentTransactionRefundStatus","kind":"json-schema","title":"paymentTransactionRefundStatus","data":{"type":"string","description":"Refund status","enum":["refund_new","refund_pending","refund_completed","refund_rejected","refund_failed"]}},"components/schemas/subscriptionStatus":{"id":"components/schemas/subscriptionStatus","kind":"json-schema","title":"subscriptionStatus","data":{"type":"string","description":"Subscription status","enum":["subscription_pending","subscription_active","subscription_cancelled","subscription_expired","subscription_finished","subscription_fraudulent"]}},"components/schemas/blikAliasType":{"id":"components/schemas/blikAliasType","kind":"json-schema","title":"blikAliasType","data":{"type":"string","description":"BLIK alias type","enum":["PAYID","UID"]}},"components/schemas/blikAliasStatus":{"id":"components/schemas/blikAliasStatus","kind":"json-schema","title":"blikAliasStatus","data":{"type":"string","description":"BLIK alias status","enum":["alias_pending_registration","alias_active","alias_expired","alias_unregistered"]}},"components/schemas/blikSubscriptionModel":{"id":"components/schemas/blikSubscriptionModel","kind":"json-schema","title":"blikSubscriptionModel","data":{"type":"string","description":"BLIK Recurrent Payment Model","enum":["A","O","M"]}},"components/schemas/subscriptionMode":{"id":"components/schemas/subscriptionMode","kind":"json-schema","title":"subscriptionMode","data":{"type":"string","description":"Subscription mode","enum":["BLIK","CARD"]}},"components/schemas/subscriptionCancelledBy":{"id":"components/schemas/subscriptionCancelledBy","kind":"json-schema","title":"subscriptionCancelledBy","data":{"type":"string","description":"Subscription cancelled by","enum":["system","antifraud","merchant","payer","blik"]}},"components/schemas/paymentGetTransactionsResponse":{"id":"components/schemas/paymentGetTransactionsResponse","kind":"json-schema","title":"paymentGetTransactionsResponse","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"type":"object","required":["id","status","amount","control","channel","paid_at","created_at","updated_at"],"properties":{"id":{"$ref":"#/components/schemas/TransactionId"},"status":{"$ref":"#/components/schemas/paymentTransactionStatus"},"amount":{"type":"number","format":"float"},"control":{"type":"string"},"channel":{"type":"string"},"paid_at":{"$ref":"#/components/schemas/DateTime"},"created_at":{"$ref":"#/components/schemas/DateTime"},"updated_at":{"$ref":"#/components/schemas/DateTime"}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"example":{"success":true,"data":[{"id":"528bd43f-d08a-43f5-9462-861e54db37bf","status":"transaction_paid","amount":24.99,"control":null,"channel":"nest","paid_at":"2023-12-07T05:21:50+01:00","created_at":"2023-12-07T05:20:30+01:00","updated_at":"2023-12-07T05:21:50+01:00"},{"id":"0238d92e-0dd9-469a-9aa9-0505974336a3","status":"transaction_paid","amount":24.99,"control":null,"channel":"blik","paid_at":"2023-12-07T06:21:50+01:00","created_at":"2023-12-07T06:20:30+01:00","updated_at":"2023-12-07T06:21:50+01:00"}],"pagination":{"total":2,"count":2,"per_page":15,"current_page":1,"total_pages":1,"links":{"next_page":null,"prev_page":null}}}}},"components/schemas/paymentGetTransactionRefundsResponse":{"id":"components/schemas/paymentGetTransactionRefundsResponse","kind":"json-schema","title":"paymentGetTransactionRefundsResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"type":"object","required":["id","status","amount","currency","wallet_amount","wallet_currency","created_at","updated_at"],"properties":{"id":{"$ref":"#/components/schemas/RefundId"},"status":{"$ref":"#/components/schemas/paymentTransactionRefundStatus"},"amount":{"type":"number","format":"float","description":"Refund amount in the payer's currency"},"currency":{"type":"string","minLength":3,"maxLength":3,"description":"Payer's currency"},"wallet_amount":{"type":"number","format":"float","description":"Refund amount deducted from the wallet"},"wallet_currency":{"type":"string","minLength":3,"maxLength":3,"description":"Wallet currency"},"created_at":{"$ref":"#/components/schemas/DateTime"},"updated_at":{"$ref":"#/components/schemas/DateTime"}}}}},"example":{"success":true,"data":[{"id":"019483a5-885e-70f7-9b5b-94387a6690da","status":"refund_completed","amount":1,"currency":"PLN","wallet_amount":1,"wallet_currency":"PLN","created_at":"2025-01-20T13:17:31+01:00","updated_at":"2025-01-20T13:17:59+01:00"}]}}},"components/schemas/paymentShowTransactionRefundResponse":{"id":"components/schemas/paymentShowTransactionRefundResponse","kind":"json-schema","title":"paymentShowTransactionRefundResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["id","status","amount","currency","wallet_amount","wallet_currency","created_at","updated_at"],"properties":{"id":{"$ref":"#/components/schemas/RefundId"},"status":{"$ref":"#/components/schemas/paymentTransactionRefundStatus"},"amount":{"type":"number","format":"float","description":"Refund amount in the payer's currency"},"currency":{"type":"string","minLength":3,"maxLength":3,"description":"Payer's currency"},"wallet_amount":{"type":"number","format":"float","description":"Refund amount deducted from the wallet"},"wallet_currency":{"type":"string","minLength":3,"maxLength":3,"description":"Wallet currency"},"created_at":{"$ref":"#/components/schemas/DateTime"},"updated_at":{"$ref":"#/components/schemas/DateTime"}}}},"example":{"success":true,"data":{"id":"019483a5-885e-70f7-9b5b-94387a6690da","status":"refund_completed","amount":1,"currency":"PLN","wallet_amount":1,"wallet_currency":"PLN","created_at":"2025-01-20T13:17:31+01:00","updated_at":"2025-01-20T13:17:59+01:00"}}}},"components/schemas/paymentMakeTransactionRefundResponse":{"id":"components/schemas/paymentMakeTransactionRefundResponse","kind":"json-schema","title":"paymentMakeTransactionRefundResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["refund_id"],"properties":{"refund_id":{"$ref":"#/components/schemas/RefundId"}}}},"example":{"success":true,"data":{"refund_id":"019483a5-885e-70f7-9b5b-94387a6690da"}}}},"components/schemas/paymentGetSubscriptionsResponse":{"id":"components/schemas/paymentGetSubscriptionsResponse","kind":"json-schema","title":"paymentGetSubscriptionsResponse","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"type":"object","required":["id","status","mode","created_at","updated_at"],"properties":{"id":{"$ref":"#/components/schemas/SubscriptionId"},"status":{"$ref":"#/components/schemas/subscriptionStatus"},"mode":{"$ref":"#/components/schemas/subscriptionMode"},"blik":{"type":"object","required":["model","alias"],"properties":{"model":{"$ref":"#/components/schemas/blikSubscriptionModel"},"alias":{"type":"object","required":["id","type","value","label","status","created_at","updated_at"],"properties":{"id":{"$ref":"#/components/schemas/AliasId"},"type":{"$ref":"#/components/schemas/blikAliasType"},"value":{"type":"string","description":"Alias value","example":"AABBCC","maxLength":64},"label":{"type":"string","description":"Label displayed in the mobile app","example":"Payment for a premium package on service aaa","maxLength":35},"blik_key":{"type":"string","description":"Alias identifier in BLIK (in case of PAYID alias it will be empty)","nullable":true,"example":null},"status":{"$ref":"#/components/schemas/blikAliasStatus"},"expires_at":{"$ref":"#/components/schemas/DateTime"},"created_at":{"$ref":"#/components/schemas/DateTime"},"updated_at":{"$ref":"#/components/schemas/DateTime"}}}}},"frequency":{"type":"string","nullable":true,"description":"Subscription frequency","example":"1M"},"initiation_date":{"type":"string","nullable":true,"description":"Date of the first possible Recurring Payment","example":"2025-08-13T23:15:13+02:00"},"total_amount_limit":{"type":"number","nullable":true,"description":"Total amount limit for this Recurring Payment","example":4000},"total_transactions_limit":{"type":"integer","nullable":true,"description":"Total number of possible transactions for this Recurring Payment","example":12},"cancelled":{"type":"object","nullable":true,"required":["by"],"properties":{"by":{"$ref":"#/components/schemas/subscriptionCancelledBy"},"reason":{"type":"string","nullable":true,"description":"Reason for subscription cancellation","maxLength":32}}},"created_at":{"$ref":"#/components/schemas/DateTime"},"updated_at":{"$ref":"#/components/schemas/DateTime"}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"example":{"success":true,"data":[{"id":"019970c6-3d3e-708c-9313-5f89e251e2c0","status":"subscription_active","mode":"BLIK","blik":{"model":"O","alias":{"id":"019970c6-3ce8-71e7-8214-20fd635532fb","type":"PAYID","value":"AABBCC","label":"Payment for premium package","blik_key":null,"status":"alias_active","expires_at":"2035-07-15T00:00:00+02:00","created_at":"2025-09-22T11:34:23+02:00","updated_at":"2025-09-22T11:34:32+02:00"}},"frequency":null,"initiation_date":null,"total_amount_limit":null,"total_transactions_limit":null,"cancelled":null,"created_at":"2025-09-22T11:34:24+02:00","updated_at":"2025-09-22T11:34:32+02:00"},{"id":"0198a54d-05e1-72b8-b835-f2258609bb52","status":"subscription_cancelled","mode":"BLIK","blik":{"model":"O","alias":{"id":"0198a54d-05d9-7177-9ac6-5d9831bc988d","type":"PAYID","value":"CCBBAA","label":"Music subscription","blik_key":null,"status":"alias_unregistered","expires_at":null,"created_at":"2025-08-13T23:19:05+02:00","updated_at":"2025-08-13T23:19:16+02:00"}},"frequency":"1M","initiation_date":"2025-08-13T23:15:13+02:00","total_amount_limit":null,"total_transactions_limit":null,"cancelled":{"by":"merchant","reason":"User cancellation"},"created_at":"2025-08-13T23:19:05+02:00","updated_at":"2025-08-13T23:19:16+02:00"}],"pagination":{"total":2,"count":2,"per_page":20,"current_page":1,"total_pages":1,"links":{"next_page":null,"prev_page":null}}}}},"components/schemas/paymentGetBlikAliasesResponse":{"id":"components/schemas/paymentGetBlikAliasesResponse","kind":"json-schema","title":"paymentGetBlikAliasesResponse","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"type":"object","required":["id","type","value","label","status","created_at","updated_at"],"properties":{"id":{"$ref":"#/components/schemas/AliasId"},"type":{"$ref":"#/components/schemas/blikAliasType"},"value":{"type":"string","description":"Alias value","example":"AABBCC","maxLength":64},"label":{"type":"string","description":"Label displayed in the mobile app","example":"Payment for a premium package on service aaa","maxLength":35},"blik_key":{"type":"string","description":"Alias identifier in BLIK (for a PAYID alias this will be empty)","nullable":true,"example":null},"status":{"$ref":"#/components/schemas/blikAliasStatus"},"expires_at":{"$ref":"#/components/schemas/DateTime"},"created_at":{"$ref":"#/components/schemas/DateTime"},"updated_at":{"$ref":"#/components/schemas/DateTime"},"subscription":{"type":"object","required":["id","status","mode","created_at","updated_at"],"properties":{"id":{"$ref":"#/components/schemas/SubscriptionId"},"status":{"$ref":"#/components/schemas/subscriptionStatus"},"mode":{"$ref":"#/components/schemas/subscriptionMode"},"blik":{"type":"object","required":["model"],"properties":{"model":{"$ref":"#/components/schemas/blikSubscriptionModel"}}},"frequency":{"type":"string","nullable":true,"description":"Subscription frequency","example":"1M"},"initiation_date":{"type":"string","nullable":true,"description":"Date of the first possible Recurring Payment","example":"2025-08-13T23:15:13+02:00"},"total_amount_limit":{"type":"number","nullable":true,"description":"Total amount limit for this Recurring Payment","example":4000},"total_transactions_limit":{"type":"integer","nullable":true,"description":"Total number of possible transactions for this Recurring Payment","example":12},"cancelled":{"type":"object","nullable":true,"required":["by"],"properties":{"by":{"$ref":"#/components/schemas/subscriptionCancelledBy"},"reason":{"type":"string","nullable":true,"description":"Reason for subscription cancellation","maxLength":32}}},"created_at":{"$ref":"#/components/schemas/DateTime"},"updated_at":{"$ref":"#/components/schemas/DateTime"}}}}}},"pagination":{"$ref":"#/components/schemas/Pagination"}},"example":{"success":true,"data":[{"id":"019970c6-3ce8-71e7-8214-20fd635532fb","type":"PAYID","value":"AABBCC","label":"Payment for premium package","blik_key":null,"status":"alias_active","expires_at":"2035-07-15T00:00:00+02:00","created_at":"2025-09-22T11:34:23+02:00","updated_at":"2025-09-22T11:34:32+02:00","subscription":{"id":"019970c6-3d3e-708c-9313-5f89e251e2c0","status":"subscription_active","mode":"BLIK","blik":{"model":"O"},"frequency":null,"initiation_date":null,"total_amount_limit":null,"total_transactions_limit":null,"cancelled":null,"created_at":"2025-09-22T11:34:24+02:00","updated_at":"2025-09-22T11:34:32+02:00"}},{"id":"0198a54d-05d9-7177-9ac6-5d9831bc988d","type":"PAYID","value":"CCBBAA","label":"Music subscription","blik_key":null,"status":"alias_unregistered","expires_at":null,"created_at":"2025-08-13T23:19:05+02:00","updated_at":"2025-08-13T23:19:16+02:00","subscription":{"id":"0198a54d-05e1-72b8-b835-f2258609bb52","status":"subscription_cancelled","mode":"BLIK","blik":{"model":"O"},"frequency":"1M","initiation_date":"2025-08-13T23:15:13+02:00","total_amount_limit":null,"total_transactions_limit":null,"cancelled":{"by":"merchant","reason":"User cancellation"},"created_at":"2025-08-13T23:19:05+02:00","updated_at":"2025-08-13T23:19:16+02:00"}},{"id":"01985292-9615-732f-9c5d-ffd9d0337b5f","type":"UID","value":"SIMSIM","label":"ko...kt@si...ay.pl","blik_key":953824,"status":"alias_active","expires_at":"2028-05-19T18:21:34+02:00","created_at":"2026-05-19T18:03:49+02:00","updated_at":"2026-05-19T18:22:12+02:00","subscription":null}],"pagination":{"total":3,"count":3,"per_page":20,"current_page":1,"total_pages":1,"links":{"next_page":null,"prev_page":null}}}}},"components/schemas/paymentCustomerFull":{"id":"components/schemas/paymentCustomerFull","kind":"json-schema","title":"paymentCustomerFull","data":{"nullable":true,"type":"object","required":["name","surname","street","city","postalCode","country"],"properties":{"name":{"type":"string","nullable":true,"minLength":5,"maxLength":64},"surname":{"type":"string","nullable":true,"maxLength":64},"street":{"type":"string","nullable":true,"maxLength":64},"building":{"type":"string","nullable":true,"maxLength":16},"flat":{"type":"string","nullable":true,"maxLength":16},"city":{"type":"string","nullable":true,"maxLength":32},"region":{"type":"string","nullable":true,"maxLength":32},"postalCode":{"type":"string","nullable":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Postal code, format depends on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"country"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field"},"children":[],"type":"text"}],"type":"paragraph"}]},"country":{"type":"string","nullable":true,"format":"ISO 3166-1 alpha-2","description":"Country"},"company":{"type":"string","nullable":true,"description":"Company name"}}}},"components/schemas/paymentCartItem":{"id":"components/schemas/paymentCartItem","kind":"json-schema","title":"paymentCartItem","data":{"type":"object","description":"Single cart item object","required":["name","quantity","price","producer","category","code"],"properties":{"name":{"type":"string","minLength":3,"maxLength":64,"description":"Product name"},"quantity":{"type":"number","format":"integer","minimum":1,"description":"Quantity of the product"},"price":{"type":"number","format":"float","minimum":0.01,"description":"Price of one product"},"producer":{"type":"string","nullable":true,"maxLength":64,"description":"Product brand"},"category":{"type":"string","nullable":true,"maxLength":64,"description":"Product category"},"code":{"type":"string","nullable":true,"maxLength":64,"description":"Product code"}}}},"components/schemas/paymentCreateTransactionRequest":{"id":"components/schemas/paymentCreateTransactionRequest","kind":"json-schema","title":"paymentCreateTransactionRequest","data":{"type":"object","required":["amount"],"properties":{"amount":{"type":"number","format":"float","description":"Transaction amount","minimum":1},"currency":{"type":"string","description":"Transaction currency","default":"PLN"},"description":{"type":"string","description":"Transaction description given by the partner, presented on the payment gateway","maxLength":64},"control":{"type":"string","description":"Field for use by the partner","maxLength":255},"customer":{"type":"object","nullable":true,"description":"Basic information about the payer","properties":{"name":{"type":"string","maxLength":64},"email":{"type":"string","format":"email","maxLength":64},"ip":{"type":"string","format":"ip","description":"Buyer's IP address. Required when using directChannel."},"countryCode":{"type":"string","format":"country","description":"Buyer's ISO code. Required when using directChannel.","example":"PL"}}},"antifraud":{"type":"object","nullable":true,"description":"Information object for antifraud","properties":{"useragent":{"type":"string","description":"Buyer's UserAgent. Required when using directChannel.","maxLength":255},"steamid":{"type":"string","example":"76561198000000000","description":"Buyer's STEAMID64","maxLength":64},"mcusername":{"type":"string","description":"Minecraft player nickname","maxLength":16},"mcid":{"type":"string","description":"Minecraft player UUID","maxLength":64}}},"billing":{"$ref":"#/components/schemas/paymentCustomerFull"},"shipping":{"$ref":"#/components/schemas/paymentCustomerFull"},"cart":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/paymentCartItem"}},"returns":{"type":"object","nullable":true,"properties":{"success":{"type":"string","format":"url"},"failure":{"type":"string","format":"url"}}},"directChannel":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In this field you can send the channel ID, then the payer will be redirected directly to the page of the given channel"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"For example, if you enter "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"blik"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", you will be redirected directly to the BLIK payment gateway. In this case, it is necessary to send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"antifraud.useragent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customer.ip"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},"channels":{"type":"array","nullable":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Array with payment channel IDs that will be displayed to the payer on the gateway after redirection to the transaction url"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"A list of available channels along with their IDs can be obtained here "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"#tag/Payment/operation/paymentGetChannels"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieving a list of channels for the service"},"children":[],"type":"text"}],"type":"link"}],"type":"paragraph"}],"items":{"type":"string"}},"channelTypes":{"type":"object","nullable":true,"description":"Object in which we can define which channel types should be available on the payment gateway\n","properties":{"blik":{"type":"boolean","description":"BLIK payment"},"transfer":{"type":"boolean","description":"Online transfers payment"},"cards":{"type":"boolean","description":"Card payments"},"ewallets":{"type":"boolean","description":"Virtual wallets payments (Google Pay, Apple Pay)"},"paypal":{"type":"boolean","description":"PayPal payment"},"paysafe":{"type":"boolean","description":"Payments from the Paysafe group (Skrill, PaysafeCard)"},"latam":{"type":"boolean","description":"South American payments (PIX, Boleto, BoletoFlash)"}}},"referer":{"type":"string","minLength":6,"maxLength":64},"context":{"type":"object","nullable":true,"description":"Object containing additional data passed to the payment channel (recommended for Twisto)","properties":{"accountCreatedAt":{"type":"string","format":"DateTime","nullable":true,"description":"Date when the buyer's account was created (ISO 8601 format)","example":"2026-03-27T14:55:33+01:00"},"salesTotalCount":{"type":"integer","nullable":true,"description":"Number of buyer's transactions completed before this transaction","example":27},"salesTotalAmount":{"type":"number","nullable":true,"description":"Total amount of all buyer's transactions completed before this transaction","example":1234.56},"salesAvgAmount":{"type":"number","nullable":true,"description":"Average amount of buyer's transactions completed before this transaction","example":123.45},"salesMaxAmount":{"type":"number","nullable":true,"description":"Maximum amount of buyer's transactions completed before this transaction","example":500},"refundsTotalAmount":{"type":"number","nullable":true,"description":"Total amount of all buyer's refunds processed before this transaction","example":0},"previousChargeback":{"type":"boolean","nullable":true,"description":"Whether the buyer has had chargebacks before","example":false},"accountSetCurrency":{"type":"string","nullable":true,"description":"Buyer's account currency","example":"PLN"},"lastLoginAt":{"type":"string","format":"DateTime","nullable":true,"description":"Date of the buyer's last login to the store account","example":"2026-03-20T14:55:33+01:00"},"hasPreviousPurchases":{"type":"boolean","nullable":true,"description":"Whether the buyer has made previous purchases in the store","example":true}}}}}},"components/schemas/paymentTransactionCreateResponse":{"id":"components/schemas/paymentTransactionCreateResponse","kind":"json-schema","title":"paymentTransactionCreateResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["transactionId","redirectUrl"],"properties":{"transactionId":{"$ref":"#/components/schemas/TransactionId"},"redirectUrl":{"type":"string","format":"url"}}}},"example":{"success":true,"data":{"transactionId":"1d87a1b3-18f8-4146-bcb1-c0c9f293b04f","redirectUrl":"https://pay.simpay.pl/1d87a1b3-18f8-4146-bcb1-c0c9f293b04f"}}}},"components/schemas/paymentGetTransactionResponse":{"id":"components/schemas/paymentGetTransactionResponse","kind":"json-schema","title":"paymentGetTransactionResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["id","payer_transaction_id","status","amount","channel","control","description","redirect","customer","billing","shipping","cart","paid_at","expires_at","created_at","updated_at"],"properties":{"id":{"$ref":"#/components/schemas/TransactionId"},"payer_transaction_id":{"type":"string","description":"Transaction identifier shared with the payer"},"status":{"$ref":"#/components/schemas/paymentTransactionStatus"},"amount":{"type":"object","required":["value","currency","commission","commission_currency"],"properties":{"value":{"type":"number","format":"float","description":"Payment amount in the buyer's currency"},"currency":{"type":"string","format":"ISO-4217","description":"Buyer's currency"},"commission":{"type":"number","format":"float","nullable":true,"description":"SimPay's commission amount"},"commission_currency":{"type":"string","format":"ISO-4217","description":"Commission currency (PLN/EUR)"},"original":{"type":"object","description":"Original amounts declared at initiation","properties":{"value":{"type":"number","format":"float","nullable":true,"description":"Payment amount"},"currency":{"type":"string","format":"ISO-4217","nullable":true,"description":"Payment currency"},"pln_rate":{"type":"number","format":"float","nullable":true,"description":"Currency exchange rate"}}}}},"channel":{"type":"string","nullable":true},"control":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"redirect":{"type":"object","required":["success","failure"],"properties":{"success":{"type":"string","format":"url","nullable":true},"failure":{"type":"string","format":"url","nullable":true}}},"customer":{"type":"object","required":["name","email"],"properties":{"name":{"type":"string","nullable":true},"email":{"type":"string","format":"email","nullable":true},"ip":{"type":"string","format":"ip","nullable":true},"country":{"type":"string","format":"CountryCode","nullable":true}}},"billing":{"$ref":"#/components/schemas/paymentCustomerFull"},"shipping":{"$ref":"#/components/schemas/paymentCustomerFull"},"cart":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/paymentCartItem"}},"paid_at":{"$ref":"#/components/schemas/DateTime"},"expires_at":{"$ref":"#/components/schemas/DateTime"},"created_at":{"$ref":"#/components/schemas/DateTime"},"updated_at":{"$ref":"#/components/schemas/DateTime"}}}},"example":{"success":true,"data":{"id":"328bd42d-d08b-43f6-9463-869e5bd32b4","payer_transaction_id":"477YDX14","status":"transaction_paid","amount":{"value":7.55,"currency":"BRL","commission":0.12,"commission_currency":"EUR","original":{"value":5,"currency":"PLN","pln_rate":1}},"channel":"nest","control":null,"description":null,"redirect":{"success":null,"failure":null},"customer":{"name":null,"email":"kontakt@simpay.pl","ip":"192.168.0.1","country":"PL"},"billing":{"name":null,"surname":null,"street":null,"building":null,"flat":null,"city":null,"region":null,"postalCode":null,"country":null,"company":null},"shipping":{"name":null,"surname":null,"street":null,"building":null,"flat":null,"city":null,"region":null,"postalCode":null,"country":null,"company":null},"cart":null,"paid_at":"2023-12-07T05:21:50+01:00","expires_at":null,"created_at":"2023-12-07T05:20:30+01:00","updated_at":"2023-12-07T05:21:50+01:00"}}}},"components/schemas/paymentGetCurrenciesResponse":{"id":"components/schemas/paymentGetCurrenciesResponse","kind":"json-schema","title":"paymentGetCurrenciesResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"type":"object","required":["iso","pln_rate","nbp_table","updated_at"],"properties":{"iso":{"type":"string","description":"Currency ISO code (PLN, USD, EUR, BRL etc.)"},"pln_rate":{"type":"string","description":"Currency rate according to the NBP exchange rate"},"nbp_table":{"type":"string","description":"NBP exchange rate table"},"prefix":{"type":"string","nullable":true,"description":"Currency prefix"},"suffix":{"type":"string","nullable":true,"description":"Currency suffix"},"updated_at":{"type":"string","format":"date","description":"Last currency update date"}}}}},"example":{"success":true,"data":[{"iso":"PLN","pln_rate":"1.0000000000","nbp_table":"A","prefix":null,"suffix":" zł","updated_at":"2025-05-10T13:04:32+02:00"},{"iso":"EUR","pln_rate":"4.3238000000","nbp_table":"A","prefix":"€","suffix":null,"updated_at":"2025-05-10T13:04:32+02:00"},{"iso":"ARS","pln_rate":"0.0034150000","nbp_table":"B","prefix":"ARS$","suffix":null,"updated_at":"2025-05-10T13:04:32+02:00"}]}}},"components/schemas/paymentBlik0TransactionRequest":{"id":"components/schemas/paymentBlik0TransactionRequest","kind":"json-schema","title":"paymentBlik0TransactionRequest","data":{"type":"object","oneOf":[{"title":"Level 0","description":"Transaction with BLIK Level 0 code only","required":["ticket"],"properties":{"ticket":{"type":"object","nullable":false,"description":"BLIK code object","required":["T6"],"properties":{"T6":{"type":"string","maxLength":6,"minLength":6,"description":"6-digit BLIK code"}}}}},{"title":"OneClick alias registration","description":"Providing BLIK code and alias data","required":["ticket","alias"],"properties":{"ticket":{"type":"object","nullable":false,"description":"BLIK code object","required":["T6"],"properties":{"T6":{"type":"string","maxLength":6,"minLength":6,"description":"6-digit BLIK code"}}},"alias":{"type":"object","required":["value","type","label"],"properties":{"value":{"type":"string","maxLength":64,"minLength":1,"description":"Alias value (e.g., user ID)"},"type":{"type":"string","enum":["UID"],"description":"Alias type"},"label":{"type":"string","maxLength":35,"minLength":1,"description":"Label visible in the payer's banking app"}}}}},{"title":"OneClick payment without code","description":"Authorization with alias only","required":["alias"],"properties":{"alias":{"type":"object","oneOf":[{"title":"Authorization via alias.value, alias.type","required":["value","type","label"],"properties":{"value":{"type":"string","maxLength":64,"minLength":1,"description":"Alias value (e.g., user ID)"},"type":{"type":"string","enum":["UID"],"description":"Alias type"},"label":{"type":"string","maxLength":35,"minLength":1,"description":"Label visible in the payer's banking app"}}},{"title":"Authorization via alias.blik_id","required":["blik_id","label"],"properties":{"blik_id":{"type":"integer","description":"Alias identifier in BLIK (sent in IPN or with HTTP 409 response)"},"label":{"type":"string","maxLength":35,"minLength":1,"description":"Label visible in the payer's banking app"}}},{"title":"Authorization via alias.uuid","required":["uuid","label"],"properties":{"uuid":{"type":"string","description":"Alias identifier in SimPay (sent in IPN)"},"label":{"type":"string","maxLength":35,"minLength":1,"description":"Label visible in the payer's banking app"}}}]}}}]}},"components/schemas/paymentBlikSubscriptionCreateRequest":{"id":"components/schemas/paymentBlikSubscriptionCreateRequest","kind":"json-schema","title":"paymentBlikSubscriptionCreateRequest","data":{"type":"object","required":["transactionId","ticket","alias","options"],"properties":{"transactionId":{"$ref":"#/components/schemas/TransactionId"},"ticket":{"type":"object","nullable":false,"description":"BLIK code object","required":["T6"],"properties":{"T6":{"type":"string","maxLength":6,"minLength":6,"description":"6-digit BLIK code"}},"example":{"T6":"462755"}},"alias":{"type":"object","nullable":false,"description":"BLIK alias information","required":["value","type"],"properties":{"value":{"type":"string","maxLength":64,"minLength":1,"description":"Alias value (e.g., subscription ID)"},"type":{"type":"string","enum":["PAYID"],"description":"Alias type (for subscriptions - PAYID)"},"label":{"type":"string","maxLength":35,"minLength":1,"description":"Label visible in the payer's banking app"}},"example":{"value":"AAABBCC","type":"PAYID","label":"Payment for premium plan in aaa service"}},"options":{"oneOf":[{"type":"object","title":"Model A","description":"Options for model A","properties":{"model":{"type":"string","enum":["A"]},"expiresAt":{"type":"string","format":"datetime","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Alias expiration date, max +10 years"},"children":[],"type":"text"}],"type":"paragraph"}]},"frequency":{"type":"string","minLength":2,"maxLength":4,"description":"Subscription frequency"},"amountLimitPerTransaction":{"type":"number","minimum":1,"maximum":4000,"description":"Transaction amount limit per single transaction"},"initiationDate":{"type":"string","format":"date","description":"Date of the first allowed recurring payment"},"amountLimitTotal":{"type":"number","minimum":1,"description":"Total subscription amount limit"},"transactionsCountLimit":{"type":"number","minimum":1,"description":"Quantity limit of recurring payments under one alias"}},"required":["model","expiresAt","frequency","amountLimitPerTransaction","initiationDate","amountLimitTotal"],"example":{"model":"A","expiresAt":"2030-09-22","frequency":"30D","amountLimitPerTransaction":30,"initiationDate":"2025-09-22","amountLimitTotal":30000}},{"type":"object","title":"Model O","description":"Options for model O","properties":{"model":{"type":"string","enum":["O"]},"initiationDate":{"type":"string","format":"date","description":"Date of the first allowed recurring payment"},"expiresAt":{"type":"string","format":"datetime","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Alias expiration date, max +10 years"},"children":[],"type":"text"}],"type":"paragraph"}]}},"required":["model"],"example":{"model":"O","expiresAt":"2030-09-22","initiationDate":"2025-09-22"}},{"type":"object","title":"Model M","description":"Options for model M","properties":{"model":{"type":"string","enum":["M"]},"frequency":{"type":"string","minLength":2,"maxLength":4,"description":"Subscription frequency"},"expiresAt":{"type":"string","format":"datetime","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Alias expiration date, max +10 years"},"children":[],"type":"text"}],"type":"paragraph"}]},"initiationDate":{"type":"string","format":"date","description":"Date of the first allowed recurring payment"}},"required":["model"],"example":{"model":"M","expiresAt":"2030-09-22","initiationDate":"2025-09-22","frequency":"30D"}}]},"descriptions":{"type":"object","nullable":true,"description":"Additional descriptions passed to the payer's bank","properties":{"line1":{"type":"string","nullable":true,"description":"Line no. 1","maxLength":35},"line2":{"type":"string","nullable":true,"description":"Line no. 2","maxLength":35},"line3":{"type":"string","nullable":true,"description":"Line no. 3","maxLength":35}}}}}},"components/schemas/paymentBlikAliasUnregisterRequest":{"id":"components/schemas/paymentBlikAliasUnregisterRequest","kind":"json-schema","title":"paymentBlikAliasUnregisterRequest","data":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","maxLength":20,"nullable":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Reason for unregistration – will be sent to BLIK and the payer"},"children":[],"type":"text"}],"type":"paragraph"}]}},"oneOf":[{"type":"object","title":"Unregistration by SimPay alias ID","required":["uuid"],"properties":{"uuid":{"$ref":"#/components/schemas/AliasId"}}},{"type":"object","title":"Unregistration by alias value + type","required":["value","type"],"properties":{"value":{"type":"string","maxLength":64,"nullable":false,"description":"Alias value"},"type":{"$ref":"#/components/schemas/blikAliasType"}}}]}},"components/schemas/paymentBlikSubscriptionExecuteAutoPaymentRequest":{"id":"components/schemas/paymentBlikSubscriptionExecuteAutoPaymentRequest","kind":"json-schema","title":"paymentBlikSubscriptionExecuteAutoPaymentRequest","data":{"type":"object","required":["transactionId"],"properties":{"transactionId":{"$ref":"#/components/schemas/TransactionId"},"attempt":{"type":"integer","nullable":true,"description":"Retry number of the Recurring Payment","minimum":0,"maximum":9},"descriptions":{"type":"object","nullable":true,"description":"Additional descriptions passed to the payer's bank","properties":{"line1":{"type":"string","nullable":true,"description":"Line no. 1","maxLength":35},"line2":{"type":"string","nullable":true,"description":"Line no. 2","maxLength":35},"line3":{"type":"string","nullable":true,"description":"Line no. 3","maxLength":35}}},"alias":{"type":"object","nullable":true,"description":"Alias information","properties":{"label":{"type":"string","nullable":true,"maxLength":35,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"New subscription label value visible in the payer’s banking application"},"children":[],"type":"text"}],"type":"paragraph"}]},"noDelay":{"type":"boolean","nullable":true,"description":"noDelay flag (see more in the BLIK Recurring Payments section)"}}}}}},"components/schemas/directbillingTransactionNotification":{"id":"components/schemas/directbillingTransactionNotification","kind":"json-schema","title":"directbillingTransactionNotification","data":{"type":"object","required":["id","serviceId","status","values","number_from","provider","signature"],"properties":{"id":{"$ref":"#/components/schemas/TransactionId"},"serviceId":{"$ref":"#/components/schemas/ServiceId"},"status":{"$ref":"#/components/schemas/directbillingTransactionStatus"},"values":{"type":"object","description":"Transaction amounts","required":["net","gross","partner"],"properties":{"net":{"type":"number","format":"float","description":"Net transaction amount"},"gross":{"type":"number","format":"float","description":"Gross transaction amount"},"partner":{"type":"number","format":"float","description":"Partner's commission from the transaction"}}},"returns":{"type":"object","properties":{"complete":{"type":"string","format":"url","description":"Address to which the customer should be redirected after a successful transaction"},"failure":{"type":"string","format":"url","description":"Address to which the customer should be redirected after an unsuccessful transaction"}}},"control":{"type":"string"},"number_from":{"type":"string","description":"Phone number from which the transaction was made"},"provider":{"type":"integer"},"signature":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Signature of the notification "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"#tag/DirectBilling/Sygnatura/Obliczanie-sygnatury-przy-odbieraniu-notyfikacji"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Read how to generate the signature"},"children":[],"type":"text"}],"type":"link"}],"type":"paragraph"}]}},"example":{"id":"dc261d4f-31ef-4728-bfd6-97bbe2a5ef0a","serviceId":"e14f8074","status":"transaction_db_payed","values":{"net":11.07,"gross":13.61,"partner":5},"returns":{"complete":"https://www.simpay.pl/complete","failure":"https://www.simpay.pl/failure"},"number_from":"48123123123","provider":1,"signature":"a3116cf4f1e960223c2cc3088bf387278b6675255209bdeaf96a2f316a2fadc1"}}},"components/schemas/paymentTransactionNotification":{"id":"components/schemas/paymentTransactionNotification","kind":"json-schema","title":"paymentTransactionNotification","data":{"type":"object"}},"components/schemas/flowGetServicesResponse":{"id":"components/schemas/flowGetServicesResponse","kind":"json-schema","title":"flowGetServicesResponse","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/flowSingleServiceSchema"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}},"components/schemas/flowSingleServiceSchema":{"id":"components/schemas/flowSingleServiceSchema","kind":"json-schema","title":"flowSingleServiceSchema","data":{"type":"object","required":["id","name","url","termsUrl","privacyPolicyUrl","status","contact","role","onboardingResponsibility","commissionMode","createdAt","updatedAt","activatedAt","paymentService"],"properties":{"id":{"type":"string","description":"Service ID","example":"flow_aaaabbbb"},"name":{"type":"string","description":"Service name","example":"RuszajwPolskę"},"url":{"type":"string","description":"Service URL","example":"https://ruszajwpolske.pl"},"termsUrl":{"type":"string","description":"Service terms URL","example":"https://ruszajwpolske.pl"},"privacyPolicyUrl":{"type":"string","description":"Service privacy policy URL","example":"https://ruszajwpolske.pl"},"status":{"$ref":"#/components/schemas/flowServiceStatus"},"contact":{"type":"object","description":"Service owner contact details","required":["email","phone"],"properties":{"email":{"type":"string","description":"Service owner contact email","example":"kontakt@simpay.pl"},"phone":{"type":"string","description":"Service owner contact phone number","example":"+48123123123"}}},"role":{"$ref":"#/components/schemas/flowServiceRole"},"onboardingResponsibility":{"$ref":"#/components/schemas/flowServiceOnbResponsibility"},"commissionMode":{"$ref":"#/components/schemas/flowServiceCommissionMode"},"createdAt":{"$ref":"#/components/schemas/DateTime"},"updatedAt":{"$ref":"#/components/schemas/DateTime"},"activatedAt":{"$ref":"#/components/schemas/DateTime"},"paymentService":{"type":"object","description":"Online Payments service linked to the Flow service","required":["id","name","status","contact","url","terms_url","created_at","service_type","settlement_id"],"properties":{"id":{"$ref":"#/components/schemas/ServiceId"},"name":{"type":"string","description":"Service name"},"status":{"$ref":"#/components/schemas/ServiceStatus"},"contact":{"type":"string","format":"email","description":"Contact email"},"url":{"type":"string","format":"url","description":"Service URL"},"terms_url":{"type":"string","format":"url","description":"Terms URL"},"created_at":{"$ref":"#/components/schemas/DateTime"},"service_type":{"type":"string","description":"Service type"},"settlement_id":{"type":"string","description":"Settlement ID"}},"example":{"id":"252b85c9","name":"Flowowa","status":"service_active","contact":"kontakt@simpay.pl","url":"https://simpay.pl","terms_url":"https://simpay.pl","created_at":"2026-09-02T10:17:15+02:00","service_type":"SIMPAY","settlement_id":"252b85c9"}}}}},"components/schemas/flowServiceStatus":{"id":"components/schemas/flowServiceStatus","kind":"json-schema","title":"flowServiceStatus","data":{"type":"string","description":"Flow service status","enum":["flow_service_pending","flow_service_rejected","flow_service_active","flow_service_suspended"],"example":"flow_service_active"}},"components/schemas/flowServiceRole":{"id":"components/schemas/flowServiceRole","kind":"json-schema","title":"flowServiceRole","data":{"type":"string","description":"Flow service role","enum":["role_non_financial_provider","role_payment_service_provider"],"example":"role_non_financial_provider"}},"components/schemas/flowServiceOnbResponsibility":{"id":"components/schemas/flowServiceOnbResponsibility","kind":"json-schema","title":"flowServiceOnbResponsibility","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Party responsible for submerchant onboarding (for role_non_financial_provider it is always onboarding_simpay)"},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["onboarding_simpay","onboarding_service"],"example":"onboarding_simpay"}},"components/schemas/flowServiceCommissionMode":{"id":"components/schemas/flowServiceCommissionMode","kind":"json-schema","title":"flowServiceCommissionMode","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Commission mode (for role_payment_service_provider only commission_to_service)"},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["markup","simpay_share","submerchant_share","commission_to_service"],"example":"markup"}},"components/schemas/flowGetServiceResponse":{"id":"components/schemas/flowGetServiceResponse","kind":"json-schema","title":"flowGetServiceResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"$ref":"#/components/schemas/flowSingleServiceSchema"}}}},"components/schemas/flowErrorResponse":{"id":"components/schemas/flowErrorResponse","kind":"json-schema","title":"flowErrorResponse","data":{"type":"object","required":["success","errorCode"],"properties":{"success":{"type":"boolean","description":"Request status","default":false},"message":{"type":"string","description":"Error description"},"errorCode":{"type":"string","description":"Error code"}}}},"components/schemas/flowSubmerchantStatus":{"id":"components/schemas/flowSubmerchantStatus","kind":"json-schema","title":"flowSubmerchantStatus","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant status:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"flow_submerchant_pending"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - waiting for onboarding,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"flow_submerchant_in_verification"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - being verified by SimPay,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"flow_submerchant_active"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - active,"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"flow_submerchant_inactive"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - inactive."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"enum":["flow_submerchant_pending","flow_submerchant_in_verification","flow_submerchant_active","flow_submerchant_inactive"],"example":"flow_submerchant_active"}},"components/schemas/flowSubmerchant":{"id":"components/schemas/flowSubmerchant","kind":"json-schema","title":"flowSubmerchant","data":{"type":"object","required":["id","customId","status"],"properties":{"id":{"type":"string","description":"Submerchant ID","example":"flsm_aaaabbbb"},"customId":{"type":"string","description":"Custom submerchant ID assigned by the Flow service","example":"user-123"},"status":{"$ref":"#/components/schemas/flowSubmerchantStatus"}}}},"components/schemas/flowGetSubmerchantsResponse":{"id":"components/schemas/flowGetSubmerchantsResponse","kind":"json-schema","title":"flowGetSubmerchantsResponse","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/flowSubmerchant"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}},"components/schemas/flowGetSubmerchantResponse":{"id":"components/schemas/flowGetSubmerchantResponse","kind":"json-schema","title":"flowGetSubmerchantResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["submerchantId","customId","status"],"properties":{"submerchantId":{"type":"string","description":"Submerchant ID","example":"flsm_aaaabbbb"},"customId":{"type":"string","description":"Custom submerchant ID assigned by the Flow service","example":"user-123"},"status":{"$ref":"#/components/schemas/flowSubmerchantStatus"}}}}}},"components/schemas/flowCreateSubmerchantRequest":{"id":"components/schemas/flowCreateSubmerchantRequest","kind":"json-schema","title":"flowCreateSubmerchantRequest","data":{"type":"object","required":["customId","email"],"properties":{"customId":{"type":"string","maxLength":36,"pattern":"^[a-zA-Z0-9-_]+$","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Custom submerchant ID, unique within the Flow service. Cannot start with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flsm_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"user-123"},"email":{"type":"string","format":"email","maxLength":128,"description":"Submerchant email (unique within the Flow service)","example":"jan.kowalski@example.com"},"name":{"type":"string","maxLength":150,"description":"Submerchant (company) name","example":"Jan Kowalski"},"service":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submerchant Online Payments service details. Required for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"role_payment_service_provider"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"properties":{"name":{"type":"string","maxLength":32,"description":"Service name","example":"Sklep Jana"},"url":{"type":"string","format":"url","maxLength":256,"description":"Service URL","example":"https://example.com"},"termsUrl":{"type":"string","format":"url","maxLength":256,"description":"Terms URL","example":"https://example.com/regulamin"},"mcc":{"type":"string","minLength":4,"maxLength":4,"description":"MCC code","example":"5999"},"contact":{"type":"object","properties":{"email":{"type":"string","format":"email","maxLength":256,"example":"kontakt@example.com"},"phone":{"type":"string","maxLength":32,"example":"+48123123123"},"name":{"type":"string","maxLength":255,"example":"Jan Kowalski"}}}}}}}},"components/schemas/flowOnboardingAction":{"id":"components/schemas/flowOnboardingAction","kind":"json-schema","title":"flowOnboardingAction","data":{"type":"object","required":["action"],"properties":{"action":{"type":"string","description":[{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"redirect_user"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - redirect the user to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"redirectUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (onboarding handled by SimPay),"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"provide_api"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - onboarding performed by the Flow service via the API."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"enum":["redirect_user","provide_api"],"example":"redirect_user"},"redirectUrl":{"type":"string","format":"url","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Onboarding URL (only for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"redirect_user"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"example":"https://panel.simpay.pl/onboarding/flow/..."}}}},"components/schemas/flowCreateSubmerchantResponse":{"id":"components/schemas/flowCreateSubmerchantResponse","kind":"json-schema","title":"flowCreateSubmerchantResponse","data":{"type":"object","required":["success","message","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"message":{"type":"string","example":"Submerchant successfully registered"},"data":{"type":"object","required":["submerchantId","customId","onboarding"],"properties":{"submerchantId":{"type":"string","description":"Submerchant ID","example":"flsm_aaaabbbb"},"customId":{"type":"string","example":"user-123"},"onboarding":{"$ref":"#/components/schemas/flowOnboardingAction"}}}}}},"components/schemas/flowPaymentChannelCategory":{"id":"components/schemas/flowPaymentChannelCategory","kind":"json-schema","title":"flowPaymentChannelCategory","data":{"type":"object","required":["id","image"],"properties":{"id":{"type":"string","description":"Category ID","example":"blik"},"image":{"type":"string","format":"url","description":"Category image URL"}}}},"components/schemas/flowPaymentChannelCommission":{"id":"components/schemas/flowPaymentChannelCommission","kind":"json-schema","title":"flowPaymentChannelCommission","data":{"type":"object","description":"Channel commission","properties":{"simpay":{"type":"object","description":"SimPay commission","properties":{"percentage":{"type":"number","nullable":true,"example":1.5},"minimal":{"type":"number","nullable":true,"example":0.3},"fixed":{"type":"number","nullable":true,"example":0}}},"flow":{"type":"object","description":"Flow service commission","properties":{"maxPercentage":{"type":"number","nullable":true,"description":"Maximum Flow service percentage commission","example":2},"maxFixed":{"type":"number","nullable":true,"description":"Maximum Flow service fixed commission","example":1},"percentage":{"type":"number","nullable":true,"description":"Flow service percentage commission","example":0.5},"fixed":{"type":"number","nullable":true,"description":"Flow service fixed commission","example":0}}}}}},"components/schemas/flowGetSubmerchantPaymentChannelsResponse":{"id":"components/schemas/flowGetSubmerchantPaymentChannelsResponse","kind":"json-schema","title":"flowGetSubmerchantPaymentChannelsResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["submerchantSettlementId","channels"],"properties":{"submerchantSettlementId":{"type":"string","description":"Settlement ID of the submerchant Online Payments service","example":"252b85c9345w78z"},"channels":{"type":"array","items":{"type":"object","required":["id","image","name","category","currencies","commission","type","status","enabled","extra"],"properties":{"id":{"type":"string","description":"Payment channel ID","example":"blik-level0"},"image":{"type":"string","format":"url","description":"Channel image URL"},"name":{"type":"string","description":"Channel name","example":"BLIK Level 0"},"category":{"$ref":"#/components/schemas/flowPaymentChannelCategory"},"currencies":{"type":"array","items":{"type":"string"},"example":["PLN"]},"commission":{"$ref":"#/components/schemas/flowPaymentChannelCommission"},"type":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"redirect"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - payment on the SimPay gateway, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whitelabel"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - payment directly on the service side"},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["redirect","whitelabel"]},"status":{"type":"string","description":"Channel status","enum":["new","in_progress","active","rejected"],"example":"active"},"enabled":{"type":"boolean","description":"Whether the channel is enabled"},"extra":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Additional channel data (empty object for most channels):"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"blik-level0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"blikOneClick"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"blik-recurrent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"blikRecurrent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"paypal"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"paypalCheckoutEmail"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"properties":{"blikOneClick":{"type":"object","properties":{"registered":{"type":"boolean","description":"Whether OneClick registration has been started"},"status":{"type":"object","properties":{"id":{"type":"string","nullable":true,"enum":["PENDING_REGISTRATION","REGISTERED_WAITING_ACTIVATION","ACTIVE","REJECTED"]},"name":{"type":"string","nullable":true}}}}},"blikRecurrent":{"type":"object","properties":{"models":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"BLIK recurring payment models (keys "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"A"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"O"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"M"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"},"name":{"type":"string","enum":["AUTO","OPEN","MANUAL"]}}}}}},"paypalCheckoutEmail":{"type":"string","nullable":true,"format":"email"}}}}}}}}},"example":{"success":true,"data":{"submerchantSettlementId":"252b85c9345w78z","channels":[{"id":"blik","image":"https://img.simpay.pl/transfer/banks/blik.png","name":"BLIK","category":{"id":"blik","image":"https://img.simpay.pl/transfer/banks/blik.png"},"currencies":["PLN"],"commission":{"simpay":{"percentage":1.2,"minimal":0.3,"fixed":0},"flow":{"maxPercentage":2,"maxFixed":1,"percentage":0.5,"fixed":0}},"type":"redirect","status":"active","enabled":true,"extra":{}},{"id":"blik-level0","image":"https://img.simpay.pl/transfer/banks/blik.png","name":"BLIK Level 0","category":{"id":"blik","image":"https://img.simpay.pl/transfer/banks/blik.png"},"currencies":["PLN"],"commission":{"simpay":{"percentage":1.2,"minimal":0.3,"fixed":0},"flow":{"maxPercentage":2,"maxFixed":1,"percentage":0.5,"fixed":0}},"type":"whitelabel","status":"active","enabled":true,"extra":{"blikOneClick":{"registered":true,"status":{"id":"ACTIVE","name":"Aktywny"}}}},{"id":"paypal","image":"https://img.simpay.pl/transfer/paypal/paypal.png","name":"PayPal","category":{"id":"paypal","image":"https://img.simpay.pl/transfer/paypal/paypal.png"},"currencies":["PLN","EUR","USD"],"commission":{"simpay":{"percentage":2.9,"minimal":0.5,"fixed":0},"flow":{"maxPercentage":3,"maxFixed":1,"percentage":0.5,"fixed":0}},"type":"redirect","status":"active","enabled":false,"extra":{"paypalCheckoutEmail":"paypal@example.com"}},{"id":"blik-recurrent","image":"https://img.simpay.pl/transfer/banks/blik.png","name":"BLIK Płatności Powtarzalne","category":{"id":"blik","image":"https://img.simpay.pl/transfer/banks/blik.png"},"currencies":["PLN"],"commission":{"simpay":{"percentage":1.5,"minimal":0.3,"fixed":0},"flow":{"maxPercentage":2,"maxFixed":1,"percentage":0.5,"fixed":0}},"type":"whitelabel","status":"active","enabled":true,"extra":{"blikRecurrent":{"models":{"A":{"enabled":true,"name":"AUTO"},"O":{"enabled":false,"name":"OPEN"},"M":{"enabled":false,"name":"MANUAL"}}}}}]}}}},"components/schemas/flowGetSubmerchantAvailablePaymentChannelsResponse":{"id":"components/schemas/flowGetSubmerchantAvailablePaymentChannelsResponse","kind":"json-schema","title":"flowGetSubmerchantAvailablePaymentChannelsResponse","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["submerchantSettlementId","availableForRegistration"],"properties":{"submerchantSettlementId":{"type":"string","description":"Settlement ID of the submerchant Online Payments service","example":"252b85c9345w78z"},"availableForRegistration":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Payment channel ID","example":"paypo"},"image":{"type":"string","format":"url"},"name":{"type":"string","example":"PayPo"},"category":{"$ref":"#/components/schemas/flowPaymentChannelCategory"},"currencies":{"type":"array","items":{"type":"string"},"example":["PLN"]},"type":{"type":"string","enum":["redirect","whitelabel"]},"needs_verification":{"type":"boolean","description":"Whether the channel requires verification by SimPay"},"description":{"type":"string","nullable":true,"description":"Channel description"},"requires_company":{"type":"boolean","description":"Whether the channel requires a registered business"}}}}}}},"example":{"success":true,"data":{"submerchantSettlementId":"252b85c9345w78z","availableForRegistration":[{"id":"paypo","image":"https://cdn.simpay.pl/payment_providers/postponed/paypo.png","name":"PayPo","category":{"id":"postponed","image":"https://cdn.simpay.pl/payment_providers/postponed/postponed.png"},"currencies":["PLN"],"type":"redirect","needs_verification":true,"description":"Kup teraz, zapłać za 30 dni","requires_company":true}]}}}},"components/schemas/flowWebhookSettings":{"id":"components/schemas/flowWebhookSettings","kind":"json-schema","title":"flowWebhookSettings","data":{"type":"object","required":["customWebhook","customUrl","hasCustomKey"],"properties":{"customWebhook":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Whether a custom webhook URL is set (false = the Flow service URL is used)"},"children":[],"type":"text"}],"type":"paragraph"}]},"customUrl":{"type":"string","format":"url","nullable":true,"description":"Custom webhook URL","example":"https://example.com/ipn"},"hasCustomKey":{"type":"boolean","description":"Whether a custom webhook key is set"}}}},"components/schemas/flowWebhookUpdate":{"id":"components/schemas/flowWebhookUpdate","kind":"json-schema","title":"flowWebhookUpdate","data":{"type":"object","properties":{"customUrl":{"type":"string","format":"url","maxLength":255,"description":"Custom webhook URL","example":"https://example.com/ipn"},"useDefault":{"type":"boolean","description":"Restore the default URL (removes the custom URL and key)","example":true}}}},"components/schemas/flowWithdrawType":{"id":"components/schemas/flowWithdrawType","kind":"json-schema","title":"flowWithdrawType","data":{"type":"string","description":"Withdrawal type","enum":["manual","workdays","balance_greater_than","custom_days"],"example":"workdays"}},"components/schemas/flowWallet":{"id":"components/schemas/flowWallet","kind":"json-schema","title":"flowWallet","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Wallet ID","example":"0199a5f0-2b8c-7c1e-9e3a-1f2b3c4d5e6f"},"type":{"type":"object","properties":{"id":{"type":"string","enum":["mobile","payment","referral","flow"],"example":"payment"},"name":{"type":"string","example":"Płatności online"}}},"balance":{"type":"number","description":"Wallet balance","example":123.45},"currency":{"type":"object","properties":{"isoCode":{"type":"string","example":"PLN"},"prefix":{"type":"string","nullable":true,"example":null},"suffix":{"type":"string","nullable":true,"example":"zł"},"currencyRateToPln":{"type":"number","example":1},"nbpTable":{"type":"string","nullable":true,"example":"A"}}},"withdrawType":{"$ref":"#/components/schemas/flowWithdrawType"},"withdrawBalanceToAutoPayout":{"type":"number","nullable":true,"description":"Balance above which an automatic withdrawal is made","example":100},"minBalanceToWithdraw":{"type":"number","nullable":true,"description":"Minimum balance to withdraw","example":10},"customDaysToWithdraw":{"type":"array","nullable":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Withdrawal weekdays (1 = Monday, 5 = Friday)"},"children":[],"type":"text"}],"type":"paragraph"}],"items":{"type":"integer"},"example":[1,5]},"invoiceLocale":{"type":"string","enum":["pl","en"],"description":"Invoice language"},"createdAt":{"$ref":"#/components/schemas/DateTime"},"updatedAt":{"$ref":"#/components/schemas/DateTime"},"withdrawBalanceLeftBalance":{"type":"number","nullable":true,"description":"Amount left in the wallet on automatic withdrawal","example":10}}}},"components/schemas/flowUpdateWalletRequest":{"id":"components/schemas/flowUpdateWalletRequest","kind":"json-schema","title":"flowUpdateWalletRequest","data":{"type":"object","properties":{"invoiceLocale":{"type":"string","description":"Invoice language","enum":["pl","en"]},"withdraw":{"type":"object","description":"Withdrawal settings (overwrite the existing ones)","required":["type"],"properties":{"type":{"$ref":"#/components/schemas/flowWithdrawType"},"leftBalance":{"type":"number","minimum":0,"maximum":999999.99,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Amount left in the wallet on withdrawal. Not allowed for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"manual"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":10},"balanceToAutoPayout":{"type":"number","minimum":10,"maximum":999999.99,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Balance above which a withdrawal is made. Required for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"balance_greater_than"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"custom_days"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":100},"customDays":{"type":"array","maxItems":5,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Withdrawal weekdays (1 = Monday ... 5 = Friday). Required and allowed only for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"custom_days"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"items":{"type":"integer","enum":[1,2,3,4,5]},"example":[1,5]}}}}}},"components/schemas/flowWalletTransactionAction":{"id":"components/schemas/flowWalletTransactionAction","kind":"json-schema","title":"flowWalletTransactionAction","data":{"type":"string","description":"Operation kind","enum":["service","commission","fraud","withdraw","refund","bank_fee"],"example":"service"}},"components/schemas/flowWalletTransaction":{"id":"components/schemas/flowWalletTransaction","kind":"json-schema","title":"flowWalletTransaction","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Operation ID"},"action":{"$ref":"#/components/schemas/flowWalletTransactionAction"},"type":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"deposit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - top-up, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"withdraw"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - funds debited"},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["deposit","withdraw"]},"amount":{"type":"number","example":10},"amountBefore":{"type":"number","nullable":true,"description":"Balance before the operation (null if the operation has not been settled to the wallet yet)","example":0},"amountAfter":{"type":"number","nullable":true,"description":"Balance after the operation","example":10},"context":{"type":"object","properties":{"transaction":{"type":"object","nullable":true,"description":"Related payment transaction","properties":{"id":{"$ref":"#/components/schemas/TransactionId"},"friendlyId":{"type":"string","description":"Transaction ID shown to the buyer"},"description":{"type":"string","nullable":true},"control":{"type":"string","nullable":true}}},"withdraw":{"type":"object","nullable":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Related withdrawal (for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"withdraw"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"bank_fee"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"properties":{"id":{"type":"string","format":"uuid"},"shortId":{"type":"string"}}},"refund":{"type":"object","nullable":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Related refund (for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"refund"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"properties":{"id":{"$ref":"#/components/schemas/RefundId"},"friendlyId":{"type":"string"}}}}},"createdAt":{"$ref":"#/components/schemas/DateTime"}}}},"components/schemas/flowGetWalletTransactionsResponse":{"id":"components/schemas/flowGetWalletTransactionsResponse","kind":"json-schema","title":"flowGetWalletTransactionsResponse","data":{"type":"object","required":["success","data","cursor"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","properties":{"transactions":{"type":"array","items":{"$ref":"#/components/schemas/flowWalletTransaction"}},"wallet":{"$ref":"#/components/schemas/flowWallet"}}},"cursor":{"$ref":"#/components/schemas/CursorPagination"}}}},"components/schemas/CursorPagination":{"id":"components/schemas/CursorPagination","kind":"json-schema","title":"CursorPagination","data":{"type":"object","properties":{"path":{"type":"string","format":"url","description":"Resource URL"},"perPage":{"type":"integer","example":15},"next":{"type":"object","properties":{"cursor":{"type":"string","nullable":true,"description":"Next page cursor"},"url":{"type":"string","format":"url","nullable":true,"description":"Next page URL"}}},"previous":{"type":"object","properties":{"cursor":{"type":"string","nullable":true,"description":"Previous page cursor"},"url":{"type":"string","format":"url","nullable":true,"description":"Previous page URL"}}},"queryField":{"type":"string","description":"Name of the query parameter in which the cursor should be passed","example":"cursor"}}}},"components/schemas/flowWithdrawStatus":{"id":"components/schemas/flowWithdrawStatus","kind":"json-schema","title":"flowWithdrawStatus","data":{"type":"string","description":"Withdrawal status","enum":["new","accepted","rejected","waiting","done"],"example":"done"}},"components/schemas/flowWithdraw":{"id":"components/schemas/flowWithdraw","kind":"json-schema","title":"flowWithdraw","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Withdrawal ID"},"shortId":{"type":"string","description":"Withdrawal short ID","example":"1f2b3c4d"},"status":{"$ref":"#/components/schemas/flowWithdrawStatus"},"amount":{"type":"number","example":100},"fee":{"type":"number","description":"Withdrawal fee","example":0},"createdBy":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"system"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - automatic withdrawal, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"client"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - manual withdrawal"},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["system","client"]},"createdAt":{"$ref":"#/components/schemas/DateTime"},"updatedAt":{"$ref":"#/components/schemas/DateTime"},"bankAccount":{"type":"object","properties":{"isDefault":{"type":"boolean"},"iban":{"type":"string","example":"PL61109010140000071219812874"},"bic":{"type":"string","nullable":true},"status":{"type":"string"},"name":{"type":"string","nullable":true},"createdAt":{"$ref":"#/components/schemas/DateTime"},"bank":{"type":"object","nullable":true,"properties":{"id":{"type":"string","description":"Bank sort code (KIR)"},"name":{"type":"string"}}}}}}}},"components/schemas/flowWalletInvoice":{"id":"components/schemas/flowWalletInvoice","kind":"json-schema","title":"flowWalletInvoice","data":{"type":"object","properties":{"period":{"type":"string","description":"Settlement period (MM/YYYY)","example":"09/2026"},"year":{"type":"integer","example":2026},"month":{"type":"integer","example":9},"totalTransactions":{"type":"number","description":"Total transactions in the period"},"totalCommission":{"type":"number","description":"Total commission in the period"},"invoiceUrl":{"type":"string","format":"url","nullable":true,"description":"Invoice URL"},"currencyRate":{"type":"number","nullable":true,"description":"Currency rate"},"createdAt":{"$ref":"#/components/schemas/DateTime"},"wallet":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"object","properties":{"id":{"type":"string","example":"payment"},"name":{"type":"string"}}},"currencyCode":{"type":"string","example":"PLN"}}}}}},"schema_0":{"kind":"json-schema","data":{"$ref":"#/components/schemas/ServiceId"},"id":"schema_0"},"schema_1":{"kind":"json-schema","data":{"oneOf":[{"$ref":"#/components/schemas/smsCodeWithNumber"},{"$ref":"#/components/schemas/smsCodeWithoutNumber"}]},"id":"schema_1"},"schema_2":{"kind":"json-schema","data":{"oneOf":[{"$ref":"#/components/schemas/smsServiceCheckCodeUsed"},{"$ref":"#/components/schemas/smsServiceCheckCodeNotUsed"}]},"id":"schema_2"},"schema_3":{"kind":"json-schema","data":{"type":"integer"},"id":"schema_3"},"schema_4":{"kind":"json-schema","data":{"type":"number","format":"float"},"id":"schema_4"},"schema_5":{"kind":"json-schema","data":{"$ref":"#/components/schemas/directbillingTransactionStatus"},"id":"schema_5"},"schema_6":{"kind":"json-schema","data":{"type":"string","description":"Phone number from which the transaction was made","example":"48123123123"},"id":"schema_6"},"schema_7":{"kind":"json-schema","data":{"type":"string","description":"Control field from the partner's system"},"id":"schema_7"},"schema_8":{"kind":"json-schema","data":{"oneOf":[{"$ref":"#/components/schemas/directbillingTransactionCreateAll"},{"$ref":"#/components/schemas/directbillingTransactionCreateOnlyNecessary"}]},"id":"schema_8"},"schema_9":{"kind":"json-schema","data":{"$ref":"#/components/schemas/TransactionId"},"id":"schema_9"},"schema_10":{"kind":"json-schema","data":{"type":"string","default":"OK"},"id":"schema_10"},"schema_11":{"kind":"json-schema","data":{"type":"string","maxLength":36,"example":"flsm_aaaabbbb"},"id":"schema_11"},"schema_12":{"kind":"json-schema","data":{"type":"object","required":["success","message"],"properties":{"success":{"type":"boolean","description":"Request status"},"errorCode":{"type":"string","description":"Error status code"},"message":{"type":"string","description":"Error message"}},"example":{"success":false,"message":"The wallet balance is smaller than the transaction amount."}},"id":"schema_12"},"schema_13":{"kind":"json-schema","data":{"type":"object","required":["success","message"],"properties":{"success":{"type":"boolean","description":"Request status"},"errorCode":{"type":"string","description":"Error status code"},"message":{"type":"string","description":"Error message"}},"example":{"success":false,"errorCode":"TRANSACTION_NOT_PAID","message":"Transaction is not paid."}},"id":"schema_13"},"schema_14":{"kind":"json-schema","data":{"$ref":"#/components/schemas/RefundId"},"id":"schema_14"},"schema_15":{"kind":"json-schema","data":{"type":"object","required":["success","errorCode","message"],"properties":{"success":{"type":"boolean","description":"Request status"},"errorCode":{"type":"string","description":"Error status code"},"message":{"type":"string","description":"Error message"}},"example":{"success":false,"errorCode":"INVALID_BLIK_CODE","message":"Invalid BLIK code."}},"id":"schema_15"},"schema_16":{"kind":"json-schema","data":{"type":"object","required":["success","errorCode","message","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"errorCode":{"type":"string","description":"Error status code"},"message":{"type":"string","description":"Error message"},"data":{"type":"object","required":["alternatives"],"properties":{"alternatives":{"type":"array","items":{"type":"object","required":["value","type","label","blik_id"],"properties":{"value":{"type":"string","description":"Alias value"},"type":{"type":"string","description":"Alias type"},"label":{"type":"string","description":"Alias label"},"blik_id":{"type":"integer","description":"Alias identifier in the BLIK system"}}}}}}},"example":{"success":false,"message":"Alias is not unique. Select interested alias by providing alias.blik_id alongside with alias.value and alias.type.","data":{"alternatives":[{"value":"SIMSIM","type":"UID","label":"TEST APP 222","blik_id":953824},{"value":"SIMSIM","type":"UID","label":"TEST APP 111","blik_id":953793}]},"errorCode":"ALIAS_NOT_UNIQUE"}},"id":"schema_16"},"schema_17":{"kind":"json-schema","data":{"type":"object","required":["success","errorCode","message","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"errorCode":{"type":"string","description":"Error status code"},"message":{"type":"string","description":"Error message"},"data":{"type":"object","properties":{"retryAfter":{"type":"integer","description":"Next attempt available in seconds (for this payer)"}}}},"example":{"success":false,"errorCode":"TOO_MANY_FAILED_ATTEMPTS","message":"Too many failed attempts with providing BLIK ticket for this user.","data":{"retryAfter":17}}},"id":"schema_17"},"schema_18":{"kind":"json-schema","data":{"$ref":"#/components/schemas/subscriptionStatus"},"id":"schema_18"},"schema_19":{"kind":"json-schema","data":{"$ref":"#/components/schemas/subscriptionMode"},"id":"schema_19"},"schema_20":{"kind":"json-schema","data":{"$ref":"#/components/schemas/SubscriptionId"},"id":"schema_20"},"schema_21":{"kind":"json-schema","data":{"type":"integer","minimum":1,"default":1},"id":"schema_21"},"schema_22":{"kind":"json-schema","data":{"type":"integer","minimum":1,"maximum":50,"default":20},"id":"schema_22"},"schema_23":{"kind":"json-schema","data":{"type":"string","enum":["-created_at","created_at"]},"id":"schema_23"},"schema_24":{"kind":"json-schema","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["subscriptionId","aliasId"],"properties":{"subscriptionId":{"$ref":"#/components/schemas/SubscriptionId"},"aliasId":{"$ref":"#/components/schemas/AliasId"}},"example":{"subscriptionId":"019970c6-3d3e-708c-9313-5f89e251e2c0","aliasId":"019970c6-3ce8-71e7-8214-20fd635532fb"}}},"example":{"success":true,"data":{"subscriptionId":"019970c6-3d3e-708c-9313-5f89e251e2c0","aliasId":"019970c6-3ce8-71e7-8214-20fd635532fb"}}},"id":"schema_24"},"schema_25":{"kind":"json-schema","data":{"type":"object","required":["success","errorCode","message"],"properties":{"success":{"type":"boolean","description":"Request status"},"errorCode":{"type":"string","description":"Error code"},"message":{"type":"string","description":"Error message"}},"example":{"success":false,"errorCode":"INVALID_BLIK_CODE","message":"Invalid BLIK code."}},"id":"schema_25"},"schema_26":{"kind":"json-schema","data":{"type":"object","required":["success","errorCode","message"],"properties":{"success":{"type":"boolean","description":"Request status"},"errorCode":{"type":"string","description":"Error code"},"message":{"type":"string","description":"Error message"}},"example":{"success":false,"errorCode":"ALIAS_ALREADY_EXISTS","message":"Selected alias value has already been used in our system. You must provide a unique alias value, for example, the subscription ID."}},"id":"schema_26"},"schema_27":{"kind":"json-schema","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["needsUserConfirmation"],"properties":{"needsUserConfirmation":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If false – the transaction was immediately forwarded to BLIK. If true – the antifraud system detected risk and the transaction is awaiting manual confirmation by the payer"},"children":[],"type":"text"}],"type":"paragraph"}]}},"example":{"needsUserConfirmation":false}}},"example":{"success":true,"data":{"needsUserConfirmation":false}}},"id":"schema_27"},"schema_28":{"kind":"json-schema","data":{"$ref":"#/components/schemas/blikAliasStatus"},"id":"schema_28"},"schema_29":{"kind":"json-schema","data":{"$ref":"#/components/schemas/blikAliasType"},"id":"schema_29"},"schema_30":{"kind":"json-schema","data":{"$ref":"#/components/schemas/AliasId"},"id":"schema_30"},"schema_31":{"kind":"json-schema","data":{"type":"string","description":"BLIK alias value","maxLength":64,"example":"AABBCC"},"id":"schema_31"},"schema_32":{"kind":"json-schema","data":{"type":"integer","description":"Alias identifier in the BLIK system","example":"123456"},"id":"schema_32"},"schema_33":{"kind":"json-schema","data":{"type":"string","pattern":"^flow_[0-9a-z]{1,8}$","example":"flow_aaaabbbb"},"id":"schema_33"},"schema_34":{"kind":"json-schema","data":{"type":"string","example":"flsm_aaaabbbb"},"id":"schema_34"},"schema_35":{"kind":"json-schema","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"$ref":"#/components/schemas/flowOnboardingAction"}}},"id":"schema_35"},"schema_36":{"kind":"json-schema","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"url","description":"Widget URL (valid for 5 minutes)","example":"https://panel.simpay.pl/widget/flow/init/flow_aaaabbbb/flsm_aaaabbbb?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."}}}}},"id":"schema_36"},"schema_37":{"kind":"json-schema","data":{"type":"object","required":["channels"],"properties":{"channels":{"type":"array","items":{"type":"object","required":["slug","enabled"],"properties":{"slug":{"type":"string","maxLength":64,"description":"Payment channel ID","example":"blik"},"enabled":{"type":"boolean","description":"Whether the channel should be enabled","example":true}}}}}},"id":"schema_37"},"schema_38":{"kind":"json-schema","data":{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Payment channel ID (from the list of channels available for registration) or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"blik-level0-oneclick"},"children":[],"type":"code"}],"type":"paragraph"}],"example":"paypal"}}},"id":"schema_38"},"schema_39":{"kind":"json-schema","data":{"type":"object","required":["success","message"],"properties":{"success":{"type":"boolean","description":"Request status"},"message":{"type":"string","enum":["Channel activated","Channel sent for verification"]}}},"id":"schema_39"},"schema_40":{"kind":"json-schema","data":{"type":"object","properties":{"email":{"type":"string","format":"email","nullable":true,"maxLength":64,"description":"PayPal account email (null removes the email)","example":"paypal@simpay.pl"}}},"id":"schema_40"},"schema_41":{"kind":"json-schema","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["flowWebhooks","paymentWebhooks"],"properties":{"flowWebhooks":{"$ref":"#/components/schemas/flowWebhookSettings"},"paymentWebhooks":{"$ref":"#/components/schemas/flowWebhookSettings"}}}}},"id":"schema_41"},"schema_42":{"kind":"json-schema","data":{"type":"object","properties":{"flow":{"$ref":"#/components/schemas/flowWebhookUpdate"},"payment":{"$ref":"#/components/schemas/flowWebhookUpdate"}}},"id":"schema_42"},"schema_43":{"kind":"json-schema","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["paymentNewIpnKey","flowNewIpnKey"],"properties":{"paymentNewIpnKey":{"type":"string","nullable":true,"description":"New payment webhook key (only when it has been generated)","example":"aVeryLongAndSecureKeyFor32Chars0"},"flowNewIpnKey":{"type":"string","nullable":true,"description":"New Flow webhook key (only when it has been generated)","example":null}}}}},"id":"schema_43"},"schema_44":{"kind":"json-schema","data":{"type":"object","required":["type"],"properties":{"type":{"type":"string","description":"Webhook type","enum":["flow","payment"],"example":"payment"}}},"id":"schema_44"},"schema_45":{"kind":"json-schema","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["webhookKey"],"properties":{"webhookKey":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"New webhook key (32 characters for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"payment"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", 64 characters for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"flow"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"paragraph"}],"example":"aVeryLongAndSecureKeyFor32Chars0"}}}}},"id":"schema_45"},"schema_46":{"kind":"json-schema","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"object","required":["wallets"],"properties":{"wallets":{"type":"array","items":{"$ref":"#/components/schemas/flowWallet"}}}}}},"id":"schema_46"},"schema_47":{"kind":"json-schema","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/flowWalletInvoice"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"id":"schema_47"},"schema_48":{"kind":"json-schema","data":{"type":"string","format":"uuid","example":"0199a5f0-2b8c-7c1e-9e3a-1f2b3c4d5e6f"},"id":"schema_48"},"schema_49":{"kind":"json-schema","data":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"$ref":"#/components/schemas/flowWallet"}}},"id":"schema_49"},"schema_50":{"kind":"json-schema","data":{"$ref":"#/components/schemas/flowWalletTransactionAction"},"id":"schema_50"},"schema_51":{"kind":"json-schema","data":{"type":"string"},"id":"schema_51"},"schema_52":{"kind":"json-schema","data":{"type":"integer","minimum":1,"maximum":50,"default":15},"id":"schema_52"},"schema_53":{"kind":"json-schema","data":{"type":"string","enum":["-created_at","created_at"],"default":"-created_at"},"id":"schema_53"},"schema_54":{"kind":"json-schema","data":{"type":"object","properties":{"date":{"type":"object","description":"Date range","required":["from","to"],"properties":{"from":{"type":"string","format":"date","example":"2026-09-01"},"to":{"type":"string","format":"date","example":"2026-09-30"}}},"withdraw":{"type":"object","description":"Withdrawal for which the report is generated","properties":{"id":{"type":"string","format":"uuid","description":"Withdrawal ID","example":"0199a5f0-2b8c-7c1e-9e3a-1f2b3c4d5e6f"},"shortId":{"type":"string","minLength":8,"maxLength":8,"description":"Withdrawal short ID","example":"1f2b3c4d"}}}}},"id":"schema_54"},"schema_55":{"kind":"json-schema","data":{"type":"string","format":"uuid","description":"Withdrawal ID"},"id":"schema_55"},"schema_56":{"kind":"json-schema","data":{"type":"string","minLength":8,"maxLength":8,"description":"Withdrawal short ID"},"id":"schema_56"},"schema_57":{"kind":"json-schema","data":{"$ref":"#/components/schemas/flowWithdrawStatus"},"id":"schema_57"},"schema_58":{"kind":"json-schema","data":{"type":"integer","minimum":1,"maximum":30,"default":15},"id":"schema_58"},"schema_59":{"kind":"json-schema","data":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","description":"Request status"},"data":{"type":"array","items":{"$ref":"#/components/schemas/flowWithdraw"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"id":"schema_59"},"schema_60":{"kind":"json-schema","data":{"type":"object","required":["kind","content"],"properties":{"kind":{"type":"string","enum":["bug","feature_request","confusing_result"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Report type: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"bug"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the endpoint failed or contradicts the documentation, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"feature_request"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - a needed capability is missing, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"confusing_result"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - the response was ambiguous or misleading."},"children":[],"type":"text"}],"type":"paragraph"}]},"content":{"type":"string","maxLength":4000,"description":"What happened: the expected behavior, the actual result and whether a retry helped. No secrets or personal data."},"endpoint":{"type":"string","maxLength":255,"description":"Method and path of the endpoint the report concerns","example":"POST /payment/{serviceId}/transactions"},"correlation_id":{"type":"string","maxLength":64,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Value of the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"X-Correlation-ID"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header from the response the report concerns"},"children":[],"type":"text"}],"type":"paragraph"}]}},"example":{"kind":"confusing_result","content":"GET /payment/{serviceId}/transactions returned an empty list without saying whether filters matched nothing.","endpoint":"GET /payment/{serviceId}/transactions","correlation_id":"478a94266b77f07125c935c97534b6d2"}},"id":"schema_60"},"schema_61":{"kind":"json-schema","data":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"id":{"type":"integer"}}}}},"id":"schema_61"}},"exampleStore":{"paths/directbillingTransactionNotification/post/responses/200/content/text~1plain/examples/test_request":{"value":"OK","key":"test_request","summary":"test_request","id":"paths/directbillingTransactionNotification/post/responses/200/content/text~1plain/examples/test_request"},"paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/level0":{"value":{"ticket":{"T6":"462755"}},"key":"level0","summary":"BLIK Level 0 payment","id":"paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/level0"},"paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickRegistration":{"value":{"ticket":{"T6":"462755"},"alias":{"value":"SIMSIM","type":"UID","label":"ko...kt@si...ay.pl"}},"key":"oneClickRegistration","summary":"BLIK Level 0 OneClick alias registration","id":"paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickRegistration"},"paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentValueType":{"value":{"alias":{"value":"SIMSIM","type":"UID","label":"ko...kt@si...ay.pl"}},"key":"oneClickPaymentValueType","summary":"Authorization via BLIK Level 0 OneClick alias (alias value, type)","id":"paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentValueType"},"paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentBlikId":{"value":{"alias":{"blik_id":953824,"label":"ko...kt@si...ay.pl"}},"key":"oneClickPaymentBlikId","summary":"Authorization via BLIK Level 0 OneClick alias (alias blik_id)","id":"paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentBlikId"},"paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentUuid":{"value":{"alias":{"uuid":"01985292-9615-732f-9c5d-ffd9d0337b5f","label":"ko...kt@si...ay.pl"}},"key":"oneClickPaymentUuid","summary":"Authorization via BLIK Level 0 OneClick alias (alias uuid)","id":"paths/~1payment~1{serviceId}~1blik~1level0~1{transactionId}/post/requestBody/content/application~1json/examples/oneClickPaymentUuid"},"paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelA":{"value":{"transactionId":"bda2d37c-e64d-4855-af7c-91aac91a0d6a","ticket":{"T6":"462755"},"alias":{"value":"AABBCC","type":"PAYID","label":"Payment for premium plan in aaa service"},"options":{"model":"A","expiresAt":"2030-09-22","frequency":"30D","amountLimitPerTransaction":30,"initiationDate":"2025-09-22","amountLimitTotal":30000}},"key":"modelA","summary":"Model A","id":"paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelA"},"paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelO":{"value":{"transactionId":"bda2d37c-e64d-4855-af7c-91aac91a0d6a","ticket":{"T6":"462755"},"alias":{"value":"AABBCC","type":"PAYID","label":"Payment for premium plan in aaa service"},"options":{"model":"O","expiresAt":"2030-09-22","initiationDate":"2025-09-22"}},"key":"modelO","summary":"Model O","id":"paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelO"},"paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelM":{"value":{"transactionId":"bda2d37c-e64d-4855-af7c-91aac91a0d6a","ticket":{"T6":"462755"},"alias":{"value":"AABBCC","type":"PAYID","label":"Payment for premium plan in aaa service"},"options":{"model":"M","expiresAt":"2030-09-22","initiationDate":"2025-09-22","frequency":"30D"}},"key":"modelM","summary":"Model M","id":"paths/~1payment~1{serviceId}~1blik~1subscriptions/post/requestBody/content/application~1json/examples/modelM"},"paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/requestBody/content/application~1json/example":{"value":{"transactionId":"9475bfd4-0935-4945-8621-2ec22e561ac9","descriptions":{"line1":"Music subscription for September"},"alias":{"label":"Payment for Gold plan","noDelay":true}},"id":"paths/~1payment~1{serviceId}~1blik~1subscriptions~1{subscriptionId}~1autopayment/post/requestBody/content/application~1json/example"},"paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/simpayId":{"value":{"uuid":"0198a54d-05d9-7177-9ac6-5d9831bc988d","reason":"Plan cancellation"},"key":"simpayId","summary":"Unregistration by SimPay alias ID","id":"paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/simpayId"},"paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/aliasValueAndType":{"value":{"value":"AABBCC","type":"PAYID","reason":"Plan cancellation"},"key":"aliasValueAndType","summary":"Unregistration by alias value + type","id":"paths/~1payment~1{serviceId}~1blik~1aliases/delete/requestBody/content/application~1json/examples/aliasValueAndType"},"paths/paymentTransactionNotification/post/responses/200/content/text~1plain/examples/test_request":{"value":"OK","key":"test_request","summary":"test_request","id":"paths/paymentTransactionNotification/post/responses/200/content/text~1plain/examples/test_request"},"paths/~1flow~1{flowServiceId}~1submerchants/post/responses/403/content/application~1json/example":{"value":{"success":false,"message":"Flow service is not active yet.","errorCode":"FLOW_SERVICE_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants/post/responses/403/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}/get/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}/get/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/400/content/application~1json/example":{"value":{"success":false,"message":"Submerchant is already active","errorCode":"SUBMERCHANT_ALREADY_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/400/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1onboardings/post/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1widgets/post/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1widgets/post/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/400/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant does not have an active payment service. Contact SimPay","errorCode":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/400/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/403/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant is not active yet. You cannot perform actions related to this submerchant unless it is active.","errorCode":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/403/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/get/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/400/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant does not have an active payment service. Contact SimPay","errorCode":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/400/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/403/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant is not active yet. You cannot perform actions related to this submerchant unless it is active.","errorCode":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/403/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels/patch/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/400/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant does not have an active payment service. Contact SimPay","errorCode":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/400/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/403/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant is not active yet. You cannot perform actions related to this submerchant unless it is active.","errorCode":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/403/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1available-for-registration/get/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1register/post/responses/400/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant does not have an active payment service. Contact SimPay","errorCode":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1register/post/responses/400/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/400/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant does not have an active payment service. Contact SimPay","errorCode":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/400/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/403/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant is not active yet. You cannot perform actions related to this submerchant unless it is active.","errorCode":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1payment-channels~1paypal/put/responses/403/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/400/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant does not have an active payment service. Contact SimPay","errorCode":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/400/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/get/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/custom":{"value":{"payment":{"customUrl":"https://example.com/ipn"}},"key":"custom","summary":"Custom payment webhook URL","id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/custom"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/default":{"value":{"flow":{"useDefault":true}},"key":"default","summary":"Restore default Flow webhook URL","id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/requestBody/content/application~1json/examples/default"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/400/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant does not have an active payment service. Contact SimPay","errorCode":"FLOW_SUBMERCHANT_PAYMENT_SERVICE_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/400/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks/patch/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks~1key/patch/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1webhooks~1key/patch/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances/get/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances/get/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1invoices/get/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1invoices/get/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/get/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/get/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/customDays":{"value":{"invoiceLocale":"pl","withdraw":{"type":"custom_days","customDays":[1,5],"balanceToAutoPayout":100,"leftBalance":10}},"key":"customDays","summary":"Withdrawals on Mondays and Fridays","id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/customDays"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/manual":{"value":{"withdraw":{"type":"manual"}},"key":"manual","summary":"Manual withdrawals","id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/requestBody/content/application~1json/examples/manual"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/403/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant is not active yet. You cannot perform actions related to this submerchant unless it is active.","errorCode":"FLOW_SUBMERCHANT_NOT_ACTIVE"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/403/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}/patch/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1transactions/get/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1transactions/get/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/date":{"value":{"date":{"from":"2026-09-01","to":"2026-09-30"}},"key":"date","summary":"Report for a period","id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/date"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/withdraw":{"value":{"withdraw":{"shortId":"1f2b3c4d"}},"key":"withdraw","summary":"Report for a withdrawal","id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/requestBody/content/application~1json/examples/withdraw"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/responses/200/content/text~1csv/example":{"value":"ID transakcji;Typ;Operacja;Czy przeliczona do portfela;Kwota;Kwota przed;Kwota po;Data operacji;ID transakcji płatności;ID transakcji płatności zwrócone kupującemu;Opis transakcji płatności;Control transakcji płatności;ID wypłaty;Krótkie ID wypłaty;ID zwrotu;ID zwrotu zwrócone kupującemu\n0199a5f0-2b8c-7c1e-9e3a-1f2b3c4d5e6f;Zasilenie;Wpłata z transakcji;TAK;10.00;0.00;10.00;2026-09-01 12:00:00;0199a5f0-0000-7c1e-9e3a-1f2b3c4d5e6f;SP-ABCD-1234;Zamówienie 1;order-1;;;;\n","id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1raport/post/responses/200/content/text~1csv/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/get/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/get/responses/404/content/application~1json/example"},"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/post/responses/404/content/application~1json/example":{"value":{"success":false,"message":"Provided submerchant has not been found.","errorCode":"FLOW_SUBMERCHANT_NOT_FOUND"},"id":"paths/~1flow~1{flowServiceId}~1submerchants~1{submerchantId}~1finances~1{walletId}~1withdraws/post/responses/404/content/application~1json/example"},"paths/~1feedback/post/responses/201/content/application~1json/example":{"value":{"success":true,"data":{"id":42}},"id":"paths/~1feedback/post/responses/201/content/application~1json/example"},"paths/~1feedback/post/responses/429/content/application~1json/example":{"value":{"success":false,"message":"Feedback limit exceeded, try again in an hour.","errorCode":"FEEDBACK_LIMIT_EXCEEDED","feedbackUrl":"https://api.simpay.pl/feedback"},"id":"paths/~1feedback/post/responses/429/content/application~1json/example"}},"securitySchemeStore":{"bearerAuth":{"id":"bearerAuth","type":"http","scheme":"bearer"}},"specVersion":"3.0.3","servers":[{"url":"/_mock/en/apis","isMockServer":true,"description":"Mock server"},{"url":"https://api.simpay.pl"}],"logo":{"imageUrl":"https://simpay.pl/assets/svg/logo-main.svg","href":"https://simpay.pl/kontakt","altText":"SimPay"},"specType":"openapi"},"options":{"feedback":{"type":"scale","settings":{"label":"How would you rate this section?"}},"mockServer":{"url":"/_mock/en/apis","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/@l10n/en/apis/index.json?download"},{"url":"/_bundle/@l10n/en/apis/index.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false,"asyncapi":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"simpay-api","description":"[Polish version](/apis)"}},"baseSlug":"/en/apis","routesMapping":{}}