Error
A valid request URL is required to generate request examples{
"id": "onetime_offering.4df706b5-297a-49c5-a4cd-2a10eca12ff9",
"items": [
{
"id": "onetime_offering_item.4df706b5-297a-49c5-a4cd-2a10eca12ff9",
"price": {
"amount": 50,
"currency": {
"code": "USD",
"name": "US Dollar",
"symbol": "$",
"base_unit": 100
}
},
"description": "<string>",
"metadata": {}
}
],
"price": {
"amount": 50,
"currency": {
"code": "USD",
"name": "US Dollar",
"symbol": "$",
"base_unit": 100
}
}
}{
"error": {
"message": "Invalid authentication credentials",
"code": "invalid_credentials"
}
}{
"error": {
"message": "The Bearer token does not match the x-supertab-client-id header | Missing or invalid x-supertab-client-id | Invalid subject type {request_subject_type} found, {expected_token_type} expected | Forbidden",
"code": "client_id_mismatch | missing_or_invalid_x_supertab_client_id | invalid_subject_type | forbidden"
}
}{
"error": {
"message": "One-time offering not found",
"code": "onetime_offering_not_found"
}
}{
"error": {
"message": "This one-time offering has expired | This one-time offering was already consumed",
"code": "onetime_offering_expired | onetime_offering_already_consumed"
}
}{
"error": [
{
"code": "validation_error",
"message": "Validation Error",
"errors": [
{
"attribute": "query -> subject",
"code": "missing",
"message": "field required"
}
]
}
]
}Endpoints
Retrieve a One-Time Offering
Retrieves a one-time offering.
GET
/
onetime_offerings
/
{onetime_offering_id}
Error
A valid request URL is required to generate request examples{
"id": "onetime_offering.4df706b5-297a-49c5-a4cd-2a10eca12ff9",
"items": [
{
"id": "onetime_offering_item.4df706b5-297a-49c5-a4cd-2a10eca12ff9",
"price": {
"amount": 50,
"currency": {
"code": "USD",
"name": "US Dollar",
"symbol": "$",
"base_unit": 100
}
},
"description": "<string>",
"metadata": {}
}
],
"price": {
"amount": 50,
"currency": {
"code": "USD",
"name": "US Dollar",
"symbol": "$",
"base_unit": 100
}
}
}{
"error": {
"message": "Invalid authentication credentials",
"code": "invalid_credentials"
}
}{
"error": {
"message": "The Bearer token does not match the x-supertab-client-id header | Missing or invalid x-supertab-client-id | Invalid subject type {request_subject_type} found, {expected_token_type} expected | Forbidden",
"code": "client_id_mismatch | missing_or_invalid_x_supertab_client_id | invalid_subject_type | forbidden"
}
}{
"error": {
"message": "One-time offering not found",
"code": "onetime_offering_not_found"
}
}{
"error": {
"message": "This one-time offering has expired | This one-time offering was already consumed",
"code": "onetime_offering_expired | onetime_offering_already_consumed"
}
}{
"error": [
{
"code": "validation_error",
"message": "Validation Error",
"errors": [
{
"attribute": "query -> subject",
"code": "missing",
"message": "field required"
}
]
}
]
}mapi:read - Read access to Merchant API resourcesWas this page helpful?