Copy {
"data" : {
"id" : "xYZkjABcde" ,
"type" : "satispay_payments" ,
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/satispay_payments/xYZkjABcde"
} ,
"attributes" : {
"created_at" : "2018-01-01T12:00:00.000Z" ,
"flow" : "MATCH_CODE" ,
"metadata" : {
"foo" : "bar"
} ,
"payment_id" : "xxxx-yyyy-zzzz" ,
"payment_instrument" : {
"card_type" : "visa" ,
"issuer" : "cl bank"
} ,
"payment_response" : {
"foo" : "bar"
} ,
"payment_url" : "https://online.satispay.com/pay/xxxx-yyyy-zzzz?redirect_url={redirect_url}" ,
"redirect_url" : "http://commercelayer.dev/satispay/redirect" ,
"reference" : "ANY-EXTERNAL-REFEFERNCE" ,
"reference_origin" : "ANY-EXTERNAL-REFEFERNCE-ORIGIN" ,
"status" : "PENDING" ,
"updated_at" : "2018-01-01T12:00:00.000Z"
} ,
"relationships" : {
"order" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/satispay_payments/xYZkjABcde/relationships/order" ,
"related" : "https://yourdomain.commercelayer.io/api/satispay_payments/xYZkjABcde/order"
}
} ,
"payment_gateway" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/satispay_payments/xYZkjABcde/relationships/payment_gateway" ,
"related" : "https://yourdomain.commercelayer.io/api/satispay_payments/xYZkjABcde/payment_gateway"
}
} ,
"versions" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/satispay_payments/xYZkjABcde/relationships/versions" ,
"related" : "https://yourdomain.commercelayer.io/api/satispay_payments/xYZkjABcde/versions"
}
}
} ,
"meta" : {
"mode" : "test"
}
}
}