Topup-StornoPartnerCardTopup-v2: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{PageTitle|title=Barion API: Storno/reverse a previously completed partner card topup}} {{TableOfContents}} {{api_callmethod |method=POST |uri=/v2/Topup/StornoPartnerCardTo...") |
|||
| Line 63: | Line 63: | ||
'''Request''' | '''Request''' | ||
<syntaxhighlight lang=" | |||
<syntaxhighlight lang="json"> | |||
{ | |||
} | |||
</syntaxhighlight> | |||
'''Response''' | '''Response''' | ||
| Line 69: | Line 74: | ||
<syntaxhighlight lang="json"> | <syntaxhighlight lang="json"> | ||
{ | { | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 06:26, 9 August 2017
Barion API: Storno/reverse a previously completed partner card topup
| POST | /v2/Topup/StornoPartnerCardTopup |
|---|
The /topup/stornopartnercardtopup API endpoint is used to reverse the transfer previously initiated by a topup via partner card.
Prerequisites before use:
v2 This API endpoint is available in API v2 only.
partners This API endpoint is available for trusted Barion partners only.
Input properties
| Property name | Property type | Limitations and constraints | Description |
|---|---|---|---|
| PartnerKey | Guid |
|
The secret API key of the trusted partner, generated by Barion. |
| TransactionId | Guid |
|
The identifier of the topup transaction |
Output properties
| Property name | Property type | Description |
|---|---|---|
| CompanyRegisterInfo | CompanyRegisterInfo | A bundle object containing the detailed information about the organization |
Possible error responses
| Error code | Description |
|---|---|
| NoIdentifiedPartnerFound | The given partner key was not valid |
| PartnerDataCannotBeRetrieved | The trusted partner data could not be retrieved (possibly has no rights for this endpoint) |
| AuthenticationFailed | Authentication failed for the target organization (incorrect login name or password) |
| RemoteRegisterInfoReturnedWithError | The company register service returned an error |
| RegisterInfoCannotBeRetrievedFromDb | The company register record could not be retrieved from the Barion database. Please contact the Barion support. |
| RegisterInfoCannotBeRetrievedFromRemote | The company register record could not be retrieved from the remote service. Possible causes:
|
Example
Request
{
}Response
{
}