Documentation Sweet Pricing API

GET / currencies

This endpoint returns an array of all currencies that Sweet Pricing recognizes, either as in-app purchase currencies or billing currencies.

URL

https://api.sweetpricing.com/v1.0/currencies

200

Field Type Description
currencies Object[]
currencies.id Number

ID of the category

currencies.code String

Currency code

currencies.isBillingCurrency Boolean

Can this currency be used for Sweet Pricing billing purposes.

currencies.name String

Friendly name of the currency.

{
	"currencies": [{
		"id": 1,
		"code": "USD",
		"isBillingCurrency": true,
		"name": "United States Dollars"
	}]
}

401

Name Description
401

You are not authenticated to perform the request.

403

Name Description
403

You are not allowed to view/modify this resource.

404

Name Description
404

Resource not found.