Get recurring account

Get a previously created recurring account.

Request

  • your-authorization should be replaced with your Authorization header, see Access
  • your-user-id in the URI, should be replaced with your identifier of the user
  • your-account-id in the URI, should be replaced with the id for the account that should be retrieved
Copy
Copied
GET /v1/users/{your-user-id}/recurring-accounts/{your-account-id}

Accept: application/json
Authorization: $(your-authorization)

Response

Success

Response Schema: application/json
object (RecurringAccountDto)
id
string
merchantId
string
status
string

Account status:

Status Description
CREATED Account is created but not yet activated
ACTIVATION_FAILED Account could not be activated
ACTIVE Account is active and payments can be created
INACTIVE Account is temporarily inactivated
CLOSED Account is permanently closed and can not be used again
Enum: "CREATED" "ACTIVATION_FAILED" "ACTIVE" "INACTIVE" "CLOSED"
application/json
{
  • "account": {
    }
}
Error responses

Please refer to our HTTP response codes and Error codes to learn what error responses you may expect from the API.

Example

Try it

Loading...