<?php
// File generated from our OpenAPI spec
namespace Stripe\Tax;
/**
* You can use Tax <code>Settings</code> to manage configurations used by Stripe Tax calculations.
*
* Related guide: <a href="https://stripe.com/docs/tax/settings-api">Using the Settings API</a>
*
* @property string $object String representing the object's type. Objects of the same type share the same value.
* @property \Stripe\StripeObject $defaults
* @property null|\Stripe\StripeObject $head_office The place where your business is located.
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
* @property string $status The <code>active</code> status indicates you have all required settings to calculate tax. A status can transition out of <code>active</code> when new required settings are introduced.
* @property \Stripe\StripeObject $status_details
*/
class Settings extends \Stripe\SingletonApiResource
{
const OBJECT_NAME = 'tax.settings';
use \Stripe\ApiOperations\SingletonRetrieve;
use \Stripe\ApiOperations\Update;
const STATUS_ACTIVE = 'active';
const STATUS_PENDING = 'pending';
}
Checks the status of a payment.
**Response: SUCCESS (200 OK)**
{
"message": {
"success": [
"Success"
]
},
"data": {
"token": "2zMRmT3KeYT2BWMAyGhqEfuw4tOYOfGXKeyKqehZ8mF1E35hMwE69gPpyo3e",
"trx_id": "CP44657864",
"payer": {
"username": "testuser",
"email": "user@appdevs.net"
}
"status": "Test",
},
"type": "success"
}