viagogo Account API (2.249.0.0)
List addresses
List addresses for the current user.
Authorizations:
read:user
) query Parameters
page | integer <int32> Specifies which page of data to retrieve. |
page_size | integer <int32> Set custom page sizes on response. |
sort | string Determines the ordering of items. A comma-separated string containing |
Responses
Response Schema: application/hal+json
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(AddresssLinks (object or null)) | |
(AddresssEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 404
- 500
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "items": [
- {
- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:carrier": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:update": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:events": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:localwebpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
}
}
]
}
}
Create an address
Authorizations:
write:user
) Request Body schema: application/json
full_name | string or null The full name of the recipient. |
default | boolean or null True if the address is the current user's default address; Otherwise, false. |
address_1 | string or null The first line of the address. |
address_2 | string or null The second line of the address. |
address_3 | string or null The third line of the address. |
city | string or null The name of the city where the address is located. |
state_province | string or null The name of the State or Province where the address is located. |
postal_code | string or null The postal code for the address. |
country_code | string or null The 2 character ISO code that identifies the country in which the address is located. |
Responses
Response Schema: application/hal+json
id | integer or null <int32> The address identifier. |
full_name | string or null The full name of the recipient. |
default | boolean or null True if the address is the user’s default address; Otherwise, false. |
address_1 | string or null The first line of the address. |
address_2 | string or null The second line of the address. |
address_3 | string or null The third line of the address. |
city | string or null The name of the city where the address is located. |
state_province | string or null The name of the State or Province where the address is located. |
postal_code | string or null The postal code for the address. |
(AddressLinks (object or null)) | |
(AddressEmbeddedResources (object or null)) |
Request samples
- Payload
{- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "country_code": "string"
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:carrier": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:update": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:events": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:localwebpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
}
}
Get an address
Authorizations:
read:user
) path Parameters
addressId required | integer <int32> |
Responses
Response Schema: application/hal+json
id | integer or null <int32> The address identifier. |
full_name | string or null The full name of the recipient. |
default | boolean or null True if the address is the user’s default address; Otherwise, false. |
address_1 | string or null The first line of the address. |
address_2 | string or null The second line of the address. |
address_3 | string or null The third line of the address. |
city | string or null The name of the city where the address is located. |
state_province | string or null The name of the State or Province where the address is located. |
postal_code | string or null The postal code for the address. |
(AddressLinks (object or null)) | |
(AddressEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 404
- 500
{- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:carrier": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:update": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:events": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:localwebpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
}
}
Update an address
Authorizations:
write:user
) path Parameters
addressId required | integer <int32> |
Request Body schema: application/json
full_name | string or null The full name of the recipient. |
default | boolean or null True if the address is the current user's default address; Otherwise, false. |
address_1 | string or null The first line of the address. |
address_2 | string or null The second line of the address. |
address_3 | string or null The third line of the address. |
city | string or null The name of the city where the address is located. |
state_province | string or null The name of the State or Province where the address is located. |
postal_code | string or null The postal code for the address. |
country_code | string or null The 2 character ISO code that identifies the country in which the address is located. |
Responses
Response Schema: application/hal+json
id | integer or null <int32> The address identifier. |
full_name | string or null The full name of the recipient. |
default | boolean or null True if the address is the user’s default address; Otherwise, false. |
address_1 | string or null The first line of the address. |
address_2 | string or null The second line of the address. |
address_3 | string or null The third line of the address. |
city | string or null The name of the city where the address is located. |
state_province | string or null The name of the State or Province where the address is located. |
postal_code | string or null The postal code for the address. |
(AddressLinks (object or null)) | |
(AddressEmbeddedResources (object or null)) |
Request samples
- Payload
{- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "country_code": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:carrier": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:update": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:events": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:localwebpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
}
}
Delete an address
Authorizations:
write:user
) path Parameters
addressId required | integer <int32> |
Responses
Response samples
- 401
- 403
- 500
{- "code": "string",
- "message": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
List payment methods
List payment methods for the authenticated user.
Authorizations:
read:user
) query Parameters
buyer_method | boolean or null |
seller_method | boolean or null |
page | integer <int32> Specifies which page of data to retrieve. |
page_size | integer <int32> Set custom page sizes on response. |
Responses
Response Schema: application/hal+json
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(PaymentMethodssLinks (object or null)) | |
(PaymentMethodssEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 404
- 500
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "items": [
- {
- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:createcreditcard": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:createpaypal": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "items": [
- {
- "id": 0,
- "details": "string",
- "type": "string",
- "type_description": "string",
- "buyer_method": true,
- "default_buyer_method": true,
- "seller_method": true,
- "default_seller_method": true,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatecreditcard": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatedefaults": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatepaypal": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "billing_address": {
- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": null,
- "address:carrier": null,
- "address:delete": null,
- "address:update": null
}, - "_embedded": {
- "country": null
}
}, - "type_details": {
- "property1": null,
- "property2": null
}
}
}
]
}
}
]
}
}
Get a payment method
Authorizations:
read:user
) path Parameters
paymentMethodId required | integer <int32> |
Responses
Response Schema: application/hal+json
id | integer or null <int32> The payment method identifier. |
details | string or null The obfuscated details of the payment method. |
type | string or null The type of the payment method. |
type_description | string or null A localised string describing the type of payment method. |
buyer_method | boolean or null True if the payment method can be used for purchasing listings; otherwise, false. |
default_buyer_method | boolean or null True if the payment method is the user’s default payment method for purchasing listings. |
seller_method | boolean or null True if the payment method can be used for receiving payments; otherwise, false. |
default_seller_method | boolean or null True if the payment method is the user’s default payment method for receiving payments. |
(PaymentMethodLinks (object or null)) | |
(PaymentMethodEmbeddedResources (object or null)) |
Response samples
- 200
- 401
- 403
- 404
- 500
{- "id": 0,
- "details": "string",
- "type": "string",
- "type_description": "string",
- "buyer_method": true,
- "default_buyer_method": true,
- "seller_method": true,
- "default_seller_method": true,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatecreditcard": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatedefaults": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatepaypal": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "billing_address": {
- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:carrier": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:update": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:events": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:localwebpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
}
}, - "type_details": {
- "property1": null,
- "property2": null
}
}
}
List payment methods for a listing
Authorizations:
read:user
) path Parameters
listingId required | integer <int64> |
query Parameters
page | integer <int32> Specifies which page of data to retrieve. |
page_size | integer <int32> Set custom page sizes on response. |
Request Body schema: application/json
number_of_tickets | integer or null <int32> |
delivery_address_id | integer or null <int32> |
delivery_method_id | integer or null <int32> |
coupons | Array of strings or null |
pickup_full_name | string or null |
Responses
Response Schema: application/hal+json
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(PaymentMethodsLinks (object or null)) | |
(PaymentMethodsEmbeddedResources (object or null)) |
Request samples
- Payload
{- "number_of_tickets": 0,
- "delivery_address_id": 0,
- "delivery_method_id": 0,
- "coupons": [
- "string"
], - "pickup_full_name": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:createcreditcard": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:createpaypal": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "items": [
- {
- "id": 0,
- "details": "string",
- "type": "string",
- "type_description": "string",
- "buyer_method": true,
- "default_buyer_method": true,
- "seller_method": true,
- "default_seller_method": true,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatecreditcard": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatedefaults": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatepaypal": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "billing_address": {
- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:carrier": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:update": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}, - "country:events": {
- "href": null,
- "title": null,
- "templated": null
}, - "country:localwebpage": {
- "href": null,
- "title": null,
- "templated": null
}
}
}
}
}, - "type_details": {
- "property1": null,
- "property2": null
}
}
}
]
}
}
Get the authenticated user
Authorizations:
read:user
) Responses
Response Schema: application/hal+json
full_name | string or null The full name of the user. |
string or null The email address of the user. | |
primary_phone | string or null The primary phone number of the user. |
email_optin | boolean True if the user is signed up for the viagogo email newsletter; otherwise, false. |
(UserLinks (object or null)) |
Response samples
- 200
- 401
- 403
- 404
- 500
{- "full_name": "string",
- "email": "string",
- "primary_phone": "string",
- "email_optin": true,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:addresses": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:paymentmethods": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:sales": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:salesaggregates": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:sellerlistings": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:update": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:webhooks": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
Update the authenticated user
Authorizations:
write:user
) Request Body schema: application/json
full_name | string or null The full name of the user. |
email_optin | boolean or null True if the user is signed up for the viagogo email newsletter; otherwise, false. |
Responses
Response Schema: application/octet-stream
Request samples
- Payload
{- "full_name": "string",
- "email_optin": true
}
Response samples
- 400
- 401
- 403
- 500
{- "code": "string",
- "message": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
An address is a delivery, pickup or billing address associated with the current user.
id | integer or null <int32> The address identifier. |
full_name | string or null The full name of the recipient. |
default | boolean or null True if the address is the user’s default address; Otherwise, false. |
address_1 | string or null The first line of the address. |
address_2 | string or null The second line of the address. |
address_3 | string or null The third line of the address. |
city | string or null The name of the city where the address is located. |
state_province | string or null The name of the State or Province where the address is located. |
postal_code | string or null The postal code for the address. |
(AddressLinks (object or null)) | |
(AddressEmbeddedResources (object or null)) |
{- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:carrier": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:update": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:events": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:localwebpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
}
}
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(AddresssLinks (object or null)) | |
(AddresssEmbeddedResources (object or null)) |
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "items": [
- {
- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:carrier": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:update": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:events": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:localwebpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
}
}
]
}
}
A method to send or receive payment.
id | integer or null <int32> The payment method identifier. |
details | string or null The obfuscated details of the payment method. |
type | string or null The type of the payment method. |
type_description | string or null A localised string describing the type of payment method. |
buyer_method | boolean or null True if the payment method can be used for purchasing listings; otherwise, false. |
default_buyer_method | boolean or null True if the payment method is the user’s default payment method for purchasing listings. |
seller_method | boolean or null True if the payment method can be used for receiving payments; otherwise, false. |
default_seller_method | boolean or null True if the payment method is the user’s default payment method for receiving payments. |
(PaymentMethodLinks (object or null)) | |
(PaymentMethodEmbeddedResources (object or null)) |
{- "id": 0,
- "details": "string",
- "type": "string",
- "type_description": "string",
- "buyer_method": true,
- "default_buyer_method": true,
- "seller_method": true,
- "default_seller_method": true,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatecreditcard": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatedefaults": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatepaypal": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "billing_address": {
- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:carrier": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:update": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:events": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "country:localwebpage": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}
}
}, - "type_details": {
- "property1": null,
- "property2": null
}
}
}
The PaymentMethods resource is a collection resource that contains zero or more references to a set of payment methods, and links that guide you on ways to interact with the payment methods. The collection offers a paginated view of payment methods.
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(PaymentMethodsLinks (object or null)) | |
(PaymentMethodsEmbeddedResources (object or null)) |
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:createcreditcard": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:createpaypal": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "items": [
- {
- "id": 0,
- "details": "string",
- "type": "string",
- "type_description": "string",
- "buyer_method": true,
- "default_buyer_method": true,
- "seller_method": true,
- "default_seller_method": true,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatecreditcard": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatedefaults": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatepaypal": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "billing_address": {
- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:carrier": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "address:update": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "country": {
- "code": "string",
- "name": "string",
- "_links": {
- "self": {
- "href": null,
- "title": null,
- "templated": null
}, - "country:events": {
- "href": null,
- "title": null,
- "templated": null
}, - "country:localwebpage": {
- "href": null,
- "title": null,
- "templated": null
}
}
}
}
}, - "type_details": {
- "property1": null,
- "property2": null
}
}
}
]
}
}
total_items | integer or null <int32> |
page | integer or null <int32> |
page_size | integer or null <int32> |
(PaymentMethodssLinks (object or null)) | |
(PaymentMethodssEmbeddedResources (object or null)) |
{- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "items": [
- {
- "total_items": 0,
- "page": 0,
- "page_size": 0,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "first": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "last": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "next": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:createcreditcard": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:createpaypal": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "prev": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "items": [
- {
- "id": 0,
- "details": "string",
- "type": "string",
- "type_description": "string",
- "buyer_method": true,
- "default_buyer_method": true,
- "seller_method": true,
- "default_seller_method": true,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:delete": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatecreditcard": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatedefaults": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "paymentmethod:updatepaypal": {
- "href": "string",
- "title": "string",
- "templated": true
}
}, - "_embedded": {
- "billing_address": {
- "id": 0,
- "full_name": "string",
- "default": true,
- "address_1": "string",
- "address_2": "string",
- "address_3": "string",
- "city": "string",
- "state_province": "string",
- "postal_code": "string",
- "_links": {
- "self": null,
- "address:carrier": null,
- "address:delete": null,
- "address:update": null
}, - "_embedded": {
- "country": null
}
}, - "type_details": {
- "property1": null,
- "property2": null
}
}
}
]
}
}
]
}
}
An authenticated user.
full_name | string or null The full name of the user. |
string or null The email address of the user. | |
primary_phone | string or null The primary phone number of the user. |
email_optin | boolean True if the user is signed up for the viagogo email newsletter; otherwise, false. |
(UserLinks (object or null)) |
{- "full_name": "string",
- "email": "string",
- "primary_phone": "string",
- "email_optin": true,
- "_links": {
- "self": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:addresses": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:paymentmethods": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:sales": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:salesaggregates": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:sellerlistings": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:update": {
- "href": "string",
- "title": "string",
- "templated": true
}, - "user:webhooks": {
- "href": "string",
- "title": "string",
- "templated": true
}
}
}