Skip to content

Instantly share code, notes, and snippets.

@nickpresta
Created December 15, 2014 22:35
Show Gist options
  • Save nickpresta/f8078675fce57c291f06 to your computer and use it in GitHub Desktop.
Save nickpresta/f8078675fce57c291f06 to your computer and use it in GitHub Desktop.
Transfers
[
{
"amount": 333540,
"business": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4",
"delivery_date": null,
"fees": 1213,
"id": "64c8b2e5-0269-46cc-ab59-f707b706ae02",
"status": "failed",
"submissions": [
{
"bank_account": {
"routing_number": "123456789",
"account_number": "123456789",
"institution_name": null,
"institution_code": null
},
"delivery_date": "2014-12-16",
"failures": [
],
"response_time": "2014-12-15T22:00:23",
"submission_time": "2014-12-15T21:58:33",
"tracking_id": "IgFzXehpTQ2qFBJim4MElQ=="
}
],
"to": "m",
"transactions": [
{
"amount": 5000,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_btdm6l5oxp",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 15,
"total": 45
},
"id": "d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca",
"order_id": "avUpGOYIR\/DVQFf\/tXy\/dA==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:21:58+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304749486295",
"user_message": "Approved"
},
"refunds": [
{
"amount": 500,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_b428ho2576",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 2,
"total": 2
},
"id": "dddfee84-610e-4ff6-930a-ccf03b4477a0",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca\/refund\/dddfee84-610e-4ff6-930a-ccf03b4477a0",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:38:33+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318682931505",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca",
"state": "denied",
"time_executed": "2014-12-12T19:38:33.053743+00:00",
"type": "refund"
},
{
"amount": 4500,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_6p0ipe63ox",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 14,
"total": 14
},
"id": "0e4a6015-e4ee-4139-89c0-e6c74f83dba1",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca\/refund\/0e4a6015-e4ee-4139-89c0-e6c74f83dba1",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:39:57+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318682931810",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca",
"state": "denied",
"time_executed": "2014-12-12T19:39:56.974737+00:00",
"type": "refund"
},
{
"amount": 1000,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_mvk1ksg4v6",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 3,
"total": 3
},
"id": "1b3edc3b-a3b6-4758-8f72-73ed6522e2c1",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca\/refund\/1b3edc3b-a3b6-4758-8f72-73ed6522e2c1",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T20:02:54+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318805811667",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca",
"state": "denied",
"time_executed": "2014-12-12T20:02:54.053517+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-10T20:21:56.749846+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 5000,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_94tg9m884p",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 15,
"total": 45
},
"id": "ef60650b-689e-49f6-b7eb-d3af6cd35189",
"order_id": "GN8e1GJWTo6XAA0B9pGOKw==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/ef60650b-689e-49f6-b7eb-d3af6cd35189",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:22:03+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304749486451",
"user_message": "Approved"
},
"refunds": [
{
"amount": 3000,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_503h8w9pnj",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 9,
"total": 9
},
"id": "fe241149-72a2-4822-81f4-5d344ead8d12",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/ef60650b-689e-49f6-b7eb-d3af6cd35189\/refund\/fe241149-72a2-4822-81f4-5d344ead8d12",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:33:37+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657291554",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/ef60650b-689e-49f6-b7eb-d3af6cd35189",
"state": "denied",
"time_executed": "2014-12-12T19:33:37.001947+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-10T20:22:03.163123+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 19900,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_ls7t4gtxc5",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 58,
"total": 88
},
"id": "b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"order_id": "1H6r+QLxTDLHRfjrA6E1zQ==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:22:29+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304749487160",
"user_message": "Approved"
},
"refunds": [
{
"amount": 19900,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_al1qj1z7gh",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 58,
"total": 58
},
"id": "f0968b77-386a-4351-a2a2-839b6a3bf829",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56\/refund\/f0968b77-386a-4351-a2a2-839b6a3bf829",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:34:17+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657291695",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"state": "denied",
"time_executed": "2014-12-12T19:34:17.614397+00:00",
"type": "refund"
},
{
"amount": 19900,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_29rvn0k53f",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 58,
"total": 58
},
"id": "aa6437b5-aff9-4363-9478-f1564c006c6a",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56\/refund\/aa6437b5-aff9-4363-9478-f1564c006c6a",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:34:29+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657291745",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"state": "denied",
"time_executed": "2014-12-12T19:34:29.509356+00:00",
"type": "refund"
},
{
"amount": 2000,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_syt1y6nken",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 6,
"total": 6
},
"id": "e3791f41-9753-41d7-b861-751c07a2494c",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56\/refund\/e3791f41-9753-41d7-b861-751c07a2494c",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T21:56:04+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914319355577237",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"state": "denied",
"time_executed": "2014-12-12T21:56:04.668463+00:00",
"type": "refund"
},
{
"amount": 18900,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_wcksr0x9z7",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 55,
"total": 55
},
"id": "c34afbc3-4eec-485b-aee5-42490ece9f06",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56\/refund\/c34afbc3-4eec-485b-aee5-42490ece9f06",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:35:50+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657292073",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"state": "denied",
"time_executed": "2014-12-12T19:35:49.920037+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-10T20:22:28.629068+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 299912,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_37fwoqwsx3",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 870,
"total": 900
},
"id": "7cd0ac64-c8be-4c5a-8257-6860526902d2",
"order_id": "+we+aSjnQsm6tPvshVL4lQ==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/7cd0ac64-c8be-4c5a-8257-6860526902d2",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:22:45+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304749487772",
"user_message": "Approved"
},
"refunds": [
],
"state": "accepted",
"time_executed": "2014-12-10T20:22:44.341171+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 1010,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_m0rpxkq9c1",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 3,
"total": 33
},
"id": "74f68cf7-6d51-4dcb-aa63-1b8767811b9a",
"order_id": "+fWJPS+BTl2KtHJNGnDfDg==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/74f68cf7-6d51-4dcb-aa63-1b8767811b9a",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:22:54+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304749488069",
"user_message": "Approved"
},
"refunds": [
],
"state": "accepted",
"time_executed": "2014-12-10T20:22:52.721546+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 1010,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_gekg747zn5",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 3,
"total": 33
},
"id": "ac36781f-31b4-4b27-9527-865fd3c454a6",
"order_id": "uxEWZmekSNGI2UgqoY\/e3g==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/ac36781f-31b4-4b27-9527-865fd3c454a6",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:23:07+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304754893252",
"user_message": "Approved"
},
"refunds": [
],
"state": "accepted",
"time_executed": "2014-12-10T20:23:06.733323+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 1911,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_i31d294jc7",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 6,
"total": 36
},
"id": "41fbf149-69f8-4a42-b468-db4eedccffeb",
"order_id": "Gg4PRisgQ23DWjc4DZz08Q==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/41fbf149-69f8-4a42-b468-db4eedccffeb",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:23:42+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304754894490",
"user_message": "Approved"
},
"refunds": [
{
"amount": 1911,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"confirmation": "wav_3vno3xsxym",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 6,
"total": 6
},
"id": "80013430-0f15-47e6-9eee-02a798706051",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/41fbf149-69f8-4a42-b468-db4eedccffeb\/refund\/80013430-0f15-47e6-9eee-02a798706051",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:31:45+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657291000",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/41fbf149-69f8-4a42-b468-db4eedccffeb",
"state": "denied",
"time_executed": "2014-12-12T19:31:45.309476+00:00",
"type": "refund"
},
{
"amount": 1911,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"confirmation": "wav_3x057jefw0",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 6,
"total": 6
},
"id": "b918b37f-f368-4f85-9320-6060898ad463",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/41fbf149-69f8-4a42-b468-db4eedccffeb\/refund\/b918b37f-f368-4f85-9320-6060898ad463",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:31:32+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657290820",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/41fbf149-69f8-4a42-b468-db4eedccffeb",
"state": "denied",
"time_executed": "2014-12-12T19:31:32.125342+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-10T20:23:41.809933+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 1010,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_8txtsage0y",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 3,
"total": 33
},
"id": "3bec41a0-1e42-4d05-99ec-4eb539e890a9",
"order_id": "wcjmlq3+TSP5IMpODCWXAQ==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/3bec41a0-1e42-4d05-99ec-4eb539e890a9",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:23:49+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304754894722",
"user_message": "Approved"
},
"refunds": [
{
"amount": 1,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"confirmation": "wav_fwhhcy72n0",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 0,
"total": 0
},
"id": "8f1a8092-d264-4543-8c7b-1fbb4f016c67",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/3bec41a0-1e42-4d05-99ec-4eb539e890a9\/refund\/8f1a8092-d264-4543-8c7b-1fbb4f016c67",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-15T16:28:06+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-15",
"provider_id": "82914338922661142",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/3bec41a0-1e42-4d05-99ec-4eb539e890a9",
"state": "denied",
"time_executed": "2014-12-15T16:28:06.377870+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-10T20:23:48.985048+00:00",
"type": "sales",
"voids": [
]
}
],
"type": "credit",
"state": "invalid"
},
{
"amount": 1213,
"business": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4",
"delivery_date": "2014-12-16",
"fees": 1213,
"id": "ff0b2689-d7a3-4e11-88aa-f4b4c8be6cb4",
"status": "pending",
"submissions": [
{
"bank_account": {
"routing_number": "123456789",
"account_number": "123456789",
"institution_name": null,
"institution_code": null
},
"delivery_date": "2014-12-16",
"failures": [
],
"response_time": "2014-12-15T22:00:23",
"submission_time": "2014-12-15T21:58:33",
"tracking_id": "lHULH5KQS3uofxg7-4-xZQ=="
}
],
"to": "p",
"transactions": [
{
"amount": 5000,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_btdm6l5oxp",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 15,
"total": 45
},
"id": "d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca",
"order_id": "avUpGOYIR\/DVQFf\/tXy\/dA==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:21:58+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304749486295",
"user_message": "Approved"
},
"refunds": [
{
"amount": 500,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_b428ho2576",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 2,
"total": 2
},
"id": "dddfee84-610e-4ff6-930a-ccf03b4477a0",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca\/refund\/dddfee84-610e-4ff6-930a-ccf03b4477a0",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:38:33+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318682931505",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca",
"state": "denied",
"time_executed": "2014-12-12T19:38:33.053743+00:00",
"type": "refund"
},
{
"amount": 4500,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_6p0ipe63ox",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 14,
"total": 14
},
"id": "0e4a6015-e4ee-4139-89c0-e6c74f83dba1",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca\/refund\/0e4a6015-e4ee-4139-89c0-e6c74f83dba1",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:39:57+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318682931810",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca",
"state": "denied",
"time_executed": "2014-12-12T19:39:56.974737+00:00",
"type": "refund"
},
{
"amount": 1000,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_mvk1ksg4v6",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 3,
"total": 3
},
"id": "1b3edc3b-a3b6-4758-8f72-73ed6522e2c1",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca\/refund\/1b3edc3b-a3b6-4758-8f72-73ed6522e2c1",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T20:02:54+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318805811667",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/d7db41af-9183-4b4f-82d4-5d2b5b1cd4ca",
"state": "denied",
"time_executed": "2014-12-12T20:02:54.053517+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-10T20:21:56.749846+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 5000,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_94tg9m884p",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 15,
"total": 45
},
"id": "ef60650b-689e-49f6-b7eb-d3af6cd35189",
"order_id": "GN8e1GJWTo6XAA0B9pGOKw==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/ef60650b-689e-49f6-b7eb-d3af6cd35189",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:22:03+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304749486451",
"user_message": "Approved"
},
"refunds": [
{
"amount": 3000,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_503h8w9pnj",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 9,
"total": 9
},
"id": "fe241149-72a2-4822-81f4-5d344ead8d12",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/ef60650b-689e-49f6-b7eb-d3af6cd35189\/refund\/fe241149-72a2-4822-81f4-5d344ead8d12",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:33:37+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657291554",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/ef60650b-689e-49f6-b7eb-d3af6cd35189",
"state": "denied",
"time_executed": "2014-12-12T19:33:37.001947+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-10T20:22:03.163123+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 19900,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_ls7t4gtxc5",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 58,
"total": 88
},
"id": "b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"order_id": "1H6r+QLxTDLHRfjrA6E1zQ==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:22:29+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304749487160",
"user_message": "Approved"
},
"refunds": [
{
"amount": 19900,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_al1qj1z7gh",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 58,
"total": 58
},
"id": "f0968b77-386a-4351-a2a2-839b6a3bf829",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56\/refund\/f0968b77-386a-4351-a2a2-839b6a3bf829",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:34:17+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657291695",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"state": "denied",
"time_executed": "2014-12-12T19:34:17.614397+00:00",
"type": "refund"
},
{
"amount": 19900,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_29rvn0k53f",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 58,
"total": 58
},
"id": "aa6437b5-aff9-4363-9478-f1564c006c6a",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56\/refund\/aa6437b5-aff9-4363-9478-f1564c006c6a",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:34:29+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657291745",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"state": "denied",
"time_executed": "2014-12-12T19:34:29.509356+00:00",
"type": "refund"
},
{
"amount": 2000,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_syt1y6nken",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 6,
"total": 6
},
"id": "e3791f41-9753-41d7-b861-751c07a2494c",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56\/refund\/e3791f41-9753-41d7-b861-751c07a2494c",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T21:56:04+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914319355577237",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"state": "denied",
"time_executed": "2014-12-12T21:56:04.668463+00:00",
"type": "refund"
},
{
"amount": 18900,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"confirmation": "wav_wcksr0x9z7",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 55,
"total": 55
},
"id": "c34afbc3-4eec-485b-aee5-42490ece9f06",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56\/refund\/c34afbc3-4eec-485b-aee5-42490ece9f06",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:35:50+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657292073",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/b0b2cd21-0f84-4d3e-afc5-b90b0d42ee56",
"state": "denied",
"time_executed": "2014-12-12T19:35:49.920037+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-10T20:22:28.629068+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 299912,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_37fwoqwsx3",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 870,
"total": 900
},
"id": "7cd0ac64-c8be-4c5a-8257-6860526902d2",
"order_id": "+we+aSjnQsm6tPvshVL4lQ==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/7cd0ac64-c8be-4c5a-8257-6860526902d2",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:22:45+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304749487772",
"user_message": "Approved"
},
"refunds": [
],
"state": "accepted",
"time_executed": "2014-12-10T20:22:44.341171+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 1010,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Nick J",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_m0rpxkq9c1",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 3,
"total": 33
},
"id": "74f68cf7-6d51-4dcb-aa63-1b8767811b9a",
"order_id": "+fWJPS+BTl2KtHJNGnDfDg==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/74f68cf7-6d51-4dcb-aa63-1b8767811b9a",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:22:54+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304749488069",
"user_message": "Approved"
},
"refunds": [
],
"state": "accepted",
"time_executed": "2014-12-10T20:22:52.721546+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 1010,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_gekg747zn5",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 3,
"total": 33
},
"id": "ac36781f-31b4-4b27-9527-865fd3c454a6",
"order_id": "uxEWZmekSNGI2UgqoY\/e3g==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/ac36781f-31b4-4b27-9527-865fd3c454a6",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:23:07+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304754893252",
"user_message": "Approved"
},
"refunds": [
],
"state": "accepted",
"time_executed": "2014-12-10T20:23:06.733323+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 1911,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_i31d294jc7",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 6,
"total": 36
},
"id": "41fbf149-69f8-4a42-b468-db4eedccffeb",
"order_id": "Gg4PRisgQ23DWjc4DZz08Q==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/41fbf149-69f8-4a42-b468-db4eedccffeb",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:23:42+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304754894490",
"user_message": "Approved"
},
"refunds": [
{
"amount": 1911,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"confirmation": "wav_3vno3xsxym",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 6,
"total": 6
},
"id": "80013430-0f15-47e6-9eee-02a798706051",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/41fbf149-69f8-4a42-b468-db4eedccffeb\/refund\/80013430-0f15-47e6-9eee-02a798706051",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:31:45+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657291000",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/41fbf149-69f8-4a42-b468-db4eedccffeb",
"state": "denied",
"time_executed": "2014-12-12T19:31:45.309476+00:00",
"type": "refund"
},
{
"amount": 1911,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"confirmation": "wav_3x057jefw0",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 6,
"total": 6
},
"id": "b918b37f-f368-4f85-9320-6060898ad463",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/41fbf149-69f8-4a42-b468-db4eedccffeb\/refund\/b918b37f-f368-4f85-9320-6060898ad463",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-12T19:31:32+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-12",
"provider_id": "82914318657290820",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/41fbf149-69f8-4a42-b468-db4eedccffeb",
"state": "denied",
"time_executed": "2014-12-12T19:31:32.125342+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-10T20:23:41.809933+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 1010,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_8txtsage0y",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 3,
"total": 33
},
"id": "3bec41a0-1e42-4d05-99ec-4eb539e890a9",
"order_id": "wcjmlq3+TSP5IMpODCWXAQ==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/3bec41a0-1e42-4d05-99ec-4eb539e890a9",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-10T20:23:49+00:00",
"message": "Approved",
"post_date": "2014-12-10",
"provider_id": "82914304754894722",
"user_message": "Approved"
},
"refunds": [
{
"amount": 1,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1219",
"name": "Bojack HorseDude The Second",
"number_last_four": "4242"
},
"confirmation": "wav_fwhhcy72n0",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 0,
"total": 0
},
"id": "8f1a8092-d264-4543-8c7b-1fbb4f016c67",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/3bec41a0-1e42-4d05-99ec-4eb539e890a9\/refund\/8f1a8092-d264-4543-8c7b-1fbb4f016c67",
"provider_response": {
"auth_code": null,
"code": "347",
"datetime": "2014-12-15T16:28:06+00:00",
"message": "Invalid billing descriptor",
"post_date": "2014-12-15",
"provider_id": "82914338922661142",
"user_message": "The transaction was declined due to an invalid billing descriptor"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/b3af09b4-34d5-40d0-978d-0754d31489b4\/transaction\/sale\/3bec41a0-1e42-4d05-99ec-4eb539e890a9",
"state": "denied",
"time_executed": "2014-12-15T16:28:06.377870+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-10T20:23:48.985048+00:00",
"type": "sales",
"voids": [
]
}
],
"type": "credit",
"state": "completed"
},
{
"amount": 2762,
"business": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651",
"delivery_date": null,
"fees": 38,
"id": "452b0ebd-3cce-4b08-bce6-387ac35a0594",
"status": "failed",
"submissions": [
{
"bank_account": {
"routing_number": "123456789",
"account_number": "123456789",
"institution_name": null,
"institution_code": null
},
"delivery_date": "2014-12-16",
"failures": [
],
"response_time": "2014-12-15T22:00:23",
"submission_time": "2014-12-15T21:58:33",
"tracking_id": "wcDJ4dstTVuTZgJVmoweyA=="
}
],
"to": "m",
"transactions": [
{
"amount": 5000,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1019",
"name": "Nick P",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_anj5ylw7em",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 15,
"total": 45
},
"id": "b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"order_id": "W3rf1k1+TCWTMy8XV1a+LQ==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-12T17:03:24+00:00",
"message": "Approved",
"post_date": "2014-12-12",
"provider_id": "82914317920010965",
"user_message": "Approved"
},
"refunds": [
{
"amount": 200,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1019",
"name": "Nick P",
"number_last_four": "4242"
},
"confirmation": "wav_d8739i0pkl",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 1,
"total": 1
},
"id": "c33c688d-6aa8-43ac-9f0a-81ca83ae66a0",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e\/refund\/c33c688d-6aa8-43ac-9f0a-81ca83ae66a0",
"provider_response": {
"auth_code": null,
"code": "000",
"datetime": "2014-12-12T18:56:37+00:00",
"message": "Approved",
"post_date": "2014-12-12",
"provider_id": "82914318475182761",
"user_message": "Approved"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"state": "accepted",
"time_executed": "2014-12-12T18:56:37.471821+00:00",
"type": "refund"
},
{
"amount": 2000,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1019",
"name": "Nick P",
"number_last_four": "4242"
},
"confirmation": "wav_jo9bnr6bca",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 6,
"total": 6
},
"id": "3e4b9164-85a9-40fc-a532-c72ca5ac3884",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e\/refund\/3e4b9164-85a9-40fc-a532-c72ca5ac3884",
"provider_response": {
"auth_code": null,
"code": "000",
"datetime": "2014-12-12T18:59:44+00:00",
"message": "Approved",
"post_date": "2014-12-12",
"provider_id": "82914318475183645",
"user_message": "Approved"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"state": "accepted",
"time_executed": "2014-12-12T18:59:44.191896+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-12T17:03:24.251403+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 200,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1019",
"name": "Nick P",
"number_last_four": "4242"
},
"confirmation": "wav_d8739i0pkl",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 1,
"total": 1
},
"id": "c33c688d-6aa8-43ac-9f0a-81ca83ae66a0",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e\/refund\/c33c688d-6aa8-43ac-9f0a-81ca83ae66a0",
"provider_response": {
"auth_code": null,
"code": "000",
"datetime": "2014-12-12T18:56:37+00:00",
"message": "Approved",
"post_date": "2014-12-12",
"provider_id": "82914318475182761",
"user_message": "Approved"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"state": "accepted",
"time_executed": "2014-12-12T18:56:37.471821+00:00",
"type": "refund"
},
{
"amount": 2000,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1019",
"name": "Nick P",
"number_last_four": "4242"
},
"confirmation": "wav_jo9bnr6bca",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 6,
"total": 6
},
"id": "3e4b9164-85a9-40fc-a532-c72ca5ac3884",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e\/refund\/3e4b9164-85a9-40fc-a532-c72ca5ac3884",
"provider_response": {
"auth_code": null,
"code": "000",
"datetime": "2014-12-12T18:59:44+00:00",
"message": "Approved",
"post_date": "2014-12-12",
"provider_id": "82914318475183645",
"user_message": "Approved"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"state": "accepted",
"time_executed": "2014-12-12T18:59:44.191896+00:00",
"type": "refund"
}
],
"type": "credit",
"state": "invalid"
},
{
"amount": 38,
"business": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651",
"delivery_date": "2014-12-16",
"fees": 38,
"id": "ce170bab-6ed9-4dc3-909f-4c133015f642",
"status": "pending",
"submissions": [
{
"bank_account": {
"routing_number": "123456789",
"account_number": "123456789",
"institution_name": null,
"institution_code": null
},
"delivery_date": "2014-12-16",
"failures": [
],
"response_time": "2014-12-15T22:00:24",
"submission_time": "2014-12-15T21:58:33",
"tracking_id": "Yrk0QtQzRt6qZYeRwswmBQ=="
}
],
"to": "p",
"transactions": [
{
"amount": 5000,
"can_refund": true,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1019",
"name": "Nick P",
"number_last_four": "4242"
},
"chargebacks": [
],
"confirmation": "wav_anj5ylw7em",
"fee": {
"direction": "debit",
"flat": 30,
"percentage": 15,
"total": 45
},
"id": "b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"order_id": "W3rf1k1+TCWTMy8XV1a+LQ==",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"provider_response": {
"auth_code": "123457",
"code": "000",
"datetime": "2014-12-12T17:03:24+00:00",
"message": "Approved",
"post_date": "2014-12-12",
"provider_id": "82914317920010965",
"user_message": "Approved"
},
"refunds": [
{
"amount": 200,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1019",
"name": "Nick P",
"number_last_four": "4242"
},
"confirmation": "wav_d8739i0pkl",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 1,
"total": 1
},
"id": "c33c688d-6aa8-43ac-9f0a-81ca83ae66a0",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e\/refund\/c33c688d-6aa8-43ac-9f0a-81ca83ae66a0",
"provider_response": {
"auth_code": null,
"code": "000",
"datetime": "2014-12-12T18:56:37+00:00",
"message": "Approved",
"post_date": "2014-12-12",
"provider_id": "82914318475182761",
"user_message": "Approved"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"state": "accepted",
"time_executed": "2014-12-12T18:56:37.471821+00:00",
"type": "refund"
},
{
"amount": 2000,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1019",
"name": "Nick P",
"number_last_four": "4242"
},
"confirmation": "wav_jo9bnr6bca",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 6,
"total": 6
},
"id": "3e4b9164-85a9-40fc-a532-c72ca5ac3884",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e\/refund\/3e4b9164-85a9-40fc-a532-c72ca5ac3884",
"provider_response": {
"auth_code": null,
"code": "000",
"datetime": "2014-12-12T18:59:44+00:00",
"message": "Approved",
"post_date": "2014-12-12",
"provider_id": "82914318475183645",
"user_message": "Approved"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"state": "accepted",
"time_executed": "2014-12-12T18:59:44.191896+00:00",
"type": "refund"
}
],
"state": "accepted",
"time_executed": "2014-12-12T17:03:24.251403+00:00",
"type": "sales",
"voids": [
]
},
{
"amount": 200,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1019",
"name": "Nick P",
"number_last_four": "4242"
},
"confirmation": "wav_d8739i0pkl",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 1,
"total": 1
},
"id": "c33c688d-6aa8-43ac-9f0a-81ca83ae66a0",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e\/refund\/c33c688d-6aa8-43ac-9f0a-81ca83ae66a0",
"provider_response": {
"auth_code": null,
"code": "000",
"datetime": "2014-12-12T18:56:37+00:00",
"message": "Approved",
"post_date": "2014-12-12",
"provider_id": "82914318475182761",
"user_message": "Approved"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"state": "accepted",
"time_executed": "2014-12-12T18:56:37.471821+00:00",
"type": "refund"
},
{
"amount": 2000,
"can_refund": false,
"can_void": false,
"card": {
"bank_identification_number": "424242",
"brand": "VI",
"expiry_date": "1019",
"name": "Nick P",
"number_last_four": "4242"
},
"confirmation": "wav_jo9bnr6bca",
"fee": {
"direction": "credit",
"flat": 0,
"percentage": 6,
"total": 6
},
"id": "3e4b9164-85a9-40fc-a532-c72ca5ac3884",
"permalink": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e\/refund\/3e4b9164-85a9-40fc-a532-c72ca5ac3884",
"provider_response": {
"auth_code": null,
"code": "000",
"datetime": "2014-12-12T18:59:44+00:00",
"message": "Approved",
"post_date": "2014-12-12",
"provider_id": "82914318475183645",
"user_message": "Approved"
},
"sales_transaction": "https:\/\/payments-api.tide.wave-dev.com\/business-profile\/f0db0691-85c8-4611-9c60-87f8e96fd651\/transaction\/sale\/b6ed4929-5bc6-4910-afb5-a8c32c15789e",
"state": "accepted",
"time_executed": "2014-12-12T18:59:44.191896+00:00",
"type": "refund"
}
],
"type": "credit",
"state": "completed"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment