{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/api-standards/issues/17","repository_url":"https://api.github.com/repos/paypal/api-standards","labels_url":"https://api.github.com/repos/paypal/api-standards/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/paypal/api-standards/issues/17/comments","events_url":"https://api.github.com/repos/paypal/api-standards/issues/17/events","html_url":"https://github.com/paypal/api-standards/issues/17","id":375889152,"node_id":"MDU6SXNzdWUzNzU4ODkxNTI=","number":17,"title":"Getting different field names in one Callback Type","user":{"login":"DeRain","id":3999180,"node_id":"MDQ6VXNlcjM5OTkxODA=","avatar_url":"https://avatars1.githubusercontent.com/u/3999180?v=4","gravatar_id":"","url":"https://api.github.com/users/DeRain","html_url":"https://github.com/DeRain","followers_url":"https://api.github.com/users/DeRain/followers","following_url":"https://api.github.com/users/DeRain/following{/other_user}","gists_url":"https://api.github.com/users/DeRain/gists{/gist_id}","starred_url":"https://api.github.com/users/DeRain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeRain/subscriptions","organizations_url":"https://api.github.com/users/DeRain/orgs","repos_url":"https://api.github.com/users/DeRain/repos","events_url":"https://api.github.com/users/DeRain/events{/privacy}","received_events_url":"https://api.github.com/users/DeRain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-31T10:15:51Z","updated_at":"2018-11-06T23:21:06Z","closed_at":null,"author_association":"NONE","body":"Hello, I not sure that it is this right place to create an issue about callback - please guide me to the right place where if it needs. \r\n\r\nWhen I'm getting a callback with type `BILLING.SUBSCRIPTION.CANCELLED` I'm looking into `plan` and trying to find currency field. In some cases this is `currency_code`, but in other cases, it's `curr_code`\r\n\r\nI think it is not consistent behavior.\r\n\r\nHere are some examples:\r\n\r\nWith `curr_code`:\r\n```json\r\n{\r\n    \"id\": \"WH-6TD369808N914414D-1YJ376786E892292F\",\r\n    \"event_version\": \"1.0\",\r\n    \"create_time\": \"2016-04-28T11:53:10Z\",\r\n    \"resource_type\": \"Agreement\",\r\n    \"event_type\": \"BILLING.SUBSCRIPTION.CANCELLED\",\r\n    \"summary\": \"A billing subscription was cancelled\",\r\n    \"resource\": {\r\n        \"id\": \"I-PE7JWXKGVN0R\",\r\n        \"shipping_address\": {\r\n            \"recipient_name\": \"Cool Buyer\",\r\n            \"line1\": \"3rd st\",\r\n            \"line2\": \"cool\",\r\n            \"city\": \"San Jose\",\r\n            \"state\": \"CA\",\r\n            \"postal_code\": \"95112\",\r\n            \"country_code\": \"US\"\r\n        },\r\n        \"plan\": {\r\n            \"curr_code\": \"USD\",\r\n            \"links\": [],\r\n            \"payment_definitions\": [\r\n...\r\n```\r\n\r\nWith `currency_code`:\r\n```json\r\n{\r\n    \"id\": \"WH-6TD369808N914414D-1YJ376786E892292F\",\r\n    \"event_version\": \"1.0\",\r\n    \"create_time\": \"2016-04-28T11:53:10Z\",\r\n    \"resource_type\": \"Agreement\",\r\n    \"event_type\": \"BILLING.SUBSCRIPTION.CANCELLED\",\r\n    \"summary\": \"A billing subscription was cancelled\",\r\n    \"resource\": {\r\n        \"id\": \"I-PE7JWXKGVN0R\",\r\n        \"shipping_address\": {\r\n            \"recipient_name\": \"Cool Buyer\",\r\n            \"line1\": \"3rd st\",\r\n            \"line2\": \"cool\",\r\n            \"city\": \"San Jose\",\r\n            \"state\": \"CA\",\r\n            \"postal_code\": \"95112\",\r\n            \"country_code\": \"US\"\r\n        },\r\n        \"plan\": {\r\n            \"currency_code\": \"USD\",\r\n            \"links\": [],\r\n            \"payment_definitions\": [\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/paypal/api-standards/issues/comments/436445713","html_url":"https://github.com/paypal/api-standards/issues/17#issuecomment-436445713","issue_url":"https://api.github.com/repos/paypal/api-standards/issues/17","id":436445713,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjQ0NTcxMw==","user":{"login":"sdatspun2","id":21368261,"node_id":"MDQ6VXNlcjIxMzY4MjYx","avatar_url":"https://avatars3.githubusercontent.com/u/21368261?v=4","gravatar_id":"","url":"https://api.github.com/users/sdatspun2","html_url":"https://github.com/sdatspun2","followers_url":"https://api.github.com/users/sdatspun2/followers","following_url":"https://api.github.com/users/sdatspun2/following{/other_user}","gists_url":"https://api.github.com/users/sdatspun2/gists{/gist_id}","starred_url":"https://api.github.com/users/sdatspun2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdatspun2/subscriptions","organizations_url":"https://api.github.com/users/sdatspun2/orgs","repos_url":"https://api.github.com/users/sdatspun2/repos","events_url":"https://api.github.com/users/sdatspun2/events{/privacy}","received_events_url":"https://api.github.com/users/sdatspun2/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T23:21:06Z","updated_at":"2018-11-06T23:21:06Z","author_association":"NONE","body":"@DeRain  >I not sure that it is this right place to create an issue about callback\r\n\r\nIt is not. Try https://developer.paypal.com/support/."}}
{"actor":{"display_login":"sdatspun2"}}