File: /home/artinside/www/lhh/vendor/pagarme/pagarme-php/tests/unit/Mocks/SubscriptionListMock.json
[
{
"object": "subscription",
"plan": {
"object": "plan",
"id": 2345678,
"amount": 1500,
"days": 30,
"name": "My New Name",
"trial_days": 0,
"date_created": "2017-01-16T20:34:11.597Z",
"payment_methods": [
"boleto",
"credit_card"
],
"color": null,
"charges": 5,
"installments": 1,
"invoice_reminder": null,
"payment_deadline_charges_interval": null
},
"id": 2345678,
"current_transaction": {
"object": "transaction",
"status": "paid",
"refuse_reason": null,
"status_reason": "acquirer",
"acquirer_response_code": "0000",
"acquirer_name": "pagarme",
"acquirer_id": "abc1234abc1234abc1234abc",
"authorization_code": "89478",
"soft_descriptor": null,
"tid": 2345678,
"nsu": 2345678,
"date_created": "2018-09-04T20:48:35.464Z",
"date_updated": "2018-09-04T20:48:36.180Z",
"amount": 1500,
"authorized_amount": 1500,
"paid_amount": 1500,
"refunded_amount": 0,
"installments": 1,
"id": 2345678,
"cost": 120,
"card_holder_name": "Davy Jones",
"card_last_digits": "1111",
"card_first_digits": "411111",
"card_brand": "visa",
"card_pin_mode": null,
"postback_url": null,
"payment_method": "credit_card",
"capture_method": "ecommerce",
"antifraud_score": null,
"boleto_url": null,
"boleto_barcode": null,
"boleto_expiration_date": null,
"referer": "api_key",
"ip": "189.55.154.243",
"subscription_id": 2345678,
"split_rules": null,
"metadata": {
"test_by_postamn": true
},
"antifraud_metadata": {},
"reference_key": null,
"device": null,
"local_transaction_id": null,
"local_time": null,
"fraud_covered": false,
"order_id": null,
"risk_level": "very_low",
"receipt_url": null,
"payment": null,
"addition": null,
"discount": null
},
"postback_url": "https://www.pudim.com.br",
"payment_method": "credit_card",
"card_brand": "visa",
"card_last_digits": "1111",
"current_period_start": "2018-09-04T20:48:35.418Z",
"current_period_end": "2018-10-04T20:48:35.417Z",
"charges": 0,
"status": "paid",
"date_created": "2018-09-04T20:48:36.146Z",
"date_updated": "2018-09-04T20:48:36.146Z",
"phone": {
"object": "phone",
"ddi": "55",
"ddd": "11",
"number": "897766437",
"id": 2345678
},
"address": {
"object": "address",
"street": "Av de Teste",
"complementary": "Apto 666",
"street_number": "1234",
"neighborhood": "Bairro de Teste",
"city": "Testelandia",
"state": "SP",
"zipcode": "12345678",
"country": "Brasil",
"id": 2345678
},
"customer": {
"object": "customer",
"id": 2345678,
"external_id": null,
"type": null,
"country": null,
"document_number": "11122233344",
"document_type": "cpf",
"name": "José das Couves",
"email": "jose.couves@pagar.me",
"phone_numbers": null,
"born_at": "1970-01-01T03:00:00.000Z",
"birthday": null,
"gender": null,
"date_created": "2016-12-26T16:25:47.456Z",
"documents": []
},
"card": {
"object": "card",
"id": "card_abc1234abc1234abc1234abc1",
"date_created": "2018-08-23T19:37:04.714Z",
"date_updated": "2018-08-23T19:37:05.024Z",
"brand": "visa",
"holder_name": "Davy Jones",
"first_digits": "411111",
"last_digits": "1111",
"country": "UNITED STATES",
"fingerprint": "abc1234abc1234abc1234abc1",
"valid": true,
"expiration_date": "0722"
},
"metadata": {
"foo": "bar"
},
"settled_charges": null
},
{
"object": "subscription",
"plan": {
"object": "plan",
"id": 2345678,
"amount": 1500,
"days": 30,
"name": "My New Name",
"trial_days": 0,
"date_created": "2017-01-16T20:34:11.597Z",
"payment_methods": [
"boleto",
"credit_card"
],
"color": null,
"charges": 5,
"installments": 1,
"invoice_reminder": null,
"payment_deadline_charges_interval": null
},
"id": 2345678,
"current_transaction": {
"object": "transaction",
"status": "paid",
"refuse_reason": null,
"status_reason": "acquirer",
"acquirer_response_code": "0000",
"acquirer_name": "pagarme",
"acquirer_id": "abc1234abc1234abc1234abc",
"authorization_code": "89478",
"soft_descriptor": null,
"tid": 2345678,
"nsu": 2345678,
"date_created": "2018-09-04T20:48:35.464Z",
"date_updated": "2018-09-04T20:48:36.180Z",
"amount": 1500,
"authorized_amount": 1500,
"paid_amount": 1500,
"refunded_amount": 0,
"installments": 1,
"id": 2345678,
"cost": 120,
"card_holder_name": "Davy Jones",
"card_last_digits": "1111",
"card_first_digits": "411111",
"card_brand": "visa",
"card_pin_mode": null,
"postback_url": null,
"payment_method": "credit_card",
"capture_method": "ecommerce",
"antifraud_score": null,
"boleto_url": null,
"boleto_barcode": null,
"boleto_expiration_date": null,
"referer": "api_key",
"ip": "189.55.154.243",
"subscription_id": 2345678,
"split_rules": null,
"metadata": {
"test_by_postamn": true
},
"antifraud_metadata": {},
"reference_key": null,
"device": null,
"local_transaction_id": null,
"local_time": null,
"fraud_covered": false,
"order_id": null,
"risk_level": "very_low",
"receipt_url": null,
"payment": null,
"addition": null,
"discount": null
},
"postback_url": "https://www.pudim.com.br",
"payment_method": "credit_card",
"card_brand": "visa",
"card_last_digits": "1111",
"current_period_start": "2018-09-04T20:48:35.418Z",
"current_period_end": "2018-10-04T20:48:35.417Z",
"charges": 0,
"status": "paid",
"date_created": "2018-09-04T20:48:36.146Z",
"date_updated": "2018-09-04T20:48:36.146Z",
"phone": {
"object": "phone",
"ddi": "55",
"ddd": "11",
"number": "897766437",
"id": 2345678
},
"address": {
"object": "address",
"street": "Av de Teste",
"complementary": "Apto 666",
"street_number": "1234",
"neighborhood": "Bairro de Teste",
"city": "Testelandia",
"state": "SP",
"zipcode": "12345678",
"country": "Brasil",
"id": 2345678
},
"customer": {
"object": "customer",
"id": 2345678,
"external_id": null,
"type": null,
"country": null,
"document_number": "11122233344",
"document_type": "cpf",
"name": "José das Couves",
"email": "jose.couves@pagar.me",
"phone_numbers": null,
"born_at": "1970-01-01T03:00:00.000Z",
"birthday": null,
"gender": null,
"date_created": "2016-12-26T16:25:47.456Z",
"documents": []
},
"card": {
"object": "card",
"id": "card_abc1234abc1234abc1234abc1",
"date_created": "2018-08-23T19:37:04.714Z",
"date_updated": "2018-08-23T19:37:05.024Z",
"brand": "visa",
"holder_name": "Davy Jones",
"first_digits": "411111",
"last_digits": "1111",
"country": "UNITED STATES",
"fingerprint": "abc1234abc1234abc1234abc1",
"valid": true,
"expiration_date": "0722"
},
"metadata": {
"foo": "bar"
},
"settled_charges": null
}
]