Received Parameters Sample

REST API Payment

{"id"=>"WH-0CX59170W06289345-5HY41299A30060105", "create_time"=>"2016-01-12T03:17:11Z", "resource_type"=>"sale", "event_type"=>"PAYMENT.SALE.COMPLETED", "summary"=>"Payment completed for JPY 200.0 JPY", "resource"=>{"id"=>"8R707149AY2164110", "state"=>"completed", "amount"=>{"total"=>"200", "currency"=>"JPY", "details"=>{}}, "payment_mode"=>"INSTANT_TRANSFER", "protection_eligibility"=>"ELIGIBLE", "protection_eligibility_type"=>"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE", "transaction_fee"=>{"value"=>"47", "currency"=>"JPY"}, "parent_payment"=>"PAY-1LJ3216651035405BK2KHABA", "create_time"=>"2016-01-12T03:16:41Z", "update_time"=>"2016-01-12T03:16:41Z", "links"=>[{"href"=>"https://api.sandbox.paypal.com/v1/payments/sale/8R707149AY2164110", "rel"=>"self", "method"=>"GET"}, {"href"=>"https://api.sandbox.paypal.com/v1/payments/sale/8R707149AY2164110/refund", "rel"=>"refund", "method"=>"POST"}, {"href"=>"https://api.sandbox.paypal.com/v1/payments/payment/PAY-1LJ3216651035405BK2KHABA", "rel"=>"parent_payment", "method"=>"GET"}], "soft_descriptor"=>"PAYPAL *BOSTESTSTOR"}, "links"=>[{"href"=>"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-0CX59170W06289345-5HY41299A30060105", "rel"=>"self", "method"=>"GET"}, {"href"=>"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-0CX59170W06289345-5HY41299A30060105/resend", "rel"=>"resend", "method"=>"POST"}], "webhook"=>{"id"=>"WH-0CX59170W06289345-5HY41299A30060105", "create_time"=>"2016-01-12T03:17:11Z", "resource_type"=>"sale", "event_type"=>"PAYMENT.SALE.COMPLETED", "summary"=>"Payment completed for JPY 200.0 JPY", "resource"=>{"id"=>"8R707149AY2164110", "state"=>"completed", "amount"=>{"total"=>"200", "currency"=>"JPY", "details"=>{}}, "payment_mode"=>"INSTANT_TRANSFER", "protection_eligibility"=>"ELIGIBLE", "protection_eligibility_type"=>"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE", "transaction_fee"=>{"value"=>"47", "currency"=>"JPY"}, "parent_payment"=>"PAY-1LJ3216651035405BK2KHABA", "create_time"=>"2016-01-12T03:16:41Z", "update_time"=>"2016-01-12T03:16:41Z", "links"=>[{"href"=>"https://api.sandbox.paypal.com/v1/payments/sale/8R707149AY2164110", "rel"=>"self", "method"=>"GET"}, {"href"=>"https://api.sandbox.paypal.com/v1/payments/sale/8R707149AY2164110/refund", "rel"=>"refund", "method"=>"POST"}, {"href"=>"https://api.sandbox.paypal.com/v1/payments/payment/PAY-1LJ3216651035405BK2KHABA", "rel"=>"parent_payment", "method"=>"GET"}], "soft_descriptor"=>"PAYPAL *BOSTESTSTOR"}, "links"=>[{"href"=>"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-0CX59170W06289345-5HY41299A30060105", "rel"=>"self", "method"=>"GET"}, {"href"=>"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-0CX59170W06289345-5HY41299A30060105/resend", "rel"=>"resend", "method"=>"POST"}] }}